PropertyData

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

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

Parameters

annotations

declared annotations on this property.

Constructors

PropertyData
Link copied to clipboard

declared annotations on this property.

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

Functions

component2
Link copied to clipboard
operator fun component2(): FieldData?
component3
Link copied to clipboard
operator fun component3(): MethodData?
component4
Link copied to clipboard
operator fun component4(): MethodData?
component5
Link copied to clipboard
operator fun component5(): Boolean
copy
Link copied to clipboard
fun copy(annotations: List<AnnotationSpec>, fieldData: FieldData?, getterData: MethodData?, setterData: MethodData?, isJvmField: Boolean): PropertyData
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

allAnnotations
Link copied to clipboard

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

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

associated FieldData with this property, if any.

val fieldData: FieldData?
getterData
Link copied to clipboard

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

val getterData: MethodData?
isJvmField
Link copied to clipboard

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

val isJvmField: Boolean
isOverride
Link copied to clipboard

Indicates if this property overrides another from a supertype.

val isOverride: Boolean
setterData
Link copied to clipboard

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

val setterData: MethodData?