com.hammurapi.common

## Class ClassHierarchyVisitable

- java.lang.Object
- - com.hammurapi.common.ClassHierarchyVisitable

- All Implemented Interfaces:
    Visitable<Class<?>>

      public class ClassHierarchyVisitable
      extends Object
      implements Visitable<Class<?>>

  Visits class hierarchy in the order: class, implemented interfaces, superclass, superclass implemented interfaces, ... java.lang.Object is always visited last.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassHierarchyVisitable(Class<?> clazz)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `accept(Visitor<Class<?>> visitor)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ClassHierarchyVisitable

          public ClassHierarchyVisitable(Class<?> clazz)

  - ### Method Detail

    - #### accept

          public boolean accept(Visitor<Class<?>> visitor)

      Specified by:
        `accept` in interface `Visitable<Class<?>>`
      Returns:
        visitor.vistit()