Class MoreThanOneBuilderCreationMethodException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MoreThanOneBuilderCreationMethodException
    extends java.lang.RuntimeException
    Indicates that a type has too many builder creation methods. This exception can be used to signal the MapStruct processor that more than one builder creation method was found.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<BuilderInfo> getBuilderInfo()  
      javax.lang.model.type.TypeMirror getType()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • type

        private final javax.lang.model.type.TypeMirror type
      • builderCreationMethods

        private final java.util.List<BuilderInfo> builderCreationMethods
    • Constructor Detail

      • MoreThanOneBuilderCreationMethodException

        public MoreThanOneBuilderCreationMethodException​(javax.lang.model.type.TypeMirror type,
                                                         java.util.List<BuilderInfo> builderCreationMethods)
    • Method Detail

      • getType

        public javax.lang.model.type.TypeMirror getType()
      • getBuilderInfo

        public java.util.List<BuilderInfo> getBuilderInfo()