public class PackageReferenceMatch extends ReferenceMatch
This class is intended to be instantiated and subclassed by clients.
A_ACCURATE, A_INACCURATE
Constructor and Description |
---|
PackageReferenceMatch(IJavaElement enclosingElement,
int accuracy,
int offset,
int length,
boolean insideDocComment,
SearchParticipant participant,
IResource resource)
Creates a new package reference match.
|
getLocalElement, setLocalElement
getAccuracy, getElement, getLength, getOffset, getParticipant, getResource, getRule, isEquivalent, isErasure, isExact, isImplicit, isInsideDocComment, isRaw, setAccuracy, setElement, setImplicit, setInsideDocComment, setLength, setOffset, setParticipant, setRaw, setResource, setRule, toString
public PackageReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)
enclosingElement
- the inner-most enclosing member that references this packageaccuracy
- one of SearchMatch.A_ACCURATE
or SearchMatch.A_INACCURATE
offset
- the offset the match starts at, or -1 if unknownlength
- the length of the match, or -1 if unknowninsideDocComment
- true
if this search match is inside a doc
comment, and false
otherwiseparticipant
- the search participant that created the matchresource
- the resource of the element
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.