|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PsiJavaCodeReferenceElement
Represents a reference found in Java code (either an identifier or a sequence of identifiers separated by periods, optionally with generic type arguments).
| Field Summary | |
|---|---|
static PsiJavaCodeReferenceElement[] |
EMPTY_ARRAY
The empty array of PSI Java code references which can be reused to avoid unnecessary allocations. |
| Fields inherited from interface com.intellij.openapi.util.Iconable |
|---|
ICON_FLAG_CLOSED, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY |
| Method Summary | |
|---|---|
PsiReferenceParameterList |
getParameterList()
Returns the list of type arguments specified on the reference. |
java.lang.String |
getQualifiedName()
Returns the text of the reference including its qualifier. |
PsiElement |
getQualifier()
Returns the qualifier of the reference (the element representing the content up to the last period). |
java.lang.String |
getReferenceName()
Returns the text of the reference not including its qualifier. |
PsiElement |
getReferenceNameElement()
Returns the element representing the name of the referenced element. |
PsiType[] |
getTypeParameters()
Returns the array of types for the type arguments specified on the reference. |
boolean |
isQualified()
Checks if the reference is qualified (consists of elements separated with periods). |
| Methods inherited from interface com.intellij.openapi.util.UserDataHolder |
|---|
getUserData, putUserData |
| Methods inherited from interface com.intellij.openapi.util.Iconable |
|---|
getIcon |
| Methods inherited from interface com.intellij.psi.PsiJavaReference |
|---|
advancedResolve, multiResolve, processVariants |
| Methods inherited from interface com.intellij.psi.PsiReference |
|---|
bindToElement, getCanonicalText, getElement, getRangeInElement, getVariants, handleElementRename, isReferenceTo, isSoft, resolve |
| Field Detail |
|---|
static final PsiJavaCodeReferenceElement[] EMPTY_ARRAY
| Method Detail |
|---|
@Nullable PsiElement getReferenceNameElement()
@Nullable PsiReferenceParameterList getParameterList()
@NotNull PsiType[] getTypeParameters()
@Nullable PsiElement getQualifier()
boolean isQualified()
java.lang.String getQualifiedName()
@Nullable java.lang.String getReferenceName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||