com.intellij.execution
Class PsiLocation<E extends PsiElement>

java.lang.Object
  extended by com.intellij.execution.Location<E>
      extended by com.intellij.execution.PsiLocation<E>

public class PsiLocation<E extends PsiElement>
extends Location<E>


Field Summary
 
Fields inherited from class com.intellij.execution.Location
LOCATION
 
Constructor Summary
PsiLocation(Project project, E psiElement)
           
 
Method Summary
static Location<PsiClass> fromClassQualifiedName(Project project, java.lang.String qualifiedName)
           
static
<ElementClass extends PsiElement>
Location<ElementClass>
fromPsiElement(ElementClass element)
           
static
<ElementClass extends PsiElement>
Location<ElementClass>
fromPsiElement(Project project, ElementClass element)
           
<Ancestor extends PsiElement>
java.util.Iterator<Location<? extends Ancestor>>
getAncestors(java.lang.Class<Ancestor> ancestorClass, boolean strict)
           
 Project getProject()
           
 E getPsiElement()
           
 PsiLocation<E> toPsiLocation()
           
 
Methods inherited from class com.intellij.execution.Location
getAncestorOrSelf, getOpenFileDescriptor, getParent, getParentElement, safeCast, safeGetPsiElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PsiLocation

public PsiLocation(Project project,
                   E psiElement)
Method Detail

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)