List of usage examples for org.eclipse.jdt.core.search IJavaSearchConstants FIELD_DECLARATION_TYPE_REFERENCE
int FIELD_DECLARATION_TYPE_REFERENCE
To view the source code for org.eclipse.jdt.core.search IJavaSearchConstants FIELD_DECLARATION_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 consumeEnterVariable() { boolean isLocalDeclaration = this.nestedMethod[this.nestedType] != 0; super.consumeEnterVariable(); if (isLocalDeclaration) { if ((this.patternFineGrain & IJavaSearchConstants.LOCAL_VARIABLE_DECLARATION_TYPE_REFERENCE) != 0) { LocalDeclaration localDeclaration = (LocalDeclaration) this.astStack[this.astPtr]; this.patternLocator.match(localDeclaration.type, this.nodeSet); }/*from w ww .j a va2s.com*/ } else { if ((this.patternFineGrain & IJavaSearchConstants.FIELD_DECLARATION_TYPE_REFERENCE) != 0) { FieldDeclaration fieldDeclaration = (FieldDeclaration) this.astStack[this.astPtr]; this.patternLocator.match(fieldDeclaration.type, this.nodeSet); } } }