Package org.derive4j.processor.api.model
Class TypeRestrictions.TypeRestriction_
- java.lang.Object
-
- org.derive4j.processor.api.model.TypeRestriction
-
- org.derive4j.processor.api.model.TypeRestrictions.TypeRestriction_
-
- Enclosing class:
- TypeRestrictions
private static final class TypeRestrictions.TypeRestriction_ extends TypeRestriction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.derive4j.processor.api.model.TypeRestriction
TypeRestriction.Case<R>
-
-
Field Summary
Fields Modifier and Type Field Description private javax.lang.model.type.TypeMirror
refinementType
private javax.lang.model.type.TypeVariable
restrictedTypeVariable
private DataArgument
typeEq
-
Constructor Summary
Constructors Constructor Description TypeRestriction_(javax.lang.model.type.TypeVariable restrictedTypeVariable, javax.lang.model.type.TypeMirror refinementType, DataArgument typeEq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
match(TypeRestriction.Case<R> typeRestriction)
-
Methods inherited from class org.derive4j.processor.api.model.TypeRestriction
refinementType, restrictedTypeVariable, typeEq, typeRestriction
-
-
-
-
Field Detail
-
restrictedTypeVariable
private final javax.lang.model.type.TypeVariable restrictedTypeVariable
-
refinementType
private final javax.lang.model.type.TypeMirror refinementType
-
typeEq
private final DataArgument typeEq
-
-
Constructor Detail
-
TypeRestriction_
TypeRestriction_(javax.lang.model.type.TypeVariable restrictedTypeVariable, javax.lang.model.type.TypeMirror refinementType, DataArgument typeEq)
-
-
Method Detail
-
match
public <R> R match(TypeRestriction.Case<R> typeRestriction)
- Specified by:
match
in classTypeRestriction
-
-