Example usage for org.eclipse.jdt.core.search TypeParameterReferenceMatch TypeParameterReferenceMatch

List of usage examples for org.eclipse.jdt.core.search TypeParameterReferenceMatch TypeParameterReferenceMatch

Introduction

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

Prototype

public TypeParameterReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length,
        boolean insideDocComment, SearchParticipant participant, IResource resource) 

Source Link

Document

Creates a new field reference match.

Usage

From source file:org.eclipse.jdt.internal.core.search.matching.MatchLocator.java

License:Open Source License

public SearchMatch newTypeParameterReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset,
        int length, ASTNode reference) {
    int bits = reference.bits;
    boolean insideDocComment = (bits & ASTNode.InsideJavadoc) != 0;
    SearchParticipant participant = getParticipant();
    IResource resource = this.currentPossibleMatch.resource;
    return new TypeParameterReferenceMatch(enclosingElement, accuracy, offset, length, insideDocComment,
            participant, resource);/*from  w ww . j a v a 2 s .  co m*/
}