public class MethodDeclarationMatch extends SearchMatch
IMethod.
This class is intended to be instantiated and subclassed by clients.
A_ACCURATE, A_INACCURATE| Constructor and Description |
|---|
MethodDeclarationMatch(IJavaElement element,
int accuracy,
int offset,
int length,
SearchParticipant participant,
IResource resource)
Creates a new method declaration match.
|
getAccuracy, getElement, getLength, getOffset, getParticipant, getResource, getRule, isEquivalent, isErasure, isExact, isImplicit, isInsideDocComment, isRaw, setAccuracy, setElement, setImplicit, setInsideDocComment, setLength, setOffset, setParticipant, setRaw, setResource, setRule, toStringpublic MethodDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)
element - the method declarationaccuracy - one of A_ACCURATE or A_INACCURATEoffset - the offset the match starts at, or -1 if unknownlength - the length of the match, or -1 if unknownparticipant - the search participant that created the matchresource - the resource of the elementCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.