Class BuilderInfo


  • public class BuilderInfo
    extends Object
    Holder for the builder information.
    Since:
    1.3
    Author:
    Filip Hrisafov
    • Method Detail

      • getBuilderCreationMethod

        public ExecutableElement getBuilderCreationMethod()
        The method that can be used for instantiating a builder. This can be:
        • A public static method in the type being build
        • A public static method in the builder itself
        • The default constructor of the builder
        Returns:
        the creation method for the builder
      • getBuildMethods

        public Collection<ExecutableElement> getBuildMethods()
        The methods that can be used to build the type being built. This should be public methods within the builder itself
        Returns:
        the build method for the type