org.jetbrains.jet.asJava
Class KotlinLightClassForPackage

java.lang.Object
  extended by com.intellij.openapi.util.UserDataHolderBase
      extended by com.intellij.psi.impl.ElementBase
          extended by com.intellij.psi.impl.PsiElementBase
              extended by com.intellij.psi.impl.light.LightElement
                  extended by com.intellij.psi.impl.light.AbstractLightClass
                      extended by org.jetbrains.jet.asJava.KotlinLightClassForPackage
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.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.PsiTypeParameterListOwner, java.lang.Cloneable, KotlinLightClass, JetJavaMirrorMarker

public class KotlinLightClassForPackage
extends com.intellij.psi.impl.light.AbstractLightClass
implements KotlinLightClass, JetJavaMirrorMarker


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable
com.intellij.openapi.util.Iconable.IconFlags, com.intellij.openapi.util.Iconable.LastComputedIcon
 
Field Summary
 
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 class com.intellij.openapi.util.UserDataHolderBase
COPYABLE_USER_MAP_KEY
 
Fields inherited from interface com.intellij.psi.PsiClass
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
 
Method Summary
 com.intellij.psi.PsiElement copy()
           
static KotlinLightClassForPackage create(com.intellij.psi.PsiManager manager, FqName qualifiedName, com.intellij.psi.search.GlobalSearchScope searchScope, java.util.Collection<JetFile> files)
           
 boolean equals(java.lang.Object obj)
           
 com.intellij.psi.PsiClass findInnerClassByName(java.lang.String name, boolean checkBases)
           
 com.intellij.psi.PsiClass[] getAllInnerClasses()
           
 com.intellij.psi.PsiClass getContainingClass()
           
 com.intellij.psi.PsiClass getDelegate()
           
 com.intellij.psi.javadoc.PsiDocComment getDocComment()
           
 javax.swing.Icon getElementIcon(int flags)
           
 com.intellij.psi.PsiReferenceList getExtendsList()
           
 com.intellij.psi.PsiClassType[] getExtendsListTypes()
           
 FqName getFqName()
           
 com.intellij.psi.PsiReferenceList getImplementsList()
           
 com.intellij.psi.PsiClassType[] getImplementsListTypes()
           
 com.intellij.psi.PsiClassInitializer[] getInitializers()
           
 com.intellij.psi.PsiClass[] getInnerClasses()
           
 com.intellij.psi.PsiClass[] getInterfaces()
           
 com.intellij.psi.PsiModifierList getModifierList()
           
 java.lang.String getName()
           
 com.intellij.psi.PsiElement getNavigationElement()
           
 com.intellij.navigation.ItemPresentation getPresentation()
           
 java.lang.String getQualifiedName()
           
 com.intellij.psi.PsiClass getSuperClass()
           
 com.intellij.psi.PsiClass[] getSupers()
           
 com.intellij.psi.PsiClassType[] getSuperTypes()
           
 com.intellij.psi.PsiTypeParameterList getTypeParameterList()
           
 com.intellij.psi.PsiTypeParameter[] getTypeParameters()
           
 int hashCode()
           
 boolean hasModifierProperty(java.lang.String name)
           
 boolean hasTypeParameters()
           
 boolean isAnnotationType()
           
 boolean isDeprecated()
           
 boolean isEnum()
           
 boolean isEquivalentTo(com.intellij.psi.PsiElement another)
           
 boolean isInterface()
           
 boolean isValid()
           
 java.lang.String toString()
           
 
Methods inherited from class com.intellij.psi.impl.light.AbstractLightClass
accept, findFieldByName, findMethodBySignature, findMethodsAndTheirSubstitutorsByName, findMethodsByName, findMethodsBySignature, getAllFields, getAllMethods, getAllMethodsAndTheirSubstitutors, getConstructors, getContainingFile, getContext, getFields, getLBrace, getMethods, getNameIdentifier, getRBrace, getScope, getText, getVisibleSignatures, isInheritor, isInheritorDeep, processDeclarations, setName
 
Methods inherited from class com.intellij.psi.impl.light.LightElement
add, addAfter, addBefore, checkAdd, checkDelete, delete, findElementAt, getChildren, getLanguage, 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, getProject, getReference, getReferences, getResolveScope, getUseScope, navigate, notNullChild, textContains
 
Methods inherited from class com.intellij.psi.impl.ElementBase
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
 
Methods inherited from class com.intellij.openapi.util.UserDataHolderBase
clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.intellij.psi.PsiClass
findFieldByName, findMethodBySignature, findMethodsAndTheirSubstitutorsByName, findMethodsByName, findMethodsBySignature, getAllFields, getAllMethods, getAllMethodsAndTheirSubstitutors, getConstructors, getFields, getLBrace, getMethods, getNameIdentifier, getRBrace, getScope, getVisibleSignatures, isInheritor, isInheritorDeep, setName
 
Methods inherited from interface com.intellij.psi.PsiElement
accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getUseScope, isPhysical, 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.pom.Navigatable
canNavigate, canNavigateToSource, navigate
 
Methods inherited from interface com.intellij.pom.PomRenameableTarget
isWritable
 

Method Detail

create

@Nullable
public static KotlinLightClassForPackage create(@NotNull
                                                         com.intellij.psi.PsiManager manager,
                                                         @NotNull
                                                         FqName qualifiedName,
                                                         @NotNull
                                                         com.intellij.psi.search.GlobalSearchScope searchScope,
                                                         @NotNull
                                                         java.util.Collection<JetFile> files)

getModifierList

@Nullable
public com.intellij.psi.PsiModifierList getModifierList()
Specified by:
getModifierList in interface com.intellij.psi.PsiModifierListOwner
Overrides:
getModifierList in class com.intellij.psi.impl.light.AbstractLightClass

hasModifierProperty

public boolean hasModifierProperty(@NonNls@NotNull
                                   java.lang.String name)
Specified by:
hasModifierProperty in interface com.intellij.psi.PsiModifierListOwner
Overrides:
hasModifierProperty in class com.intellij.psi.impl.light.AbstractLightClass

isDeprecated

public boolean isDeprecated()
Specified by:
isDeprecated in interface com.intellij.psi.PsiDocCommentOwner
Overrides:
isDeprecated in class com.intellij.psi.impl.light.AbstractLightClass

isInterface

public boolean isInterface()
Specified by:
isInterface in interface com.intellij.psi.PsiClass
Overrides:
isInterface in class com.intellij.psi.impl.light.AbstractLightClass

isAnnotationType

public boolean isAnnotationType()
Specified by:
isAnnotationType in interface com.intellij.psi.PsiClass
Overrides:
isAnnotationType in class com.intellij.psi.impl.light.AbstractLightClass

isEnum

public boolean isEnum()
Specified by:
isEnum in interface com.intellij.psi.PsiClass
Overrides:
isEnum in class com.intellij.psi.impl.light.AbstractLightClass

getContainingClass

@Nullable
public com.intellij.psi.PsiClass getContainingClass()
Specified by:
getContainingClass in interface com.intellij.psi.PsiClass
Specified by:
getContainingClass in interface com.intellij.psi.PsiMember
Overrides:
getContainingClass in class com.intellij.psi.impl.light.AbstractLightClass

hasTypeParameters

public boolean hasTypeParameters()
Specified by:
hasTypeParameters in interface com.intellij.psi.PsiTypeParameterListOwner
Overrides:
hasTypeParameters in class com.intellij.psi.impl.light.AbstractLightClass

getTypeParameters

@NotNull
public com.intellij.psi.PsiTypeParameter[] getTypeParameters()
Specified by:
getTypeParameters in interface com.intellij.psi.PsiTypeParameterListOwner
Overrides:
getTypeParameters in class com.intellij.psi.impl.light.AbstractLightClass

getTypeParameterList

@Nullable
public com.intellij.psi.PsiTypeParameterList getTypeParameterList()
Specified by:
getTypeParameterList in interface com.intellij.psi.PsiTypeParameterListOwner
Overrides:
getTypeParameterList in class com.intellij.psi.impl.light.AbstractLightClass

getDocComment

@Nullable
public com.intellij.psi.javadoc.PsiDocComment getDocComment()
Specified by:
getDocComment in interface com.intellij.psi.PsiDocCommentOwner
Overrides:
getDocComment in class com.intellij.psi.impl.light.AbstractLightClass

getImplementsList

@Nullable
public com.intellij.psi.PsiReferenceList getImplementsList()
Specified by:
getImplementsList in interface com.intellij.psi.PsiClass
Overrides:
getImplementsList in class com.intellij.psi.impl.light.AbstractLightClass

getImplementsListTypes

@NotNull
public com.intellij.psi.PsiClassType[] getImplementsListTypes()
Specified by:
getImplementsListTypes in interface com.intellij.psi.PsiClass
Overrides:
getImplementsListTypes in class com.intellij.psi.impl.light.AbstractLightClass

getExtendsList

@Nullable
public com.intellij.psi.PsiReferenceList getExtendsList()
Specified by:
getExtendsList in interface com.intellij.psi.PsiClass
Overrides:
getExtendsList in class com.intellij.psi.impl.light.AbstractLightClass

getExtendsListTypes

@NotNull
public com.intellij.psi.PsiClassType[] getExtendsListTypes()
Specified by:
getExtendsListTypes in interface com.intellij.psi.PsiClass
Overrides:
getExtendsListTypes in class com.intellij.psi.impl.light.AbstractLightClass

getSuperClass

@Nullable
public com.intellij.psi.PsiClass getSuperClass()
Specified by:
getSuperClass in interface com.intellij.psi.PsiClass
Overrides:
getSuperClass in class com.intellij.psi.impl.light.AbstractLightClass

getSupers

@NotNull
public com.intellij.psi.PsiClass[] getSupers()
Specified by:
getSupers in interface com.intellij.psi.PsiClass
Overrides:
getSupers in class com.intellij.psi.impl.light.AbstractLightClass

getSuperTypes

@NotNull
public com.intellij.psi.PsiClassType[] getSuperTypes()
Specified by:
getSuperTypes in interface com.intellij.psi.PsiClass
Overrides:
getSuperTypes in class com.intellij.psi.impl.light.AbstractLightClass

getInterfaces

public com.intellij.psi.PsiClass[] getInterfaces()
Specified by:
getInterfaces in interface com.intellij.psi.PsiClass
Overrides:
getInterfaces in class com.intellij.psi.impl.light.AbstractLightClass

getInnerClasses

@NotNull
public com.intellij.psi.PsiClass[] getInnerClasses()
Specified by:
getInnerClasses in interface com.intellij.psi.PsiClass
Overrides:
getInnerClasses in class com.intellij.psi.impl.light.AbstractLightClass

getInitializers

@NotNull
public com.intellij.psi.PsiClassInitializer[] getInitializers()
Specified by:
getInitializers in interface com.intellij.psi.PsiClass
Overrides:
getInitializers in class com.intellij.psi.impl.light.AbstractLightClass

getAllInnerClasses

@NotNull
public com.intellij.psi.PsiClass[] getAllInnerClasses()
Specified by:
getAllInnerClasses in interface com.intellij.psi.PsiClass
Overrides:
getAllInnerClasses in class com.intellij.psi.impl.light.AbstractLightClass

findInnerClassByName

@Nullable
public com.intellij.psi.PsiClass findInnerClassByName(@NonNls
                                                               java.lang.String name,
                                                               boolean checkBases)
Specified by:
findInnerClassByName in interface com.intellij.psi.PsiClass
Overrides:
findInnerClassByName in class com.intellij.psi.impl.light.AbstractLightClass

getFqName

@NotNull
public FqName getFqName()
Specified by:
getFqName in interface KotlinLightClass

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

getQualifiedName

@Nullable
public java.lang.String getQualifiedName()
Specified by:
getQualifiedName in interface com.intellij.psi.PsiClass
Overrides:
getQualifiedName in class com.intellij.psi.impl.light.AbstractLightClass

isValid

public boolean isValid()
Specified by:
isValid in interface com.intellij.pom.PomTarget
Specified by:
isValid in interface com.intellij.psi.PsiElement
Overrides:
isValid in class com.intellij.psi.impl.light.AbstractLightClass

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

getDelegate

@NotNull
public com.intellij.psi.PsiClass getDelegate()
Specified by:
getDelegate in interface KotlinLightClass
Specified by:
getDelegate 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

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

getPresentation

public com.intellij.navigation.ItemPresentation getPresentation()
Specified by:
getPresentation in interface com.intellij.navigation.NavigationItem
Overrides:
getPresentation in class com.intellij.psi.impl.PsiElementBase

getElementIcon

public javax.swing.Icon getElementIcon(int flags)
Overrides:
getElementIcon in class com.intellij.psi.impl.ElementBase

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

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