use of org.freud.analysed.javasource.ParamDeclaration in project freud by LMAX-Exchange.
the class MethodDeclarationJdom method getParametersDeclarations.
@Override
@SuppressWarnings("unchecked")
public List<ParamDeclaration> getParametersDeclarations() {
if (paramDeclarations == null) {
final List<Element> paramListChildren = methodDeclElement.getChild(JavaSourceTokenType.FORMAL_PARAM_LIST.getName()).getChildren();
paramDeclarations = new ArrayList<ParamDeclaration>(paramListChildren.size());
for (Element paramDecl : paramListChildren) {
paramDeclarations.add(new ParamDeclarationJdom(paramDecl));
}
}
return paramDeclarations;
}
Aggregations