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

MethodReference

interface MethodReference : ReferenceDefinition (source)

A reference to a method generated by DeveloperReference.

See ReferenceDefinition for more details.

Properties

Name Summary
method abstract val method: Method
The annotated method.

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.