Community
Participate
Working Groups
Build 20020214 - open class MethodDeclaration form DOM/AST - select SingleVariableDeclaration from the code private ASTNode.NodeList parameters = new ASTNode.NodeList(true, SingleVariableDeclaration.class);; - search for references observe: the above reference isn't part of the search result
I have JDTCore in binary in my workspace
Was able to reproduce with JDT/Core in source form.
Was not able to reproduce in build 20020226 with JDT/Core in source form. Will try with JDT/Core in binary form.
The class file for MethodDeclaration does not contain a class reference to SingleVariableDeclaration as the compiler (and any compiler would do the same) generates a Class.forName(String) bytecode. This is a limitation of searching in binaries. Sorry.