- java.lang.Object
-
- dev.hilla.parser.models.TypeArgumentModel
-
- All Implemented Interfaces:
AnnotatedModel,Model,SignatureModel,SpecializedModel
public abstract class TypeArgumentModel extends Object implements SignatureModel
-
-
Constructor Summary
Constructors Constructor Description TypeArgumentModel()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface dev.hilla.parser.models.AnnotatedModel
getAnnotations, getAnnotationsStream
-
Methods inherited from interface dev.hilla.parser.models.Model
get, isReflection, isSource
-
Methods inherited from interface dev.hilla.parser.models.SpecializedModel
hasFloatType, hasIntegerType, isArray, isBase, isBigDecimal, isBigInteger, isBoolean, isByte, isCharacter, isClassRef, isDate, isDateTime, isDouble, isEnum, isFloat, isInteger, isIterable, isJDKClass, isLong, isMap, isNativeObject, isNonJDKClass, isOptional, isPrimitive, isShort, isString, isTypeParameter, isTypeVariable, isVoid
-
-
-
-
Method Detail
-
of
public static TypeArgumentModel of(@Nonnull io.github.classgraph.TypeArgument origin)
-
of
public static TypeArgumentModel of(@Nonnull AnnotatedType origin)
-
getAssociatedTypes
public List<SignatureModel> getAssociatedTypes()
-
getAssociatedTypesStream
public Stream<SignatureModel> getAssociatedTypesStream()
-
getCommonModelClass
public Class<TypeArgumentModel> getCommonModelClass()
- Specified by:
getCommonModelClassin interfaceModel
-
getWildcard
public abstract io.github.classgraph.TypeArgument.Wildcard getWildcard()
-
isTypeArgument
public boolean isTypeArgument()
- Specified by:
isTypeArgumentin interfaceSpecializedModel
-
prepareAssociatedTypes
protected abstract List<SignatureModel> prepareAssociatedTypes()
-
processAnnotations
protected static List<AnnotationInfoModel> processAnnotations(@Nonnull Annotation[] annotations)
-
processAnnotations
protected static List<AnnotationInfoModel> processAnnotations(List<io.github.classgraph.AnnotationInfo> annotations)
-
processAnnotations
protected static List<AnnotationInfoModel> processAnnotations(Stream<io.github.classgraph.AnnotationInfo> annotations)
-
getAnnotations
public List<AnnotationInfoModel> getAnnotations()
- Specified by:
getAnnotationsin interfaceAnnotatedModel
-
prepareAnnotations
protected abstract List<AnnotationInfoModel> prepareAnnotations()
-
-