org.jetbrains.kotlin.resolve.lazy.data
Class KtClassOrObjectInfo<E extends KtClassOrObject>

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.lazy.data.KtClassOrObjectInfo<E>
All Implemented Interfaces:
KtDeclarationContainer, KtClassLikeInfo
Direct Known Subclasses:
KtClassInfo, KtObjectInfo

public abstract class KtClassOrObjectInfo<E extends KtClassOrObject>
extends java.lang.Object
implements KtClassLikeInfo


Field Summary
protected  E element
           
 
Constructor Summary
protected KtClassOrObjectInfo(E element)
           
 
Method Summary
 java.util.List<KtObjectDeclaration> getCompanionObjects()
           
 FqName getContainingPackageFqName()
           
 KtClassOrObject getCorrespondingClassOrObject()
           
 java.util.List<KtAnnotationEntry> getDanglingAnnotations()
           
 java.util.List<KtDeclaration> getDeclarations()
           
 KtModifierList getModifierList()
           
 Name getName()
           
 java.util.List<? extends KtParameter> getPrimaryConstructorParameters()
           
 com.intellij.psi.PsiElement getScopeAnchor()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.kotlin.resolve.lazy.data.KtClassLikeInfo
getClassKind, getTypeParameterList
 

Field Detail

element

protected final E extends KtClassOrObject element
Constructor Detail

KtClassOrObjectInfo

protected KtClassOrObjectInfo(@NotNull
                              E element)
Method Detail

getName

@Nullable
public Name getName()

getCorrespondingClassOrObject

@NotNull
public KtClassOrObject getCorrespondingClassOrObject()
Specified by:
getCorrespondingClassOrObject in interface KtClassLikeInfo

getModifierList

@Nullable
public KtModifierList getModifierList()
Specified by:
getModifierList in interface KtClassLikeInfo

getDeclarations

@NotNull
public java.util.List<KtDeclaration> getDeclarations()
Specified by:
getDeclarations in interface KtDeclarationContainer

getCompanionObjects

@NotNull
public java.util.List<KtObjectDeclaration> getCompanionObjects()
Specified by:
getCompanionObjects in interface KtClassLikeInfo

getScopeAnchor

@NotNull
public com.intellij.psi.PsiElement getScopeAnchor()
Specified by:
getScopeAnchor in interface KtClassLikeInfo

getContainingPackageFqName

@NotNull
public FqName getContainingPackageFqName()
Specified by:
getContainingPackageFqName in interface KtClassLikeInfo

getDanglingAnnotations

@NotNull
public java.util.List<KtAnnotationEntry> getDanglingAnnotations()
Specified by:
getDanglingAnnotations in interface KtClassLikeInfo

getPrimaryConstructorParameters

@NotNull
public java.util.List<? extends KtParameter> getPrimaryConstructorParameters()
Specified by:
getPrimaryConstructorParameters in interface KtClassLikeInfo

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object