Class BuilderInfo.Builder

  • Enclosing class:
    BuilderInfo

    public static class BuilderInfo.Builder
    extends java.lang.Object
    • Field Detail

      • builderCreationMethod

        private javax.lang.model.element.ExecutableElement builderCreationMethod
      • buildMethods

        private java.util.Collection<javax.lang.model.element.ExecutableElement> buildMethods
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • buildMethod

        public BuilderInfo.Builder buildMethod​(java.util.Collection<javax.lang.model.element.ExecutableElement> methods)
        Parameters:
        methods - the build methods for the type
        Returns:
        the builder for chaining
        See Also:
        BuilderInfo.getBuildMethods()
      • build

        public BuilderInfo build()
        Create the BuilderInfo.
        Returns:
        the created BuilderInfo
        Throws:
        java.lang.IllegalArgumentException - if the builder creation or build methods are null