- java.lang.Object
-
- dev.hilla.parser.models.MethodInfoModel
-
- All Implemented Interfaces:
AnnotatedModel,Model,NamedModel,OwnedModel<ClassInfoModel>,ParameterizedModel
public abstract class MethodInfoModel extends Object implements Model, NamedModel, OwnedModel<ClassInfoModel>, ParameterizedModel
-
-
Constructor Summary
Constructors Constructor Description MethodInfoModel()
-
Method Summary
-
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
-
Methods inherited from interface dev.hilla.parser.models.ParameterizedModel
getTypeParametersStream
-
-
-
-
Method Detail
-
of
public static MethodInfoModel of(@Nonnull io.github.classgraph.MethodInfo origin)
-
of
public static MethodInfoModel of(@Nonnull Executable origin)
-
equalsIgnoreParameters
public boolean equalsIgnoreParameters(MethodInfoModel other)
-
equalsIgnoreParameters
public boolean equalsIgnoreParameters(Object obj)
-
getClassName
public abstract String getClassName()
-
getCommonModelClass
public Class<MethodInfoModel> getCommonModelClass()
- Specified by:
getCommonModelClassin interfaceModel
-
getModifiers
public abstract int getModifiers()
-
getOwner
public ClassInfoModel getOwner()
- Specified by:
getOwnerin interfaceOwnedModel<ClassInfoModel>
-
getParameters
public List<MethodParameterInfoModel> getParameters()
-
getParametersStream
public Stream<MethodParameterInfoModel> getParametersStream()
-
getResultType
public SignatureModel getResultType()
-
getTypeParameters
public List<TypeParameterModel> getTypeParameters()
- Specified by:
getTypeParametersin interfaceParameterizedModel
-
hashCodeIgnoreParameters
public int hashCodeIgnoreParameters()
-
isAbstract
public abstract boolean isAbstract()
-
isBridge
public abstract boolean isBridge()
-
isConstructor
public abstract boolean isConstructor()
-
isFinal
public abstract boolean isFinal()
-
isNative
public abstract boolean isNative()
-
isPrivate
public abstract boolean isPrivate()
-
isProtected
public abstract boolean isProtected()
-
isPublic
public abstract boolean isPublic()
-
isStatic
public abstract boolean isStatic()
-
isStrict
public abstract boolean isStrict()
-
isSynchronized
public abstract boolean isSynchronized()
-
isSynthetic
public abstract boolean isSynthetic()
-
isVarArgs
public abstract boolean isVarArgs()
-
prepareOwner
protected abstract ClassInfoModel prepareOwner()
-
prepareParameters
protected abstract List<MethodParameterInfoModel> prepareParameters()
-
prepareResultType
protected abstract SignatureModel prepareResultType()
-
prepareTypeParameters
protected abstract List<TypeParameterModel> prepareTypeParameters()
-
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()
-
-