Class TypedVisitor<V>

java.lang.Object
io.sundr.builder.TypedVisitor<V>
All Implemented Interfaces:
Visitor<V>

public abstract class TypedVisitor<V> extends Object implements Visitor<V>
  • Constructor Details

    • TypedVisitor

      public TypedVisitor()
  • Method Details

    • getType

      public Class<V> getType()
      Description copied from interface: Visitor
      Gets the type of objects this visitor can handle. Uses reflection to determine the generic type parameter.
      Specified by:
      getType in interface Visitor<V>
      Returns:
      the class of objects this visitor handles, or null if not determinable