|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PsiJavaCodeReferenceElement | |
|---|---|
| com.intellij.psi | Provides interfaces for working with the Program Source Interface (IDEA's internal representation of the program structure). |
| com.intellij.psi.util | Provides utility classes for working with the PSI. |
| Uses of PsiJavaCodeReferenceElement in com.intellij.psi |
|---|
| Subinterfaces of PsiJavaCodeReferenceElement in com.intellij.psi | |
|---|---|
interface |
PsiImportStaticReferenceElement
Represents a reference to the member imported by a Java import static
statement. |
interface |
PsiReferenceExpression
Represents a reference in Java code used as part of an expression. |
| Fields in com.intellij.psi declared as PsiJavaCodeReferenceElement | |
|---|---|
static PsiJavaCodeReferenceElement[] |
PsiJavaCodeReferenceElement.EMPTY_ARRAY
The empty array of PSI Java code references which can be reused to avoid unnecessary allocations. |
| Methods in com.intellij.psi that return PsiJavaCodeReferenceElement | |
|---|---|
PsiJavaCodeReferenceElement |
PsiElementFactory.createClassReferenceElement(PsiClass aClass)
Creates a reference element resolving to the specified class. |
PsiJavaCodeReferenceElement |
PsiElementFactory.createFQClassNameReferenceElement(java.lang.String qName,
GlobalSearchScope resolveScope)
Creates a reference element resolving to the class with the specified name in the specified search scope. |
PsiJavaCodeReferenceElement |
PsiElementFactory.createPackageReferenceElement(PsiPackage aPackage)
Creates a reference element resolving to the specified package. |
PsiJavaCodeReferenceElement |
PsiElementFactory.createPackageReferenceElement(java.lang.String packageName)
Creates a reference element resolving to the package with the specified name. |
PsiJavaCodeReferenceElement |
PsiElementFactory.createReferenceElementByFQClassName(java.lang.String qName,
GlobalSearchScope resolveScope)
Creates a reference element resolving to the class with the specified name in the specified search scope. |
PsiJavaCodeReferenceElement |
PsiElementFactory.createReferenceElementByType(PsiClassType type)
Creates a reference element resolving to the specified class type. |
PsiJavaCodeReferenceElement |
PsiFile.findImportReferenceTo(PsiClass aClass)
For Java/JSP files only: returns the single-class import statement which references the specified class, or null if there is no such statement. |
PsiJavaCodeReferenceElement |
PsiAnonymousClass.getBaseClassReference()
Returns the reference element specifying the base class for the anonymous class. |
PsiJavaCodeReferenceElement |
PsiNewExpression.getClassReference()
Returns the reference element specifying the class the instance of which is created. |
PsiJavaCodeReferenceElement |
PsiImportStaticReferenceElement.getClassReference()
Returns the reference element specifying the class from which the member is imported. |
PsiJavaCodeReferenceElement[] |
PsiFile.getImplicitlyImportedPackageReferences()
For Java/JSP files only: returns the list of reference elements for the implicitly imported packages (for example, java.lang). |
PsiJavaCodeReferenceElement |
PsiImportStatementBase.getImportReference()
Returns the reference element which specifies the imported class, package or member. |
PsiJavaCodeReferenceElement |
PsiTypeElement.getInnermostComponentReferenceElement()
Returns the reference element pointing to the referenced type, or if the type element is an array, the reference element for the innermost component type of the array. |
PsiJavaCodeReferenceElement |
PsiAnnotation.getNameReferenceElement()
Returns the reference element representing the name of the annotation. |
PsiJavaCodeReferenceElement |
PsiPackageStatement.getPackageReference()
Returns the Java code reference element specifying the declared name of the package. |
PsiJavaCodeReferenceElement |
PsiThisExpression.getQualifier()
Returns the expression representing the class name qualifying the this
expression. |
PsiJavaCodeReferenceElement |
PsiSuperExpression.getQualifier()
Returns the expression representing the class name qualifying the super
expression. |
PsiJavaCodeReferenceElement |
PsiJavaCodeReferenceCodeFragment.getReferenceElement()
Returns the reference contained in the fragment. |
PsiJavaCodeReferenceElement[] |
PsiReferenceList.getReferenceElements()
Returns the array of reference elements contained in the list. |
| Methods in com.intellij.psi with parameters of type PsiJavaCodeReferenceElement | |
|---|---|
PsiReferenceList |
PsiElementFactory.createReferenceList(PsiJavaCodeReferenceElement[] references)
Creates a reference list element from the specified array of references. |
PsiClassType |
PsiElementFactory.createType(PsiJavaCodeReferenceElement classReference)
Creates a class type for the specified reference pointing to a class. |
static java.lang.String |
PsiNameHelper.getPresentableText(PsiJavaCodeReferenceElement ref)
|
void |
JavaElementVisitor.visitReferenceElement(PsiJavaCodeReferenceElement reference)
|
| Uses of PsiJavaCodeReferenceElement in com.intellij.psi.util |
|---|
| Methods in com.intellij.psi.util with parameters of type PsiJavaCodeReferenceElement | |
|---|---|
static java.lang.String |
PsiFormatUtil.formatReference(PsiJavaCodeReferenceElement ref,
int options)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||