class ModelViewInfo : GeneratedModelInfo
ModelViewInfo(viewElement: TypeElement, typeUtils: Types, elements: Elements, logger: Logger, configManager: ConfigManager, resourceProcessor: ResourceProcessor, memoizer: Memoizer) |
val afterPropsSetMethodNames: MutableSet<String!>! |
|
val elements: Elements |
|
val fullSpanSize: Boolean |
|
val functionsWithSingleDefaultParameter: List<KmFunction> |
|
val generatedViewInterfaceNames: List<ClassName>
We generate an interface on the model to represent each interface on the view. This lets models with the same view interface be grouped together. |
|
val kotlinMetadata: KotlinClassMetadata? |
|
val logger: Logger |
|
val resetMethodNames: MutableSet<String!>! |
|
val saveViewState: Boolean |
|
val typeUtils: Types |
|
val viewAttributes: List<ViewAttributeInfo> |
|
val viewElement: TypeElement |
|
val visibilityChangedMethodNames: MutableSet<String!>! |
|
val visibilityStateChangedMethodNames: MutableSet<String!>! |
val annotations: MutableList<AnnotationSpec> |
|
val attributeGroups: MutableList<GeneratedModelInfo.AttributeGroup> |
|
val attributeInfo: MutableList<AttributeInfo> |
|
val constructors: MutableList<GeneratedModelInfo.ConstructorInfo> |
|
lateinit var generatedName: ClassName |
|
var includeOtherLayoutOptions: Boolean
If true, any layout classes that exist that are prefixed by the default layout are included in the generated model as other layout options via a generated method for each alternate layout. |
|
val isProgrammaticView: Boolean |
|
val isStyleable: Boolean |
|
val isSuperClassAlsoGenerated: Boolean |
|
var layoutParams: Size
An option set via com.airbnb.epoxy.ModelView.autoLayout to have Epoxy create the view programmatically instead of via xml layout resource inflation. |
|
val memoizer: Memoizer |
|
val methodsReturningClassType: MutableSet<MethodInfo> |
|
var modelType: TypeName?
Get the object type this model is typed with. |
|
lateinit var parameterizedGeneratedName: TypeName |
|
var shouldGenerateModel: Boolean |
|
var styleBuilderInfo: ParisStyleAttributeInfo?
The info for the style builder if this is a model view annotated with @Styleable. Null otherwise. |
|
lateinit var superClassElement: TypeElement |
|
lateinit var superClassName: TypeName |
|
val typeVariableNames: MutableList<TypeVariableName> |
|
val typeVariables: Iterable<TypeVariableName> |
fun addAfterPropsSetMethod(methodName: String): Unit |
|
fun additionalOriginatingElements(): List<TypeElement> |
|
fun addOnRecycleMethod(methodName: String): Unit |
|
fun addOnVisibilityChangedMethod(methodName: String): Unit |
|
fun addOnVisibilityStateChangedMethod(methodName: String): Unit |
|
fun buildProp(prop: Element): ViewAttributeInfo |
|
fun getLayoutResource(resourceProcessor: ResourceProcessor): ResourceValue |
|
fun Element.kotlinMetadata(): KotlinClassMetadata? |
fun addAttribute(attributeInfo: AttributeInfo): Unit |
|
fun addAttributeGroup(groupName: String?, attributes: List<AttributeInfo>): Unit |
|
fun addAttributeIfNotExists(attributeToAdd: AttributeInfo): Unit |
|
fun addAttributes(attributesToAdd: Collection<AttributeInfo>): Unit |
|
fun attributeGroup(attribute: AttributeInfo): GeneratedModelInfo.AttributeGroup? |
|
fun collectMethodsReturningClassType(superModelClass: TypeElement): Unit
Get information about methods returning class type of the original class so we can duplicate them in the generated class for chaining purposes |
|
fun getClassConstructors(classElement: TypeElement?): List<GeneratedModelInfo.ConstructorInfo>
Get information about constructors of the original class so we can duplicate them in the generated class and call through to super with the proper parameters |
|
fun hasEmptyConstructor(): Boolean |
|
fun isOverload(attribute: AttributeInfo): Boolean |
|
fun originatingElements(): List<Element>
The elements that influence the generation of this model. eg base model class for @EpoxyModelClass, view class for @ModelView, etc |
|
fun otherAttributesInGroup(attribute: AttributeInfo): List<AttributeInfo>
If this attribute is in a group, returns the other attributes contained in that group. |
|
fun setStyleable(parisStyleAttributeInfo: ParisStyleAttributeInfo): Unit |
|
open fun toString(): String |
fun Any.mutex(): Mutex |