blob: fea72be3de5551df50240d441e677e666d64d4b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
package org.zwobble.couscous.ast.sugar;
import org.zwobble.couscous.ast.FieldDeclarationNode;
import org.zwobble.couscous.ast.MethodNode;
import org.zwobble.couscous.ast.TypeName;
import java.util.List;
import java.util.Set;
public class AnonymousClass {
private final Set<TypeName> superTypes;
private final List<FieldDeclarationNode> fields;
private final List<MethodNode> methods;
public AnonymousClass(
Set<TypeName> superTypes,
List<FieldDeclarationNode> fields,
List<MethodNode> methods)
{
this.superTypes = superTypes;
this.fields = fields;
this.methods = methods;
}
public Set<TypeName> getSuperTypes() {
return superTypes;
}
public List<FieldDeclarationNode> getFields() {
return fields;
}
public List<MethodNode> getMethods() {
return methods;
}
}
|