Class ShapeGenerator

  • All Implemented Interfaces:
    java.util.function.Consumer<GenerateTraitDirective>

    public final class ShapeGenerator
    extends java.lang.Object
    implements java.util.function.Consumer<GenerateTraitDirective>
    Base class used for the generation of traits and nested shapes from a GenerateTraitDirective.

    This class will determine if a shape is a trait (i.e. has the TraitDefinition trait) or if the shape provided should be treated as a nested shape (i.e. defines a simple pojo).

    • Constructor Summary

      Constructors 
      Constructor Description
      ShapeGenerator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(GenerateTraitDirective directive)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen