Lines 10-15
Link Here
|
10 |
*******************************************************************************/ |
10 |
*******************************************************************************/ |
11 |
package org.eclipse.jdt.internal.core.search.matching; |
11 |
package org.eclipse.jdt.internal.core.search.matching; |
12 |
|
12 |
|
|
|
13 |
import org.eclipse.jdt.core.dom.InfixExpression; |
13 |
import org.eclipse.jdt.core.search.IJavaSearchConstants; |
14 |
import org.eclipse.jdt.core.search.IJavaSearchConstants; |
14 |
import org.eclipse.jdt.internal.compiler.ASTVisitor; |
15 |
import org.eclipse.jdt.internal.compiler.ASTVisitor; |
15 |
import org.eclipse.jdt.internal.compiler.ast.*; |
16 |
import org.eclipse.jdt.internal.compiler.ast.*; |
Lines 322-327
Link Here
|
322 |
this.patternLocator.match((LocalDeclaration) this.astStack[this.astPtr], this.nodeSet); |
323 |
this.patternLocator.match((LocalDeclaration) this.astStack[this.astPtr], this.nodeSet); |
323 |
} |
324 |
} |
324 |
|
325 |
|
|
|
326 |
protected void consumeInstanceOfExpression() { |
327 |
super.consumeInstanceOfExpression(); |
328 |
if ((this.patternFineGrain & IJavaSearchConstants.INSTANCEOF_TYPE_REFERENCE) != 0) { |
329 |
InstanceOfExpression expression = (InstanceOfExpression) this.expressionStack[this.expressionPtr]; |
330 |
this.patternLocator.match(expression.type, this.nodeSet); |
331 |
} |
332 |
} |
333 |
protected void consumeInstanceOfExpressionWithName() { |
334 |
super.consumeInstanceOfExpressionWithName(); |
335 |
if ((this.patternFineGrain & IJavaSearchConstants.INSTANCEOF_TYPE_REFERENCE) != 0) { |
336 |
InstanceOfExpression expression = (InstanceOfExpression) this.expressionStack[this.expressionPtr]; |
337 |
this.patternLocator.match(expression.type, this.nodeSet); |
338 |
} |
339 |
} |
325 |
protected void consumeInterfaceType() { |
340 |
protected void consumeInterfaceType() { |
326 |
super.consumeInterfaceType(); |
341 |
super.consumeInterfaceType(); |
327 |
if ((this.patternFineGrain & IJavaSearchConstants.SUPERTYPE_TYPE_REFERENCE) != 0) { |
342 |
if ((this.patternFineGrain & IJavaSearchConstants.SUPERTYPE_TYPE_REFERENCE) != 0) { |