- java.lang.Object
-
- dev.hilla.parser.models.MethodParameterInfoModel
-
- All Implemented Interfaces:
AnnotatedModel,Model,NamedModel,OwnedModel<MethodInfoModel>
public abstract class MethodParameterInfoModel extends Object implements Model, NamedModel, OwnedModel<MethodInfoModel>
-
-
Constructor Summary
Constructors Constructor Description MethodParameterInfoModel()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<AnnotationInfoModel>getAnnotations()Class<MethodParameterInfoModel>getCommonModelClass()intgetIndex()Returns a zero-based index of the parameter in the method parameter list.abstract intgetModifiers()MethodInfoModelgetOwner()SignatureModelgetType()inthashCode()abstract booleanisFinal()abstract booleanisImplicit()abstract booleanisMandated()abstract booleanisSynthetic()static MethodParameterInfoModelof(io.github.classgraph.MethodParameterInfo origin)static MethodParameterInfoModelof(Parameter origin)protected abstract List<AnnotationInfoModel>prepareAnnotations()protected abstract intprepareIndex()protected abstract MethodInfoModelprepareOwner()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 MethodParameterInfoModel of(@Nonnull io.github.classgraph.MethodParameterInfo origin)
-
of
public static MethodParameterInfoModel of(@Nonnull Parameter origin)
-
getCommonModelClass
public Class<MethodParameterInfoModel> getCommonModelClass()
- Specified by:
getCommonModelClassin interfaceModel
-
getModifiers
public abstract int getModifiers()
-
getIndex
public int getIndex()
Returns a zero-based index of the parameter in the method parameter list.- Returns:
- the index, from 0 to n-1
-
getOwner
public MethodInfoModel getOwner()
- Specified by:
getOwnerin interfaceOwnedModel<MethodInfoModel>
-
getType
public SignatureModel getType()
-
isFinal
public abstract boolean isFinal()
-
isImplicit
public abstract boolean isImplicit()
-
isMandated
public abstract boolean isMandated()
-
isSynthetic
public abstract boolean isSynthetic()
-
prepareIndex
protected abstract int prepareIndex()
-
prepareOwner
protected abstract MethodInfoModel 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()
-
-