android.databinding.tool.reflection
Class ModelField

java.lang.Object
  extended by android.databinding.tool.reflection.ModelField
Direct Known Subclasses:
InjectedBindingClassField

public abstract class ModelField
extends java.lang.Object


Constructor Summary
ModelField()
           
 
Method Summary
abstract  ModelClass getFieldType()
           
abstract  java.lang.String getName()
           
abstract  boolean isBindable()
           
abstract  boolean isFinal()
           
abstract  boolean isPublic()
           
abstract  boolean isStatic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelField

public ModelField()
Method Detail

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.