return classDecl(modifier);
}
List<XTypeParam> typeParam = makeTypeParamList();
XType type = makeType();
boolean isConstructor = token.kind==XTokenKind.LGROUP && type.name.name.equals(className);
XLineDesk line = new XLineDesk(token.lineDesk);
String name = isConstructor?"<init>":ident();
if(isConstructor || token.kind==XTokenKind.LGROUP){
return makeMethodDecl(line, modifier, typeParam, type, name, isInterface);
}else{
XTree tree = makeVarDecls(line, modifier, type, name);