Interface ClassVisitor

    • Method Detail

      • visit

        void visit​(Class<?> c,
                   ReflectionManager reflectionManager)
        Perform action on member class.

        The ReflectionManager is needed to allow visitors to initiate recursive visits if needed.

        Parameters:
        c - the member class
        reflectionManager - the ReflectionManager that called this visitor
      • visit

        void visit​(Constructor<?> c)
        Perform action on a constructor.
        Parameters:
        c - the constructor
      • visit

        void visit​(Method m)
        Perform an action on a method.
        Parameters:
        m - the method
      • visit

        void visit​(Field f)
        Perform an action on a field.
        Parameters:
        f - the field
      • visit

        void visit​(Enum<?> e)
        Perform an action on an enum value.
        Parameters:
        e - the enum value
      • visitBefore

        void visitBefore​(Class<?> c)
        Perform an action on a class. Occurs before other visit methods are called.
        Parameters:
        c - the class to visit
      • visitAfter

        void visitAfter​(Class<?> c)
        Perform an action on a class. Called after other visit methods are called.
        Parameters:
        c - the class to visit