com.intellij.execution
Class PsiLocation<E extends PsiElement>
java.lang.Object
com.intellij.execution.Location<E>
com.intellij.execution.PsiLocation<E>
public class PsiLocation<E extends PsiElement>
- extends Location<E>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PsiLocation
public PsiLocation(Project project,
E psiElement)
getPsiElement
public E getPsiElement()
- Specified by:
getPsiElement in class Location<E extends PsiElement>
getProject
public Project getProject()
- Specified by:
getProject in class Location<E extends PsiElement>
getAncestors
public <Ancestor extends PsiElement> java.util.Iterator<Location<? extends Ancestor>> getAncestors(java.lang.Class<Ancestor> ancestorClass,
boolean strict)
- Specified by:
getAncestors in class Location<E extends PsiElement>
toPsiLocation
public PsiLocation<E> toPsiLocation()
- Overrides:
toPsiLocation in class Location<E extends PsiElement>
fromClassQualifiedName
public static Location<PsiClass> fromClassQualifiedName(Project project,
java.lang.String qualifiedName)
fromPsiElement
public static <ElementClass extends PsiElement> Location<ElementClass> fromPsiElement(Project project,
ElementClass element)
fromPsiElement
public static <ElementClass extends PsiElement> Location<ElementClass> fromPsiElement(ElementClass element)