return process(s, "method", MethodDeclaration.class);
}
public static ConstructorDeclaration parseConstructor(String source) throws AstException {
Source s = new Source(source, "constructorSnippet");
s.parseMember();
return process(s, "constructor", ConstructorDeclaration.class);
}
public static VariableDeclaration parseField(String source) throws AstException {
Source s = new Source(source, "fieldSnippet");