Package org.derive4j.processor.api.model
Class TypeRestriction
- java.lang.Object
-
- org.derive4j.processor.api.model.TypeRestriction
-
- Direct Known Subclasses:
TypeRestrictions.Lazy
,TypeRestrictions.TypeRestriction_
@Data public abstract class TypeRestriction extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TypeRestriction.Case<R>
-
Constructor Summary
Constructors Constructor Description TypeRestriction()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract <R> R
match(TypeRestriction.Case<R> typeRestriction)
javax.lang.model.type.TypeMirror
refinementType()
javax.lang.model.type.TypeVariable
restrictedTypeVariable()
DataArgument
typeEq()
static TypeRestriction
typeRestriction(javax.lang.model.type.TypeVariable restrictedTypeVariable, javax.lang.model.type.TypeMirror type, DataArgument typeEq)
-
-
-
Method Detail
-
typeRestriction
public static TypeRestriction typeRestriction(javax.lang.model.type.TypeVariable restrictedTypeVariable, javax.lang.model.type.TypeMirror type, DataArgument typeEq)
-
restrictedTypeVariable
public javax.lang.model.type.TypeVariable restrictedTypeVariable()
-
refinementType
public javax.lang.model.type.TypeMirror refinementType()
-
typeEq
public DataArgument typeEq()
-
match
public abstract <R> R match(TypeRestriction.Case<R> typeRestriction)
-
-