Class ClassInspector


  • public class ClassInspector
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassInspector​(java.lang.Class aClass)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.reflect.Field getFieldByGetter​(java.lang.reflect.Method getter)  
      java.util.Collection<java.lang.reflect.Method> getGetters()  
      boolean isGetter​(java.lang.reflect.Method method)  
      boolean isReference​(java.lang.reflect.Field field)  
      boolean isReference​(java.lang.reflect.Method method)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassInspector

        public ClassInspector​(java.lang.Class aClass)
    • Method Detail

      • getGetters

        public java.util.Collection<java.lang.reflect.Method> getGetters()
      • isGetter

        public boolean isGetter​(java.lang.reflect.Method method)
      • isReference

        public boolean isReference​(java.lang.reflect.Method method)
      • isReference

        public boolean isReference​(java.lang.reflect.Field field)
      • getFieldByGetter

        public java.lang.reflect.Field getFieldByGetter​(java.lang.reflect.Method getter)
                                                 throws java.lang.NoSuchFieldException
        Throws:
        java.lang.NoSuchFieldException