List of usage examples for org.eclipse.jdt.core.search IJavaSearchConstants CLASS_INSTANCE_CREATION_TYPE_REFERENCE
int CLASS_INSTANCE_CREATION_TYPE_REFERENCE
To view the source code for org.eclipse.jdt.core.search IJavaSearchConstants CLASS_INSTANCE_CREATION_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 classInstanceCreation(boolean alwaysQualified) { super.classInstanceCreation(alwaysQualified); if (this.patternFineGrain == 0) { this.patternLocator.match(this.expressionStack[this.expressionPtr], this.nodeSet); } else if ((this.patternFineGrain & IJavaSearchConstants.CLASS_INSTANCE_CREATION_TYPE_REFERENCE) != 0) { AllocationExpression allocation = (AllocationExpression) this.expressionStack[this.expressionPtr]; this.patternLocator.match(allocation.type, this.nodeSet); }/* w w w . ja v a2 s. com*/ }
From source file:com.codenvy.ide.ext.java.server.internal.core.search.matching.MatchLocatorParser.java
License:Open Source License
protected void consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() { super.consumeClassInstanceCreationExpressionWithTypeArguments(); if (this.patternFineGrain == 0) { this.patternLocator.match(this.expressionStack[this.expressionPtr], this.nodeSet); } else if ((this.patternFineGrain & IJavaSearchConstants.CLASS_INSTANCE_CREATION_TYPE_REFERENCE) != 0) { AllocationExpression allocation = (AllocationExpression) this.expressionStack[this.expressionPtr]; this.patternLocator.match(allocation.type, this.nodeSet); }//from w w w. ja va 2 s. co m }
From source file:com.codenvy.ide.ext.java.server.internal.core.search.matching.MatchLocatorParser.java
License:Open Source License
protected void consumeClassInstanceCreationExpressionWithTypeArguments() { super.consumeClassInstanceCreationExpressionWithTypeArguments(); if (this.patternFineGrain == 0) { this.patternLocator.match(this.expressionStack[this.expressionPtr], this.nodeSet); } else if ((this.patternFineGrain & IJavaSearchConstants.CLASS_INSTANCE_CREATION_TYPE_REFERENCE) != 0) { AllocationExpression allocation = (AllocationExpression) this.expressionStack[this.expressionPtr]; this.patternLocator.match(allocation.type, this.nodeSet); }/*from w ww . j ava 2 s. co m*/ }