Class Data
data class ClassData(declarationContainer: KmClass, className: ClassName, annotations: Collection<AnnotationSpec>, properties: Map<KmProperty, PropertyData>, constructors: Map<KmConstructor, ConstructorData>, methods: Map<KmFunction, MethodData>) : ContainerData
Content copied to clipboard
Represents relevant information on a Kotlin class used for ClassInspector. Can only ever be applied on a class and not file facades.
Constructors
ClassData
Link copied to clipboard
fun ClassData(declarationContainer: KmClass, className: ClassName, annotations: Collection<AnnotationSpec>, properties: Map<KmProperty, PropertyData>, constructors: Map<KmConstructor, ConstructorData>, methods: Map<KmFunction, MethodData>)
Content copied to clipboard
Properties
annotations
Link copied to clipboard
constructors
Link copied to clipboard
the mapping of declarationContainer's constructors to parsed ConstructorData.
declarationContainer
Link copied to clipboard
the KmClass as parsed from the class's @Metadata annotation.
methods
Link copied to clipboard
the mapping of declarationContainer's methods to parsed MethodData.
properties
Link copied to clipboard
the mapping of declarationContainer's properties to parsed PropertyData.