gh-pages / com.nextfaze.devfun.reference / FieldReference

FieldReference

interface FieldReference : ReferenceDefinition (source)

A reference to a field generated by DeveloperReference.

See ReferenceDefinition for more details.

Properties

Name Summary
field abstract val field: Field
The annotated field.

Inherited Properties

Name Summary
annotation abstract val annotation: KClass<out Annotation>
The annotation that wanted the reference.

Extension Functions

Name Summary
getProperties fun <T : Any> ReferenceDefinition.getProperties(): T
Utility function to get the properties of a ReferenceDefinition of type T. Will throw if types are invalid.
withProperties fun <T : Any> ReferenceDefinition.withProperties(): T?
Utility function to potentially get the properties of a ReferenceDefinition of type T.