EnumInstance ei = ts.enumInstance(n.position(), ts.Enum(), JL5Flags.NONE, n.name());
n = (EnumConstantDecl)n.body((ClassBody)n.body().visit(bodyTB)); ParsedClassType bodyType = (ParsedClassType) bodyTB.currentClass(); n = (EnumConstantDecl)n.anonType(bodyType); }  EnumInstance ei = ts.enumInstance(n.position(), ts.Enum(), JL5Flags.NONE, n.name(), n.anonType());
    public Node buildTypes(TypeBuilder tb) throws SemanticException {        JL5TypeSystem ts = (JL5TypeSystem)tb.typeSystem();        EnumConstantDecl n = this;        EnumInstance ei = ts.enumInstance(n.position(), ts.Enum(), JL5Flags.NONE, n.name());        return n.enumInstance(ei);    }