android.databinding.tool.reflection
Class ModelField
java.lang.Object
android.databinding.tool.reflection.ModelField
- Direct Known Subclasses:
- InjectedBindingClassField
public abstract class ModelField
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelField
public ModelField()
isBindable
public abstract boolean isBindable()
- Returns:
- Whether this field has been annotated with Bindable.
getName
public abstract java.lang.String getName()
- Returns:
- The field name.
isPublic
public abstract boolean isPublic()
- Returns:
- true if this field is marked public.
isStatic
public abstract boolean isStatic()
- Returns:
- true if this is a static field.
isFinal
public abstract boolean isFinal()
- Returns:
- true if the field was declared final.
getFieldType
public abstract ModelClass getFieldType()
- Returns:
- The declared type of the field variable.