- java.lang.Object
-
- dev.hilla.parser.models.BaseSignatureModel
-
- All Implemented Interfaces:
AnnotatedModel,Model,SignatureModel,SpecializedModel
public abstract class BaseSignatureModel extends Object implements SignatureModel
-
-
Constructor Summary
Constructors Constructor Description BaseSignatureModel()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<AnnotationInfoModel>getAnnotations()Class<BaseSignatureModel>getCommonModelClass()abstract Class<?>getType()inthashCode()booleanisBase()static BaseSignatureModelof(io.github.classgraph.BaseTypeSignature origin)static BaseSignatureModelof(Class<?> origin)static BaseSignatureModelof(AnnotatedType origin)protected abstract List<AnnotationInfoModel>prepareAnnotations()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.SpecializedModel
hasFloatType, hasIntegerType, isArray, isBigDecimal, isBigInteger, isBoolean, isByte, isCharacter, isClassRef, isDate, isDateTime, isDouble, isEnum, isFloat, isInteger, isIterable, isJDKClass, isLong, isMap, isNativeObject, isNonJDKClass, isOptional, isPrimitive, isShort, isString, isTypeArgument, isTypeParameter, isTypeVariable, isVoid
-
-
-
-
Method Detail
-
of
public static BaseSignatureModel of(@Nonnull io.github.classgraph.BaseTypeSignature origin)
-
of
public static BaseSignatureModel of(@Nonnull AnnotatedType origin)
-
of
public static BaseSignatureModel of(@Nonnull Class<?> origin)
-
getCommonModelClass
public Class<BaseSignatureModel> getCommonModelClass()
- Specified by:
getCommonModelClassin interfaceModel
-
getType
public abstract Class<?> getType()
-
isBase
public boolean isBase()
- Specified by:
isBasein interfaceSpecializedModel
-
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()
-
-