Exemple #1
0
 public MethodSupport(
     ScopeLookup scope, ASTMethod node, Set<? extends Modifier> modifiers, LpcType returnType) {
   _node = node;
   ASTIdentifier identifier = ASTUtil.getChild(ASTIdentifier.class, _node);
   Token token = identifier.jjtGetFirstToken();
   _name = token.image;
   _body = ASTUtil.getChild(ASTStatementBlock.class, node);
   _scope = scope;
   _modifiers = modifiers;
   _returnType = returnType;
   _namer = new MethodNamer(true, false);
   _argumentDefinitions = buildArgumentDefinitions();
 }