All Known Implementing Classes:
DefaultTypeAndBody

public interface TypeAndBody
Represents the generated source as a model object.
  • Method Summary

    Modifier and Type
    Method
    Description
    The body for the source to be generated.
    The type name for the source to be generated.
  • Method Details

    • typeName

      TypeName typeName()
      The type name for the source to be generated.
      Returns:
      The type name for the source to be generated
    • body

      String body()
      The body for the source to be generated.
      Returns:
      The body for the source to be generated