ClassOrObject

interface ClassOrObject : NamedDeclaration, PureClassOrObject

Functions

getAnnotations
Link copied to clipboard
abstract fun getAnnotations(): List<Annotation>
getAnonymousInitializers
Link copied to clipboard
abstract fun getAnonymousInitializers(): List<AnonymousInitializer>
getPrimaryConstructorParameterList
Link copied to clipboard
open fun getPrimaryConstructorParameterList(): ParameterList?
getResolvedCall
Link copied to clipboard
abstract fun getResolvedCall(context: ResolutionContext): ResolvedCall?
getVariableDescriptor
Link copied to clipboard
abstract fun getVariableDescriptor(context: ResolutionContext): VariableDescriptor?
hasExplicitPrimaryConstructor
Link copied to clipboard
abstract fun hasExplicitPrimaryConstructor(): Boolean
hasPrimaryConstructor
Link copied to clipboard
abstract fun hasPrimaryConstructor(): Boolean
impl
Link copied to clipboard
abstract fun impl(): Any
isAnnotation
Link copied to clipboard
abstract fun isAnnotation(): Boolean
isTopLevel
Link copied to clipboard
abstract fun isTopLevel(): Boolean
lastBlockStatementOrThis
Link copied to clipboard
abstract fun lastBlockStatementOrThis(): Expression
location
Link copied to clipboard
abstract fun location(): CompilerMessageSourceLocation?
parents
Link copied to clipboard
abstract fun parents(): List<Element>
type
Link copied to clipboard
abstract fun type(context: ResolutionContext): Type?

Properties

annotationEntries
Link copied to clipboard
abstract val annotationEntries: List<AnnotationEntry>
body
Link copied to clipboard
abstract val body: ClassBody?
companionObjects
Link copied to clipboard
abstract val companionObjects: List<ObjectDeclaration?>
declarations
Link copied to clipboard
abstract val declarations: List<Declaration>
fqName
Link copied to clipboard
abstract val fqName: FqName?
isLocal
Link copied to clipboard
abstract val isLocal: Boolean
modifierList
Link copied to clipboard
abstract val modifierList: ModifierList?
name
Link copied to clipboard
abstract val name: String?
nameAsName
Link copied to clipboard
abstract val nameAsName: Name?
nameAsSafeName
Link copied to clipboard
abstract val nameAsSafeName: Name
parents
Link copied to clipboard
abstract val parents: List<Element>
primaryConstructor
Link copied to clipboard
abstract val primaryConstructor: PrimaryConstructor?
primaryConstructorModifierList
Link copied to clipboard
abstract val primaryConstructorModifierList: ModifierList?
primaryConstructorParameters
Link copied to clipboard
abstract val primaryConstructorParameters: List<Parameter>
psiOrParent
Link copied to clipboard
abstract val psiOrParent: Element
secondaryConstructors
Link copied to clipboard
abstract val secondaryConstructors: List<SecondaryConstructor?>
superTypeListEntries
Link copied to clipboard
abstract val superTypeListEntries: List<SuperTypeListEntry>
text
Link copied to clipboard
abstract val text: String

Inheritors

Class
Link copied to clipboard
ObjectDeclaration
Link copied to clipboard