public class PsiCapturedWildcardType extends PsiType.Stub
PsiType.Stub| Modifier and Type | Method and Description |
|---|---|
<A> A |
accept(PsiTypeVisitor<A> visitor)
Passes the type to the specified visitor.
|
static PsiType |
captureUpperBound(PsiTypeParameter typeParameter,
PsiWildcardType wildcardType,
PsiSubstitutor captureSubstitutor) |
static PsiCapturedWildcardType |
create(PsiWildcardType existential,
PsiElement context) |
static PsiCapturedWildcardType |
create(PsiWildcardType existential,
PsiElement context,
PsiTypeParameter parameter) |
boolean |
equals(java.lang.Object o) |
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).
|
PsiElement |
getContext() |
java.lang.String |
getInternalCanonicalText()
Return canonical text of the type with some internal details added for presentational purposes.
|
PsiType |
getLowerBound() |
java.lang.String |
getPresentableText(boolean annotated)
Returns text of the type that can be presented to a user (references normally non-qualified).
|
GlobalSearchScope |
getResolveScope()
Returns the scope in which the reference to the underlying class of a class type is searched.
|
PsiType [] |
getSuperTypes()
Returns the list of superclass types for a class type.
|
PsiTypeParameter |
getTypeParameter() |
PsiType |
getUpperBound() |
PsiType |
getUpperBound(boolean capture) |
PsiWildcardType |
getWildcard() |
int |
hashCode() |
static boolean |
isCapture() |
boolean |
isValid()
Checks if the type is currently valid.
|
void |
setUpperBound(PsiType upperBound) |
getCanonicalText, getPresentableTextaddAnnotation, annotate, createArray, createArrayType, createArrayType, findAnnotation, getAnnotationProvider, getAnnotations, getApplicableAnnotations, getArrayDimensions, getDeepComponentType, getJavaLangClass, getJavaLangError, getJavaLangObject, getJavaLangRuntimeException, getJavaLangString, getJavaLangThrowable, getTypeByName, isAssignableFrom, isConvertibleFrom, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waithasAnnotationpublic static PsiCapturedWildcardType create(PsiWildcardType existential, PsiElement context)
public static PsiCapturedWildcardType create(PsiWildcardType existential, PsiElement context, PsiTypeParameter parameter)
public static boolean isCapture()
public static PsiType captureUpperBound(PsiTypeParameter typeParameter, PsiWildcardType wildcardType, PsiSubstitutor captureSubstitutor)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getPresentableText(boolean annotated)
PsiTypegetPresentableText in class PsiType.Stubpublic java.lang.String getCanonicalText(boolean annotated)
PsiTypegetCanonicalText in class PsiType.Stubpublic java.lang.String getInternalCanonicalText()
PsiTypegetInternalCanonicalText in class PsiTypepublic boolean isValid()
PsiTypeisValid in class PsiTypePsiElement.isValid()public boolean equalsToText(java.lang.String text)
PsiTypeequalsToText in class PsiTypetext - the text to compare with.public <A> A accept(PsiTypeVisitor<A> visitor)
PsiTypepublic GlobalSearchScope getResolveScope()
PsiTypegetResolveScope in class PsiTypepublic PsiType [] getSuperTypes()
PsiTypegetSuperTypes in class PsiTypepublic PsiType getLowerBound()
public PsiType getUpperBound()
public PsiType getUpperBound(boolean capture)
public void setUpperBound(PsiType upperBound)
public PsiWildcardType getWildcard()
public PsiElement getContext()
public PsiTypeParameter getTypeParameter()