Class ModelField

  • Direct Known Subclasses:
    InjectedField

    public abstract class ModelField
    extends java.lang.Object
    • Constructor Detail

      • ModelField

        public ModelField()
    • Method Detail

      • isBindable

        public final 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 android.databinding.tool.reflection.ModelClass getFieldType()
        Returns:
        The declared type of the field variable.
      • getBindableAnnotation

        public android.databinding.tool.BindableCompat getBindableAnnotation()
        Returns:
        the Bindable annotation on the field or null if there isn't one.