- java.lang.Object
-
- dev.hilla.parser.models.FieldInfoModel
-
- All Implemented Interfaces:
AnnotatedModel,Model,NamedModel,OwnedModel<ClassInfoModel>
public abstract class FieldInfoModel extends Object implements Model, NamedModel, OwnedModel<ClassInfoModel>
-
-
Constructor Summary
Constructors Constructor Description FieldInfoModel()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<AnnotationInfoModel>getAnnotations()abstract StringgetClassName()Class<FieldInfoModel>getCommonModelClass()ClassInfoModelgetOwner()SignatureModelgetType()inthashCode()abstract booleanisEnum()abstract booleanisFinal()abstract booleanisPrivate()abstract booleanisProtected()abstract booleanisPublic()abstract booleanisStatic()abstract booleanisSynthetic()abstract booleanisTransient()static FieldInfoModelof(io.github.classgraph.FieldInfo origin)static FieldInfoModelof(Field origin)protected abstract List<AnnotationInfoModel>prepareAnnotations()protected abstract ClassInfoModelprepareOwner()protected abstract SignatureModelprepareType()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 FieldInfoModel of(@Nonnull io.github.classgraph.FieldInfo origin)
-
of
public static FieldInfoModel of(@Nonnull Field origin)
-
getClassName
public abstract String getClassName()
-
getCommonModelClass
public Class<FieldInfoModel> getCommonModelClass()
- Specified by:
getCommonModelClassin interfaceModel
-
getOwner
public ClassInfoModel getOwner()
- Specified by:
getOwnerin interfaceOwnedModel<ClassInfoModel>
-
getType
public SignatureModel getType()
-
isEnum
public abstract boolean isEnum()
-
isFinal
public abstract boolean isFinal()
-
isPrivate
public abstract boolean isPrivate()
-
isProtected
public abstract boolean isProtected()
-
isPublic
public abstract boolean isPublic()
-
isStatic
public abstract boolean isStatic()
-
isSynthetic
public abstract boolean isSynthetic()
-
isTransient
public abstract boolean isTransient()
-
prepareOwner
protected abstract ClassInfoModel prepareOwner()
-
prepareType
protected abstract SignatureModel prepareType()
-
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()
-
-