PropertyData

data class PropertyData(annotations: List<AnnotationSpec>, fieldData: FieldData?, getterData: MethodData?, setterData: MethodData?, isJvmField: Boolean)

Represents relevant information on a property used for ClassInspector. Should only be associated with properties of a ClassData.

Parameters

annotations

declared annotations on this property.

Constructors

PropertyData
Link copied to clipboard
fun PropertyData(annotations: List<AnnotationSpec>, fieldData: FieldData?, getterData: MethodData?, setterData: MethodData?, isJvmField: Boolean)

Properties

allAnnotations
Link copied to clipboard
val allAnnotations: Collection<AnnotationSpec>

A collection of all annotations on this property including declared ones and any derived from fieldData, getterData, setterData, and isJvmField.

fieldData
Link copied to clipboard
val fieldData: FieldData?

associated FieldData with this property, if any.

getterData
Link copied to clipboard
val getterData: MethodData?

associated getter (as MethodData) with this property, if any.

isJvmField
Link copied to clipboard
val isJvmField: Boolean

indicates if this property should be treated as a jvm field.

isOverride
Link copied to clipboard
val isOverride: Boolean

Indicates if this property overrides another from a supertype.

setterData
Link copied to clipboard
val setterData: MethodData?

associated setter (as MethodData) with this property, if any.