- java.lang.Object
-
- dev.hilla.parser.models.PackageInfoModel
-
- All Implemented Interfaces:
AnnotatedModel,Model,NamedModel
public abstract class PackageInfoModel extends Object implements Model, NamedModel
-
-
Constructor Summary
Constructors Constructor Description PackageInfoModel()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<AnnotationInfoModel>getAnnotations()Class<PackageInfoModel>getCommonModelClass()inthashCode()static PackageInfoModelof(io.github.classgraph.PackageInfo origin)static PackageInfoModelof(Package 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)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface dev.hilla.parser.models.AnnotatedModel
getAnnotationsStream
-
Methods inherited from interface dev.hilla.parser.models.Model
get, isReflection, isSource
-
Methods inherited from interface dev.hilla.parser.models.NamedModel
getName
-
-
-
-
Method Detail
-
of
public static PackageInfoModel of(Package origin)
-
of
public static PackageInfoModel of(io.github.classgraph.PackageInfo origin)
-
getCommonModelClass
public Class<PackageInfoModel> getCommonModelClass()
- Specified by:
getCommonModelClassin interfaceModel
-
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()
-
-