Class EitherModels


  • public final class EitherModels
    extends java.lang.Object
    • Constructor Detail

      • EitherModels

        private EitherModels()
    • Method Detail

      • EitherModel

        public static EitherModel EitherModel​(javax.lang.model.element.TypeElement typeElement,
                                              javax.lang.model.element.ExecutableElement leftConstructor,
                                              javax.lang.model.element.ExecutableElement rightConstructor)
      • getTypeElement

        public static javax.lang.model.element.TypeElement getTypeElement​(EitherModel eitherModel)
      • getLeftConstructor

        public static javax.lang.model.element.ExecutableElement getLeftConstructor​(EitherModel eitherModel)
      • getRightConstructor

        public static javax.lang.model.element.ExecutableElement getRightConstructor​(EitherModel eitherModel)
      • setTypeElement

        public static java.util.function.Function<EitherModel,​EitherModel> setTypeElement​(javax.lang.model.element.TypeElement newTypeElement)
      • modTypeElement

        public static java.util.function.Function<EitherModel,​EitherModel> modTypeElement​(java.util.function.Function<javax.lang.model.element.TypeElement,​javax.lang.model.element.TypeElement> typeElementMod)
      • setLeftConstructor

        public static java.util.function.Function<EitherModel,​EitherModel> setLeftConstructor​(javax.lang.model.element.ExecutableElement newLeftConstructor)
      • modLeftConstructor

        public static java.util.function.Function<EitherModel,​EitherModel> modLeftConstructor​(java.util.function.Function<javax.lang.model.element.ExecutableElement,​javax.lang.model.element.ExecutableElement> leftConstructorMod)
      • setRightConstructor

        public static java.util.function.Function<EitherModel,​EitherModel> setRightConstructor​(javax.lang.model.element.ExecutableElement newRightConstructor)
      • modRightConstructor

        public static java.util.function.Function<EitherModel,​EitherModel> modRightConstructor​(java.util.function.Function<javax.lang.model.element.ExecutableElement,​javax.lang.model.element.ExecutableElement> rightConstructorMod)