PropertyData

data class PropertyData(annotations: List<AnnotationSpec>, val fieldData: FieldData?, val getterData: MethodData?, val setterData: MethodData?, val 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

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

Properties

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.

Link copied to clipboard

associated FieldData with this property, if any.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Indicates if this property overrides another from a supertype.

Link copied to clipboard

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