Uses of Class
org.derive4j.processor.api.DeriveResult
-
Packages that use DeriveResult Package Description org.derive4j.processor org.derive4j.processor.api -
-
Uses of DeriveResult in org.derive4j.processor
Methods in org.derive4j.processor that return DeriveResult Modifier and Type Method Description DeriveResult<DerivedCodeSpec>CataDerivator. derive(AlgebraicDataType adt)DeriveResult<DerivedCodeSpec>ExportDerivator. derive(AlgebraicDataType adt)DeriveResult<DerivedCodeSpec>FactoryDerivator. derive(AlgebraicDataType adtModel)DeriveResult<DerivedCodeSpec>GettersDerivator. derive(AlgebraicDataType adt)DeriveResult<DerivedCodeSpec>LazyConstructorDerivator. derive(AlgebraicDataType adt)DeriveResult<DerivedCodeSpec>MapperDerivator. derive(AlgebraicDataType adt)DeriveResult<DerivedCodeSpec>ModifiersDerivator. derive(AlgebraicDataType adt)DeriveResult<DerivedCodeSpec>PatternMatchingDerivator. derive(AlgebraicDataType adt)DeriveResult<DerivedCodeSpec>StrictConstructorDerivator. derive(AlgebraicDataType adt)private DeriveResult<DerivedCodeSpec>CataDerivator. functionDispatchImpl(AlgebraicDataType adt, java.util.List<DataConstructor> constructors)DeriveResult<DerivedCodeSpec>DeriveUtilsImpl. generateInstance(AlgebraicDataType adt, com.squareup.javapoet.ClassName typeClass, java.util.List<javax.lang.model.element.TypeElement> lowPriorityProviders, java.util.function.Function<InstanceUtils,DerivedCodeSpec> generateInstance)DeriveResult<BoundExpression>DeriveUtilsImpl. instanceInitializer(javax.lang.model.element.TypeElement typeElementContext, com.squareup.javapoet.ClassName typeClassContext, com.squareup.javapoet.ClassName typeClass, javax.lang.model.type.TypeMirror type, java.util.List<javax.lang.model.element.TypeElement> lowPriorityProviders)(package private) DeriveResult<AlgebraicDataType>AdtParser. parseAlgebraicDataType(javax.lang.model.element.TypeElement adtTypeElement, DeriveConfig deriveConfig)private DeriveResult<DataConstruction>AdtParser. parseDataConstruction(javax.lang.model.type.DeclaredType adtDeclaredType, java.util.List<javax.lang.model.type.TypeVariable> adtTypeVariables, javax.lang.model.element.ExecutableElement adtAcceptMethod, javax.lang.model.type.TypeVariable adtAcceptMethodReturnType)private DeriveResult<DataConstruction>AdtParser. parseDataConstructionMultipleAgs(javax.lang.model.type.DeclaredType adtDeclaredType, java.util.List<javax.lang.model.type.TypeVariable> adtTypeVariables, java.util.List<P2<javax.lang.model.element.VariableElement,javax.lang.model.type.DeclaredType>> caseHandlers)private DeriveResult<DataConstruction>AdtParser. parseDataConstructionOneArg(javax.lang.model.type.DeclaredType adtDeclaredType, java.util.List<javax.lang.model.type.TypeVariable> adtTypeVariables, javax.lang.model.element.VariableElement visitorArg, javax.lang.model.type.DeclaredType visitorType)private DeriveResult<DataConstructor>AdtParser. parseDataConstructor(javax.lang.model.type.DeclaredType adtDeclaredType, java.util.List<javax.lang.model.type.TypeVariable> adtTypeParameters, DataDeconstructor deconstructor, int index)DeriveResult<FieldsTypeClassInstanceBindingMap>DeriveUtilsImpl. resolveFieldInstances(AlgebraicDataType adt, com.squareup.javapoet.ClassName typeClass, java.util.List<javax.lang.model.element.TypeElement> lowPriorityProviders)(package private) static <A,B>
DeriveResult<java.util.List<B>>Utils. traverseResults(java.util.Collection<A> as, java.util.function.Function<A,DeriveResult<B>> f)(package private) static <A> DeriveResult<java.util.List<A>>Utils. traverseResults(java.util.List<DeriveResult<A>> as)private DeriveResult<java.util.List<DataArgument>>AdtParser. validateFieldTypeUniformity(DataConstruction construction)private DeriveResult<DerivedCodeSpec>CataDerivator. visitorDispatchImpl(AlgebraicDataType adt, javax.lang.model.type.DeclaredType visitorType, java.util.List<DataConstructor> constructors)Method parameters in org.derive4j.processor with type arguments of type DeriveResult Modifier and Type Method Description (package private) static <A,B>
DeriveResult<java.util.List<B>>Utils. traverseResults(java.util.Collection<A> as, java.util.function.Function<A,DeriveResult<B>> f)(package private) static <A> DeriveResult<java.util.List<A>>Utils. traverseResults(java.util.List<DeriveResult<A>> as) -
Uses of DeriveResult in org.derive4j.processor.api
Subclasses of DeriveResult in org.derive4j.processor.api Modifier and Type Class Description private static classDeriveResults.Error<A>private static classDeriveResults.Lazy<A>private static classDeriveResults.Result<A>Fields in org.derive4j.processor.api declared as DeriveResult Modifier and Type Field Description private DeriveResult<A>DeriveResults.CaseOfMatchers.PartialMatcher. _deriveResultprivate DeriveResult<A>DeriveResults.CaseOfMatchers.TotalMatcher_Error. _deriveResultprivate DeriveResult<A>DeriveResults.Lazy. evaluationFields in org.derive4j.processor.api with type parameters of type DeriveResult Modifier and Type Field Description private java.util.function.Supplier<DeriveResult<A>>DeriveResults.Lazy. expressionMethods in org.derive4j.processor.api that return DeriveResult Modifier and Type Method Description private DeriveResult<A>DeriveResults.Lazy. _evaluate()<B> DeriveResult<B>DeriveResult. bind(java.util.function.Function<A,DeriveResult<B>> f)DeriveResult<DerivedCodeSpec>Derivator. derive(AlgebraicDataType adtModel)static <A> DeriveResult<A>DeriveResult. error(DeriveMessage errorMsg)static <A> DeriveResult<A>DeriveResults. error(DeriveMessage error)DeriveResult<com.squareup.javapoet.TypeSpec>Extension. extend(AlgebraicDataType adtModel, com.squareup.javapoet.TypeSpec codeGenSpec)DeriveResult<DerivedCodeSpec>DeriveUtils. generateInstance(AlgebraicDataType adt, com.squareup.javapoet.ClassName typeClass, java.util.List<javax.lang.model.element.TypeElement> lowPriorityProviders, java.util.function.Function<InstanceUtils,DerivedCodeSpec> generateInstance)DeriveResult<BoundExpression>DeriveUtils. instanceInitializer(javax.lang.model.element.TypeElement typeElementContext, com.squareup.javapoet.ClassName typeClassContext, com.squareup.javapoet.ClassName typeClass, javax.lang.model.type.TypeMirror type, java.util.List<javax.lang.model.element.TypeElement> lowPriorityProviders)static <A> DeriveResult<A>DeriveResults. lazy(java.util.function.Supplier<DeriveResult<A>> deriveResult)<B> DeriveResult<B>DeriveResult. map(java.util.function.Function<A,B> f)DeriveResult<FieldsTypeClassInstanceBindingMap>DeriveUtils. resolveFieldInstances(AlgebraicDataType adt, com.squareup.javapoet.ClassName typeClass, java.util.List<javax.lang.model.element.TypeElement> lowPriorityProviders)static <A> DeriveResult<A>DeriveResult. result(A result)static <A> DeriveResult<A>DeriveResults. result(A result)Methods in org.derive4j.processor.api that return types with arguments of type DeriveResult Modifier and Type Method Description static <A> java.util.function.Function<DeriveResult<A>,DeriveResult<A>>DeriveResults. modError(java.util.function.Function<DeriveMessage,DeriveMessage> errorMod)static <A> java.util.function.Function<DeriveResult<A>,DeriveResult<A>>DeriveResults. modError(java.util.function.Function<DeriveMessage,DeriveMessage> errorMod)static <A,RA>
java.util.function.Function<DeriveResult<A>,DeriveResult<RA>>DeriveResults. modResult(java.util.function.Function<A,RA> resultMod)static <A,RA>
java.util.function.Function<DeriveResult<A>,DeriveResult<RA>>DeriveResults. modResult(java.util.function.Function<A,RA> resultMod)java.util.function.Function<DeriveResult<A>,R>DeriveResults.CasesMatchers.PartialMatcher. otherwise(java.util.function.Supplier<R> otherwise)java.util.function.Function<DeriveResult<A>,R>DeriveResults.CasesMatchers.PartialMatcher. otherwise_(R r)java.util.function.Function<DeriveResult<A>,java.util.Optional<R>>DeriveResults.CasesMatchers.PartialMatcher. otherwiseEmpty()java.util.function.Function<DeriveResult<A>,R>DeriveResults.CasesMatchers.TotalMatcher_Result. result(java.util.function.Function<A,R> result)java.util.function.Function<DeriveResult<A>,R>DeriveResults.CasesMatchers.TotalMatcher_Result. result_(R r)static <A> java.util.function.Function<DeriveResult<A>,DeriveResult<A>>DeriveResults. setError(DeriveMessage newError)static <A> java.util.function.Function<DeriveResult<A>,DeriveResult<A>>DeriveResults. setError(DeriveMessage newError)static <A,RA>
java.util.function.Function<DeriveResult<A>,DeriveResult<RA>>DeriveResults. setResult(RA newResult)static <A,RA>
java.util.function.Function<DeriveResult<A>,DeriveResult<RA>>DeriveResults. setResult(RA newResult)Methods in org.derive4j.processor.api with parameters of type DeriveResult Modifier and Type Method Description static <A> DeriveResults.CaseOfMatchers.TotalMatcher_Error<A>DeriveResults. caseOf(DeriveResult<A> deriveResult)static <A> java.util.Optional<DeriveMessage>DeriveResults. getError(DeriveResult<A> deriveResult)static <A> java.util.Optional<A>DeriveResults. getResult(DeriveResult<A> deriveResult)Method parameters in org.derive4j.processor.api with type arguments of type DeriveResult Modifier and Type Method Description <B> DeriveResult<B>DeriveResult. bind(java.util.function.Function<A,DeriveResult<B>> f)static <A> DeriveResult<A>DeriveResults. lazy(java.util.function.Supplier<DeriveResult<A>> deriveResult)Constructors in org.derive4j.processor.api with parameters of type DeriveResult Constructor Description PartialMatcher(DeriveResult<A> _deriveResult, java.util.function.Function<DeriveMessage,R> error, java.util.function.Function<A,R> result)TotalMatcher_Error(DeriveResult<A> _deriveResult)TotalMatcher_Result(DeriveResult<A> _deriveResult, java.util.function.Function<DeriveMessage,R> error)Constructor parameters in org.derive4j.processor.api with type arguments of type DeriveResult Constructor Description Lazy(java.util.function.Supplier<DeriveResult<A>> deriveResult)
-