List of usage examples for org.eclipse.jdt.core.search TypeParameterReferenceMatch TypeParameterReferenceMatch
public TypeParameterReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)
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*/ }