public abstract class TargetElementEvaluatorEx2 extends java.lang.Object implements TargetElementEvaluator
TargetElementUtil
class to support specifics of various languages.
The exact API is not documented and is subject to change.
Please refer to TargetElementUtil
for additional information.Constructor and Description |
---|
TargetElementEvaluatorEx2() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementByReference
public PsiElement getNamedElement(PsiElement element)
public boolean isAcceptableNamedParent(PsiElement parent)
public PsiElement adjustElement(Editor editor, int flags, PsiElement element, PsiElement contextElement)
public PsiElement adjustTargetElement(Editor editor, int offset, int flags, PsiElement targetElement)
public PsiElement adjustReferenceOrReferencedElement(PsiFile file, Editor editor, int offset, int flags, PsiElement refElement)
public PsiElement adjustReference(PsiReference ref)
public java.util.Collection<PsiElement> getTargetCandidates(PsiReference reference)
public PsiElement getGotoDeclarationTarget(PsiElement element, PsiElement navElement)
public ThreeState isAcceptableReferencedElement(PsiElement element, PsiElement referenceOrReferencedElement)
public boolean includeSelfInGotoImplementation(PsiElement element)
includeSelfInGotoImplementation
in interface TargetElementEvaluator
public boolean acceptImplementationForReference(PsiReference reference, PsiElement element)
public SearchScope getSearchScope(Editor editor, PsiElement element)