Class Data
Represents relevant information on a Kotlin class used for ClassInspector. Can only ever be applied on a class and not file facades.
data class ClassData(declarationContainer: ImmutableKmClass, className: ClassName, annotations: Collection<AnnotationSpec>, properties: Map<ImmutableKmProperty, PropertyData>, constructors: Map<ImmutableKmConstructor, ConstructorData>, methods: Map<ImmutableKmFunction, MethodData>) : ContainerData
Content copied to clipboard
Constructors
ClassData
Link copied to clipboard
fun ClassData(declarationContainer: ImmutableKmClass, className: ClassName, annotations: Collection<AnnotationSpec>, properties: Map<ImmutableKmProperty, PropertyData>, constructors: Map<ImmutableKmConstructor, ConstructorData>, methods: Map<ImmutableKmFunction, MethodData>)
Content copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
copy
Link copied to clipboard
fun copy(declarationContainer: ImmutableKmClass, className: ClassName, annotations: Collection<AnnotationSpec>, properties: Map<ImmutableKmProperty, PropertyData>, constructors: Map<ImmutableKmConstructor, ConstructorData>, methods: Map<ImmutableKmFunction, MethodData>): ClassData
Content copied to clipboard
equals
Link copied to clipboard
Properties
annotations
Link copied to clipboard
declared annotations on this class.
className
Link copied to clipboard
the KotlinPoet ClassName of the class.
constructors
Link copied to clipboard
the mapping of declarationContainer's constructors to parsed ConstructorData.
declarationContainer
Link copied to clipboard
the ImmutableKmClass 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.