public class LightTypeParameter extends LightClass implements PsiTypeParameter
Iconable.IconFlags, Iconable.LastComputedIconmyManagerFLAGS_LOCKED, ICON_PLACEHOLDERARRAY_FACTORY, EMPTY_ARRAYEMPTY_NAVIGATABLE_ELEMENT_ARRAYEMPTY_NAVIGATION_ITEM_ARRAYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY| Constructor and Description |
|---|
LightTypeParameter(PsiTypeParameter delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PsiElementVisitor visitor)
Passes the element to the specified visitor.
|
PsiAnnotation |
addAnnotation(java.lang.String qualifiedName)
Adds a new annotation to this owner.
|
PsiElement |
copy()
Creates a copy of the file containing the PSI element and returns the corresponding
element in the created copy.
|
PsiAnnotation |
findAnnotation(java.lang.String qualifiedName)
Searches the owner for an annotation with the specified fully qualified name
and returns one if it is found.
|
PsiAnnotation [] |
getAnnotations()
Returns the list of annotations syntactically contained in the element.
|
PsiAnnotation [] |
getApplicableAnnotations() |
PsiTypeParameter |
getDelegate() |
int |
getIndex()
Returns the position of this type parameter in the type parameter list of the owner element.
|
PsiTypeParameterListOwner |
getOwner()
Returns the element which is parameterized by the type parameter.
|
java.lang.String |
toString()
toString() should never be presented to the user.
|
boolean |
useDelegateToSubstitute() |
findFieldByName, findInnerClassByName, findMethodBySignature, findMethodsAndTheirSubstitutorsByName, findMethodsByName, findMethodsBySignature, getAllFields, getAllInnerClasses, getAllMethods, getAllMethodsAndTheirSubstitutors, getConstructors, getContainingClass, getContainingFile, getContext, getDocComment, getExtendsList, getExtendsListTypes, getFields, getImplementsList, getImplementsListTypes, getInitializers, getInnerClasses, getInterfaces, getLBrace, getMethods, getModifierList, getName, getNameIdentifier, getNavigationElement, getQualifiedName, getRBrace, getScope, getSuperClass, getSupers, getSuperTypes, getText, getTypeParameterList, getTypeParameters, getVisibleSignatures, hasModifierProperty, hasTypeParameters, isAnnotationType, isDeprecated, isEnum, isEquivalentTo, isInheritor, isInheritorDeep, isInterface, isValid, processDeclarations, setNameadd, addAfter, addBefore, checkAdd, checkDelete, delete, findElementAt, getChildren, getLanguage, getManager, getNextSibling, getNode, getParent, getPrevSibling, getStartOffsetInParent, getTextLength, getTextOffset, getTextRange, isPhysical, isWritable, replace, setNavigationElement, textMatches, textMatches, textToCharArrayacceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getFirstChild, getLastChild, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, getUseScope, navigate, notNullChild, textContainsbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlagschangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, getBounds, getExtendsList, hasAnnotationfindFieldByName, findInnerClassByName, findMethodBySignature, findMethodsAndTheirSubstitutorsByName, findMethodsByName, findMethodsByName, findMethodsBySignature, getAllFields, getAllInnerClasses, getAllMethods, getAllMethodsAndTheirSubstitutors, getClassKind, getConstructors, getContainingClass, getExtendsListTypes, getFields, getImplementsList, getImplementsListTypes, getInitializers, getInnerClasses, getInterfaces, getInterfaceTypes, getLBrace, getMethods, getNameIdentifier, getQualifiedName, getRBrace, getRecordComponents, getRecordHeader, getScope, getSuperClass, getSuperClassType, getSupers, getSuperTypes, getVisibleSignatures, isAnnotationType, isEnum, isInheritor, isInheritorDeep, isInterface, isRecord, setNamegetIdentifyingElementisDeprecatedgetDocCommentgetTypeParameterList, getTypeParameters, hasTypeParametersgetName, getPresentationcanNavigate, canNavigateToSource, navigategetAnnotation, getSourceElement, hasModifiergetModifierList, hasModifierPropertyacceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArraygetUserData, putUserDatagetNamegetNavigationElementisWritablegetNamepublic LightTypeParameter(PsiTypeParameter delegate)
public PsiTypeParameter getDelegate()
getDelegate in class LightClasspublic PsiElement copy()
PsiElementcopy in interface PsiElementcopy in class LightClasspublic void accept(PsiElementVisitor visitor)
PsiElementaccept in interface PsiElementaccept in class AbstractLightClassvisitor - the visitor to pass the element to.public PsiTypeParameterListOwner getOwner()
PsiTypeParametergetOwner in interface JvmTypeParametergetOwner in interface PsiTypeParameterTypeVariable.getGenericDeclaration()public int getIndex()
PsiTypeParametergetIndex in interface PsiTypeParameterpublic PsiAnnotation [] getAnnotations()
PsiAnnotationOwnergetAnnotations in interface JvmAnnotatedElementgetAnnotations in interface PsiAnnotationOwnergetAnnotations in interface PsiJvmModifiersOwnergetAnnotations in interface PsiModifierListOwnergetAnnotations in interface PsiTypeParameterpublic PsiAnnotation [] getApplicableAnnotations()
getApplicableAnnotations in interface PsiAnnotationOwnerpublic PsiAnnotation findAnnotation(java.lang.String qualifiedName)
PsiAnnotationOwnerfindAnnotation in interface PsiAnnotationOwnerqualifiedName - the fully qualified name of the annotation to find.public PsiAnnotation addAnnotation(java.lang.String qualifiedName)
PsiAnnotationOwneraddAnnotation in interface PsiAnnotationOwnerqualifiedName - qualifiedNamepublic boolean useDelegateToSubstitute()
public java.lang.String toString()
PsiElementtoString in interface PsiElementtoString in class AbstractLightClass