Example usage for org.eclipse.jdt.core.search IJavaSearchConstants TYPE_VARIABLE_BOUND_TYPE_REFERENCE

List of usage examples for org.eclipse.jdt.core.search IJavaSearchConstants TYPE_VARIABLE_BOUND_TYPE_REFERENCE

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.search IJavaSearchConstants TYPE_VARIABLE_BOUND_TYPE_REFERENCE.

Prototype

int TYPE_VARIABLE_BOUND_TYPE_REFERENCE

To view the source code for org.eclipse.jdt.core.search IJavaSearchConstants TYPE_VARIABLE_BOUND_TYPE_REFERENCE.

Click Source Link

Document

Return only type references used as a type variable bound.

Usage

From source file:com.codenvy.ide.ext.java.server.internal.core.search.matching.MatchLocatorParser.java

License:Open Source License

protected void consumeAdditionalBound() {
    super.consumeAdditionalBound();
    if ((this.patternFineGrain & IJavaSearchConstants.TYPE_VARIABLE_BOUND_TYPE_REFERENCE) != 0) {
        TypeReference typeReference = (TypeReference) this.genericsStack[this.genericsPtr];
        this.patternLocator.match(typeReference, this.nodeSet);
    }//from ww w.j ava  2  s .com
}

From source file:com.codenvy.ide.ext.java.server.internal.core.search.matching.MatchLocatorParser.java

License:Open Source License

protected void consumeTypeParameter1WithExtends() {
    super.consumeTypeParameter1WithExtends();
    if ((this.patternFineGrain & IJavaSearchConstants.TYPE_VARIABLE_BOUND_TYPE_REFERENCE) != 0) {
        TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr];
        this.patternLocator.match(typeParameter.type, this.nodeSet);
    }/*from   ww  w .j av  a  2s .  c  o m*/
}

From source file:com.codenvy.ide.ext.java.server.internal.core.search.matching.MatchLocatorParser.java

License:Open Source License

protected void consumeTypeParameter1WithExtendsAndBounds() {
    super.consumeTypeParameter1WithExtendsAndBounds();
    if ((this.patternFineGrain & IJavaSearchConstants.TYPE_VARIABLE_BOUND_TYPE_REFERENCE) != 0) {
        TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr];
        this.patternLocator.match(typeParameter.type, this.nodeSet);
    }//from w w  w. j  a  va 2  s . c  o m
}

From source file:com.codenvy.ide.ext.java.server.internal.core.search.matching.MatchLocatorParser.java

License:Open Source License

protected void consumeTypeParameterWithExtends() {
    super.consumeTypeParameterWithExtends();
    if ((this.patternFineGrain & IJavaSearchConstants.TYPE_VARIABLE_BOUND_TYPE_REFERENCE) != 0) {
        TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr];
        this.patternLocator.match(typeParameter.type, this.nodeSet);
    }//from w w  w.  java  2  s.  com
}

From source file:com.codenvy.ide.ext.java.server.internal.core.search.matching.MatchLocatorParser.java

License:Open Source License

protected void consumeTypeParameterWithExtendsAndBounds() {
    super.consumeTypeParameterWithExtendsAndBounds();
    if ((this.patternFineGrain & IJavaSearchConstants.TYPE_VARIABLE_BOUND_TYPE_REFERENCE) != 0) {
        TypeParameter typeParameter = (TypeParameter) this.genericsStack[this.genericsPtr];
        this.patternLocator.match(typeParameter.type, this.nodeSet);
    }/* ww  w .  java  2 s.  com*/
}