- java.lang.Object
-
- dev.hilla.parser.models.AnnotationParameterModel
-
- All Implemented Interfaces:
Model,NamedModel
public abstract class AnnotationParameterModel extends Object implements Model, NamedModel
-
-
Constructor Summary
Constructors Constructor Description AnnotationParameterModel()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Class<AnnotationParameterModel>getCommonModelClass()ObjectgetValue()inthashCode()static AnnotationParameterModelof(io.github.classgraph.AnnotationParameterValue origin)static AnnotationParameterModelof(String name, Object value)static <T> AnnotationParameterModelof(Map.Entry<String,T> origin)protected abstract ObjectprepareValue()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
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 AnnotationParameterModel of(@Nonnull String name, @Nonnull Object value)
-
of
public static <T> AnnotationParameterModel of(@Nonnull Map.Entry<String,T> origin)
-
of
public static AnnotationParameterModel of(@Nonnull io.github.classgraph.AnnotationParameterValue origin)
-
getCommonModelClass
public Class<AnnotationParameterModel> getCommonModelClass()
- Specified by:
getCommonModelClassin interfaceModel
-
getValue
public Object getValue()
-
prepareValue
protected abstract Object prepareValue()
-
-