Class ObjectFieldMethod


  • public class ObjectFieldMethod
    extends java.lang.Object
    A simple tuple of an object, a field on that object's class, and a method of that object's class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.google.common.base.Function<ObjectFieldMethod,​java.lang.String> TO_FIELD_NAME
      A function that returns the field's name.
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectFieldMethod​(java.lang.Object object, java.lang.reflect.Field field, java.lang.reflect.Method method)
      Constructs a tuple of an object, a field on that object, and a method on that object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.reflect.Field getField()  
      java.lang.reflect.Method getMethod()  
      java.lang.Object getObject()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • TO_FIELD_NAME

        public static final com.google.common.base.Function<ObjectFieldMethod,​java.lang.String> TO_FIELD_NAME
        A function that returns the field's name.
    • Constructor Detail

      • ObjectFieldMethod

        public ObjectFieldMethod​(java.lang.Object object,
                                 java.lang.reflect.Field field,
                                 java.lang.reflect.Method method)
        Constructs a tuple of an object, a field on that object, and a method on that object.
    • Method Detail

      • getObject

        public java.lang.Object getObject()
      • getField

        public java.lang.reflect.Field getField()
      • getMethod

        public java.lang.reflect.Method getMethod()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object