List of usage examples for org.eclipse.jdt.core.search IJavaSearchConstants PARAMETER_DECLARATION_TYPE_REFERENCE
int PARAMETER_DECLARATION_TYPE_REFERENCE
To view the source code for org.eclipse.jdt.core.search IJavaSearchConstants PARAMETER_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 consumeMethodHeaderRightParen() { super.consumeMethodHeaderRightParen(); if ((this.patternFineGrain & IJavaSearchConstants.PARAMETER_DECLARATION_TYPE_REFERENCE) != 0) { // when no fine grain flag is set, type reference match is evaluated in getTypeReference(int) method AbstractMethodDeclaration methodDeclaration = (AbstractMethodDeclaration) this.astStack[this.astPtr]; Argument[] arguments = methodDeclaration.arguments; if (arguments != null) { int argLength = arguments.length; for (int i = 0; i < argLength; i++) { this.patternLocator.match(arguments[i].type, this.nodeSet); }// w ww . j a va 2s .c o m } } }