abstract class AttributeInfo : Comparable<AttributeInfo>
class DefaultValue |
AttributeInfo() |
val codeToSetDefault: AttributeInfo.DefaultValue
If .isGenerated is true, a default value for the field can be set here. |
|
var doNotUseInToString: Boolean |
|
lateinit var fieldName: String |
|
var generateGetter: Boolean |
|
var generateSetter: Boolean |
|
var getterAnnotations: MutableList<AnnotationSpec> |
|
var getterMethodName: String? |
|
var groupKey: String?
If this attribute is in an attribute group this is the name of the group. |
|
var hasFinalModifier: Boolean |
|
var hasSuperSetter: Boolean
Track whether there is a setter method for this attribute on a super class so that we can call through to super. |
|
var ignoreRequireHashCode: Boolean |
|
val isBoolean: Boolean |
|
val isCharSequenceOrString: Boolean |
|
val isDouble: Boolean |
|
val isDrawableRes: Boolean |
|
val isEpoxyModelList: Boolean |
|
var isGenerated: Boolean
True if this attribute is completely generated as a field on the generated model. False if it exists as a user defined attribute in a model super class. |
|
val isInt: Boolean |
|
val isLong: Boolean |
|
var isNullable: Boolean?
If isGenerated is true, this represents whether null is a valid value to set on the attribute. If this is true, then the codeToSetDefault should be null unless a different default value is explicitly set. |
|
var isPackagePrivate: Boolean |
|
val isPrimitive: Boolean |
|
var isPrivate: Boolean |
|
val isRawRes: Boolean |
|
open val isRequired: Boolean |
|
val isStringAttributeData: Boolean |
|
val isStringList: Boolean |
|
val isViewCheckedChangeListener: Boolean |
|
val isViewClickListener: Boolean |
|
val isViewLongClickListener: Boolean |
|
var javaDoc: CodeBlock? |
|
var packageName: String? |
|
lateinit var rootClass: String |
|
var setterAnnotations: MutableList<AnnotationSpec> |
|
var setterMethodName: String? |
|
lateinit var type: Type |
|
lateinit var typeMirror: TypeMirror |
|
val typeName: TypeName |
|
var useInHash: Boolean |
open fun compareTo(other: AttributeInfo): Int |
|
open fun equals(other: Any?): Boolean |
|
open fun generatedGetterName(isOverload: Boolean): String |
|
open fun generatedSetterName(): String |
|
fun getterCode(): String |
|
open fun hashCode(): Int |
|
fun hasSetNullability(): Boolean |
|
fun isNullable(): Boolean |
|
fun setJavaDocString(docComment: String?): Unit |
|
fun setterCode(): String |
|
fun setTypeMirror(typeMirror: TypeMirror, memoizer: Memoizer): Unit |
|
fun superGetterCode(): String |
|
open fun toString(): String |
fun Any.mutex(): Mutex |
class ParisStyleAttributeInfo : AttributeInfo
Represents a Paris Style option for a model. This is added automatically for models generated with ModelView that also have Paris's Stylable annotation. |
|
class ViewAttributeInfo : AttributeInfo |