gh-pages / com.nextfaze.devfun.reference / TypeReference
TypeReference
interface TypeReference :
ReferenceDefinition
(source)
A reference to a type generated by DeveloperReference.
See ReferenceDefinition for more details.
Properties
Name | Summary |
---|---|
type | abstract val type: KClass <*> The annotated type. |
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. |