List of usage examples for org.eclipse.jdt.core.search IJavaSearchConstants RETURN_TYPE_REFERENCE
int RETURN_TYPE_REFERENCE
To view the source code for org.eclipse.jdt.core.search IJavaSearchConstants RETURN_TYPE_REFERENCE.
Click Source Link
From source file:com.codenvy.ide.ext.java.server.internal.core.search.matching.MatchLocatorParser.java
License:Open Source License
protected void consumeMethodHeaderName(boolean isAnnotationMethod) { super.consumeMethodHeaderName(isAnnotationMethod); if ((this.patternFineGrain & IJavaSearchConstants.RETURN_TYPE_REFERENCE) != 0) { // when no fine grain flag is set, type reference match is evaluated in getTypeReference(int) method MethodDeclaration methodDeclaration = (MethodDeclaration) this.astStack[this.astPtr]; this.patternLocator.match(methodDeclaration.returnType, this.nodeSet); }//from www . ja v a 2 s .co m }