- java.lang.Object
-
- dev.hilla.parser.models.TypeParameterModel
-
- All Implemented Interfaces:
AnnotatedModel,Model,NamedModel,SignatureModel,SpecializedModel
public abstract class TypeParameterModel extends Object implements SignatureModel, NamedModel
-
-
Constructor Summary
Constructors Constructor Description TypeParameterModel()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<AnnotationInfoModel>getAnnotations()List<SignatureModel>getBounds()Stream<SignatureModel>getBoundsStream()Class<TypeParameterModel>getCommonModelClass()inthashCode()booleanisTypeParameter()static TypeParameterModelof(io.github.classgraph.TypeParameter origin)static TypeParameterModelof(TypeVariable<?> origin)protected abstract List<AnnotationInfoModel>prepareAnnotations()protected abstract List<SignatureModel>prepareBounds()protected static List<AnnotationInfoModel>processAnnotations(Annotation[] annotations)protected static List<AnnotationInfoModel>processAnnotations(List<io.github.classgraph.AnnotationInfo> annotations)protected static List<AnnotationInfoModel>processAnnotations(Stream<io.github.classgraph.AnnotationInfo> annotations)StringtoString()-
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.NamedModel
getName
-
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, isTypeArgument, isTypeVariable, isVoid
-
-
-
-
Method Detail
-
of
public static TypeParameterModel of(@Nonnull io.github.classgraph.TypeParameter origin)
-
of
public static TypeParameterModel of(@Nonnull TypeVariable<?> origin)
-
getBounds
public List<SignatureModel> getBounds()
-
getBoundsStream
public Stream<SignatureModel> getBoundsStream()
-
getCommonModelClass
public Class<TypeParameterModel> getCommonModelClass()
- Specified by:
getCommonModelClassin interfaceModel
-
isTypeParameter
public boolean isTypeParameter()
- Specified by:
isTypeParameterin interfaceSpecializedModel
-
prepareBounds
protected abstract List<SignatureModel> prepareBounds()
-
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()
-
-