public class PsiEllipsisType extends PsiArrayType
PsiType.Stub
Constructor and Description |
---|
PsiEllipsisType(PsiType componentType) |
PsiEllipsisType(PsiType componentType,
PsiAnnotation [] annotations) |
PsiEllipsisType(PsiType componentType,
TypeAnnotationProvider provider) |
Modifier and Type | Method and Description |
---|---|
<A> A |
accept(PsiTypeVisitor<A> visitor)
Passes the type to the specified visitor.
|
boolean |
equalsToText(java.lang.String text)
Checks if the specified string is equivalent to the canonical text of the type.
|
java.lang.String |
getCanonicalText(boolean annotated)
Returns canonical representation of the type (all references fully-qualified).
|
java.lang.String |
getInternalCanonicalText()
Return canonical text of the type with some internal details added for presentational purposes.
|
java.lang.String |
getPresentableText(boolean annotated)
Returns text of the type that can be presented to a user (references normally non-qualified).
|
int |
hashCode() |
PsiType |
toArrayType()
Converts the ellipsis type to an array type with the same component type.
|
equals, getComponentType, getResolveScope, getSuperTypes, getText, isValid
getCanonicalText, getPresentableText
addAnnotation, annotate, createArray, createArrayType, createArrayType, findAnnotation, getAnnotationProvider, getAnnotations, getApplicableAnnotations, getArrayDimensions, getDeepComponentType, getJavaLangClass, getJavaLangError, getJavaLangObject, getJavaLangRuntimeException, getJavaLangString, getJavaLangThrowable, getTypeByName, isAssignableFrom, isConvertibleFrom, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept
getAnnotations
hasAnnotation
public PsiEllipsisType(PsiType componentType)
public PsiEllipsisType(PsiType componentType, PsiAnnotation [] annotations)
public PsiEllipsisType(PsiType componentType, TypeAnnotationProvider provider)
public java.lang.String getPresentableText(boolean annotated)
PsiType
getPresentableText
in class PsiArrayType
public java.lang.String getCanonicalText(boolean annotated)
PsiType
getCanonicalText
in class PsiArrayType
public java.lang.String getInternalCanonicalText()
PsiType
getInternalCanonicalText
in class PsiArrayType
public boolean equalsToText(java.lang.String text)
PsiType
equalsToText
in class PsiArrayType
text
- the text to compare with.public PsiType toArrayType()
public <A> A accept(PsiTypeVisitor<A> visitor)
PsiType
accept
in class PsiArrayType
visitor
- the visitor to accept the type.public int hashCode()
hashCode
in class PsiArrayType