org.jetbrains.kotlin.asJava.elements
Class KtLightTypeParameter
java.lang.Object
com.intellij.openapi.util.UserDataHolderBase
com.intellij.psi.impl.ElementBase
com.intellij.psi.impl.PsiElementBase
com.intellij.psi.impl.light.LightElement
com.intellij.psi.impl.light.AbstractLightClass
org.jetbrains.kotlin.asJava.elements.KtLightTypeParameter
- All Implemented Interfaces:
- com.intellij.navigation.NavigationItem, com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.openapi.util.UserDataHolderEx, com.intellij.pom.Navigatable, com.intellij.pom.PomNamedTarget, com.intellij.pom.PomRenameableTarget<com.intellij.psi.PsiElement>, com.intellij.pom.PomTarget, com.intellij.psi.NavigatablePsiElement, com.intellij.psi.PsiAnnotationOwner, com.intellij.psi.PsiClass, com.intellij.psi.PsiDocCommentOwner, com.intellij.psi.PsiElement, com.intellij.psi.PsiMember, com.intellij.psi.PsiModifierListOwner, com.intellij.psi.PsiNamedElement, com.intellij.psi.PsiNameIdentifierOwner, com.intellij.psi.PsiTarget, com.intellij.psi.PsiTypeParameter, com.intellij.psi.PsiTypeParameterListOwner, java.lang.Cloneable
public class KtLightTypeParameter
- extends com.intellij.psi.impl.light.AbstractLightClass
- implements com.intellij.psi.PsiTypeParameter
| Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable |
com.intellij.openapi.util.Iconable.IconFlags, com.intellij.openapi.util.Iconable.LastComputedIcon |
| Fields inherited from class com.intellij.psi.impl.light.LightElement |
myManager |
| Fields inherited from class com.intellij.psi.impl.ElementBase |
FLAGS_LOCKED, ICON_PLACEHOLDER |
| Fields inherited from interface com.intellij.psi.PsiTypeParameter |
ARRAY_FACTORY, EMPTY_ARRAY |
| Fields inherited from interface com.intellij.openapi.util.Iconable |
ICON_FLAG_CLOSED, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY |
| Fields inherited from interface com.intellij.navigation.NavigationItem |
EMPTY_NAVIGATION_ITEM_ARRAY |
|
Constructor Summary |
KtLightTypeParameter(com.intellij.psi.PsiTypeParameterListOwner owner,
int index,
java.lang.String name)
|
| Methods inherited from class com.intellij.psi.impl.light.AbstractLightClass |
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, getNameIdentifier, getQualifiedName, getRBrace, getScope, getSuperClass, getSupers, getSuperTypes, getTypeParameterList, getTypeParameters, getVisibleSignatures, hasModifierProperty, hasTypeParameters, isAnnotationType, isDeprecated, isEnum, isInheritor, isInheritorDeep, isInterface, isValid, processDeclarations, setName |
| Methods inherited from class com.intellij.psi.impl.light.LightElement |
add, addAfter, addBefore, checkAdd, checkDelete, delete, findElementAt, getChildren, getManager, getNextSibling, getNode, getParent, getPrevSibling, getStartOffsetInParent, getTextLength, getTextOffset, getTextRange, isPhysical, isWritable, replace, setNavigationElement, textMatches, textMatches, textToCharArray |
| Methods inherited from class com.intellij.psi.impl.PsiElementBase |
acceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getFirstChild, getLastChild, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, navigate, notNullChild, textContains |
| Methods inherited from class com.intellij.psi.impl.ElementBase |
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags |
| Methods inherited from class com.intellij.openapi.util.UserDataHolderBase |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.intellij.psi.PsiTypeParameter |
getExtendsList |
| Methods inherited from interface com.intellij.psi.PsiClass |
findFieldByName, findInnerClassByName, findMethodBySignature, findMethodsAndTheirSubstitutorsByName, findMethodsByName, findMethodsBySignature, getAllFields, getAllInnerClasses, getAllMethods, getAllMethodsAndTheirSubstitutors, getConstructors, getContainingClass, getExtendsListTypes, getFields, getImplementsList, getImplementsListTypes, getInitializers, getInnerClasses, getInterfaces, getLBrace, getMethods, getNameIdentifier, getQualifiedName, getRBrace, getScope, getSuperClass, getSupers, getSuperTypes, getVisibleSignatures, isAnnotationType, isEnum, isInheritor, isInheritorDeep, isInterface, setName |
| Methods inherited from interface com.intellij.psi.PsiDocCommentOwner |
getDocComment, isDeprecated |
| Methods inherited from interface com.intellij.psi.PsiTypeParameterListOwner |
getTypeParameterList, getTypeParameters, hasTypeParameters |
| Methods inherited from interface com.intellij.psi.PsiModifierListOwner |
getModifierList, hasModifierProperty |
| Methods inherited from interface com.intellij.psi.PsiElement |
acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLastChild, getManager, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getTextLength, getTextOffset, getTextRange, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray |
| 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.navigation.NavigationItem |
getPresentation |
| Methods inherited from interface com.intellij.pom.Navigatable |
canNavigate, canNavigateToSource, navigate |
| Methods inherited from interface com.intellij.pom.PomRenameableTarget |
isWritable |
| Methods inherited from interface com.intellij.pom.PomTarget |
isValid |
KtLightTypeParameter
public KtLightTypeParameter(@NotNull
com.intellij.psi.PsiTypeParameterListOwner owner,
int index,
@NotNull
java.lang.String name)
getClsDelegate
@NotNull
public com.intellij.psi.PsiTypeParameter getClsDelegate()
getDelegate
@NotNull
public com.intellij.psi.PsiClass getDelegate()
- Specified by:
getDelegate in class com.intellij.psi.impl.light.AbstractLightClass
getKotlinOrigin
@NotNull
public KtTypeParameter getKotlinOrigin()
copy
@NotNull
public com.intellij.psi.PsiElement copy()
- Specified by:
copy in interface com.intellij.psi.PsiElement- Specified by:
copy in class com.intellij.psi.impl.light.AbstractLightClass
accept
public void accept(@NotNull
com.intellij.psi.PsiElementVisitor visitor)
- Specified by:
accept in interface com.intellij.psi.PsiElement- Overrides:
accept in class com.intellij.psi.impl.light.AbstractLightClass
getText
public java.lang.String getText()
- Specified by:
getText in interface com.intellij.psi.PsiElement- Overrides:
getText in class com.intellij.psi.impl.light.AbstractLightClass
getName
@Nullable
public java.lang.String getName()
- Specified by:
getName in interface com.intellij.navigation.NavigationItem- Specified by:
getName in interface com.intellij.pom.PomNamedTarget- Specified by:
getName in interface com.intellij.psi.PsiNamedElement- Overrides:
getName in class com.intellij.psi.impl.light.AbstractLightClass
getOwner
public com.intellij.psi.PsiTypeParameterListOwner getOwner()
- Specified by:
getOwner in interface com.intellij.psi.PsiTypeParameter
getIndex
public int getIndex()
- Specified by:
getIndex in interface com.intellij.psi.PsiTypeParameter
getAnnotations
@NotNull
public com.intellij.psi.PsiAnnotation[] getAnnotations()
- Specified by:
getAnnotations in interface com.intellij.psi.PsiAnnotationOwner
getApplicableAnnotations
@NotNull
public com.intellij.psi.PsiAnnotation[] getApplicableAnnotations()
- Specified by:
getApplicableAnnotations in interface com.intellij.psi.PsiAnnotationOwner
findAnnotation
public com.intellij.psi.PsiAnnotation findAnnotation(@NotNull
java.lang.String qualifiedName)
- Specified by:
findAnnotation in interface com.intellij.psi.PsiAnnotationOwner
addAnnotation
@NotNull
public com.intellij.psi.PsiAnnotation addAnnotation(@NotNull
java.lang.String qualifiedName)
- Specified by:
addAnnotation in interface com.intellij.psi.PsiAnnotationOwner
toString
public java.lang.String toString()
- Specified by:
toString in interface com.intellij.psi.PsiElement- Overrides:
toString in class com.intellij.psi.impl.light.AbstractLightClass
getNavigationElement
@NotNull
public com.intellij.psi.PsiElement getNavigationElement()
- Specified by:
getNavigationElement in interface com.intellij.psi.PsiElement- Specified by:
getNavigationElement in interface com.intellij.psi.PsiTarget- Overrides:
getNavigationElement in class com.intellij.psi.impl.light.AbstractLightClass
getLanguage
@NotNull
public com.intellij.lang.Language getLanguage()
- Specified by:
getLanguage in interface com.intellij.psi.PsiElement- Overrides:
getLanguage in class com.intellij.psi.impl.light.LightElement
getUseScope
@NotNull
public com.intellij.psi.search.SearchScope getUseScope()
- Specified by:
getUseScope in interface com.intellij.psi.PsiElement- Overrides:
getUseScope in class com.intellij.psi.impl.PsiElementBase
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
isEquivalentTo
public boolean isEquivalentTo(com.intellij.psi.PsiElement another)
- Specified by:
isEquivalentTo in interface com.intellij.psi.PsiElement- Overrides:
isEquivalentTo in class com.intellij.psi.impl.light.AbstractLightClass