package org.zwobble.couscous.ast.sugar; import org.zwobble.couscous.ast.FieldDeclarationNode; import org.zwobble.couscous.ast.MethodNode; import org.zwobble.couscous.types.Type; import java.util.List; import java.util.Set; public class AnonymousClass { private final Set superTypes; private final List fields; private final List methods; public AnonymousClass( Set superTypes, List fields, List methods) { this.superTypes = superTypes; this.fields = fields; this.methods = methods; } public Set getSuperTypes() { return superTypes; } public List getFields() { return fields; } public List getMethods() { return methods; } }