Class DefaultTypeAndBody

java.lang.Object
io.helidon.builder.processor.spi.DefaultTypeAndBody
All Implemented Interfaces:
TypeAndBody

public class DefaultTypeAndBody extends Object implements TypeAndBody
The default implementation of TypeAndBody.
  • Constructor Details

  • Method Details

    • typeName

      public TypeName typeName()
      Description copied from interface: TypeAndBody
      The type name for the source to be generated.
      Specified by:
      typeName in interface TypeAndBody
      Returns:
      The type name for the source to be generated
    • body

      public String body()
      Description copied from interface: TypeAndBody
      The body for the source to be generated.
      Specified by:
      body in interface TypeAndBody
      Returns:
      The body for the source to be generated
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringInner

      protected String toStringInner()
      Returns the inner portion of the toString().
      Returns:
      the inner part of the toString() output
    • builder

      public static DefaultTypeAndBody.Builder builder()
      Creates a new builder for this type.
      Returns:
      the fluent builder