return true;
}
public boolean visit(MethodDeclaration node) {
if (node.getName().getStartPosition() == this.loc) {
final SingleVariableDeclaration svd = (SingleVariableDeclaration) node
.parameters().get(this.paramNumber);
final IJavaElement elem = svd.resolveBinding().getJavaElement();
if (elem.isReadOnly() || svd.getName().resolveBoxing())
throw new DefinitelyNotEnumerizableException(
Messages.ASTNodeProcessor_SourceNotPresent, svd);
if (svd.resolveBinding().getType().isEqualTo(
node.getAST().resolveWellKnownType("java.lang.Object"))) //$NON-NLS-1$
throw new NonEnumerizableASTException(Messages.ASTNodeProcessor_IllegalArrayUpcast,
svd);
this.elements.add(elem);
}