Package org.derive4j.processor.api.model
Class TypeConstructor
- java.lang.Object
-
- org.derive4j.processor.api.model.TypeConstructor
-
- Direct Known Subclasses:
TypeConstructors.Lazy,TypeConstructors.TypeConstructor_
@Data(@Derive(withVisibility=Smart)) public abstract class TypeConstructor extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTypeConstructor.Case<R>
-
Constructor Summary
Constructors Constructor Description TypeConstructor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description javax.lang.model.type.DeclaredTypedeclaredType()abstract <R> Rmatch(TypeConstructor.Case<R> typeConstructor)static TypeConstructortypeConstructor(javax.lang.model.element.TypeElement typeElement, javax.lang.model.type.DeclaredType declaredType, java.util.List<javax.lang.model.type.TypeVariable> typeVariables)javax.lang.model.element.TypeElementtypeElement()java.util.List<javax.lang.model.type.TypeVariable>typeVariables()
-
-
-
Method Detail
-
typeConstructor
public static TypeConstructor typeConstructor(javax.lang.model.element.TypeElement typeElement, javax.lang.model.type.DeclaredType declaredType, java.util.List<javax.lang.model.type.TypeVariable> typeVariables)
-
match
public abstract <R> R match(TypeConstructor.Case<R> typeConstructor)
-
typeElement
public javax.lang.model.element.TypeElement typeElement()
-
declaredType
public javax.lang.model.type.DeclaredType declaredType()
-
typeVariables
public java.util.List<javax.lang.model.type.TypeVariable> typeVariables()
-
-