Package org.derive4j.processor.api
Class InstanceLocations.LambdaCases<X>
java.lang.Object
org.derive4j.processor.api.InstanceLocations.LambdaCases<X>
- All Implemented Interfaces:
InstanceLocation.Cases<X>
- Enclosing class:
InstanceLocations
private static final class InstanceLocations.LambdaCases<X>
extends Object
implements InstanceLocation.Cases<X>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InstanceLocations.MethodMapper
<X> private final InstanceLocations.ValueMapper
<X> -
Constructor Summary
ConstructorsConstructorDescriptionLambdaCases
(InstanceLocations.ValueMapper<X> value, Function<com.squareup.javapoet.ClassName, X> generatedIn, InstanceLocations.MethodMapper<X> method) -
Method Summary
Modifier and TypeMethodDescriptiongeneratedIn
(com.squareup.javapoet.ClassName className) method
(com.squareup.javapoet.ClassName className, ExecutableElement executableElement, Map<TypeVariable, TypeMirror> typeArgs) value
(com.squareup.javapoet.ClassName className, VariableElement variableElement)
-
Field Details
-
value
-
generatedIn
-
method
-
-
Constructor Details
-
LambdaCases
LambdaCases(InstanceLocations.ValueMapper<X> value, Function<com.squareup.javapoet.ClassName, X> generatedIn, InstanceLocations.MethodMapper<X> method)
-
-
Method Details
-
value
- Specified by:
value
in interfaceInstanceLocation.Cases<X>
-
generatedIn
- Specified by:
generatedIn
in interfaceInstanceLocation.Cases<X>
-
method
public X method(com.squareup.javapoet.ClassName className, ExecutableElement executableElement, Map<TypeVariable, TypeMirror> typeArgs) - Specified by:
method
in interfaceInstanceLocation.Cases<X>
-