gh-pages / com.nextfaze.devfun.reference
Package com.nextfaze.devfun.reference
Types
| Name | Summary |
|---|---|
| Dagger2ComponentProperties | interface Dagger2ComponentPropertiesProperties interface for @Dagger2Component. |
| Dagger2Scope | enum class Dagger2ScopeSome range of scopes for use with Dagger2Component. Priority is based on their ordinal value (higher = broader scope). |
| DeveloperLoggerProperties | interface DeveloperLoggerPropertiesProperties interface for @DeveloperLogger. |
| DeveloperReferenceProperties | interface DeveloperReferencePropertiesProperties interface for @DeveloperReference. |
| FieldReference | interface FieldReference : ReferenceDefinitionA reference to a field generated by DeveloperReference. |
| MethodReference | interface MethodReference : ReferenceDefinitionA reference to a method generated by DeveloperReference. |
| ReferenceDefinition | interface ReferenceDefinitionDefines references to annotations that are annotated DeveloperReference. |
| TypeReference | interface TypeReference : ReferenceDefinitionA reference to a type generated by DeveloperReference. |
| WithProperties | interface WithProperties<T : Any>Declares a definition that has properties associated with it. The type will be AnnotationNameProperties. |
Annotations
| Name | Summary |
|---|---|
| Dagger2Component | annotation class Dagger2ComponentAnnotated functions ( fun, properties, or property getters (@get:Dagger2Component)) will be checked/used as Dagger 2 components. |
| DeveloperLogger | annotation class DeveloperLoggerAnnotated references will be rendered as an overlay. |
| DeveloperReference | annotation class DeveloperReferenceAnnotated elements will be recorded by DevFun for later retrieval via devFun.developerReferences<DeveloperReference>(). |
Functions
| Name | Summary |
|---|---|
| getProperties | fun <T : Any> ReferenceDefinition.getProperties(): TUtility 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. |