类 SimpleMethodMetadata
java.lang.Object
cn.taketoday.core.type.classreading.SimpleMethodMetadata
- 所有已实现的接口:
AnnotatedTypeMetadata,MethodMetadata
MethodMetadata created from a SimpleMethodMetadataReadingVisitor.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Sam Brannen
-
字段概要
字段修饰符和类型字段说明private final intprivate final MergedAnnotationsprivate final ClassLoaderprivate final Stringprivate final MethodSignatureprivate Stringprivate final Object -
构造器概要
构造器构造器说明SimpleMethodMetadata(int access, String declaringClassName, Object source, MergedAnnotations annotations, MethodSignature methodSignature, ClassLoader classLoader) -
方法概要
修饰符和类型方法说明booleanGet annotation details based on the direct annotations and meta-annotations of the underlying element.Type[]Get the fully-qualified name of the class that declares the underlying method.Get the name of the underlying method.intClass<?>[]Get the fully-qualified name of the underlying method's declared return type.inthashCode()booleanDetermine whether the underlying method is effectively abstract: i.e. marked as abstract in a class or declared as a regular, non-default method in an interface.booleanisFinal()Determine whether the underlying method is marked as 'final'.booleanDetermine whether the underlying method is overridable, i.e. not marked as static, final, or private.private booleanbooleanisStatic()Determine whether the underlying method is declared as 'static'.toString()从接口继承的方法 cn.taketoday.core.type.AnnotatedTypeMetadata
getAllAnnotationAttributes, getAllAnnotationAttributes, getAllAnnotationAttributes, getAllAnnotationAttributes, getAnnotation, getAnnotation, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationTypes, getMergedRepeatableAnnotation, getMergedRepeatableAnnotation, getMergedRepeatableAnnotationAttributes, getMergedRepeatableAnnotationAttributes, getMetaAnnotationTypes, getMetaAnnotationTypes, hasAnnotation, hasAnnotation, hasMetaAnnotation, hasMetaAnnotation, isAnnotated, isAnnotated
-
字段详细资料
-
access
private final int access -
declaringClassName
-
source
-
annotations
-
methodSignature
-
returnTypeName
-
classLoader
-
-
构造器详细资料
-
SimpleMethodMetadata
SimpleMethodMetadata(int access, String declaringClassName, Object source, MergedAnnotations annotations, MethodSignature methodSignature, @Nullable ClassLoader classLoader)
-
-
方法详细资料
-
getMethodName
从接口复制的说明:MethodMetadataGet the name of the underlying method.- 指定者:
getMethodName在接口中MethodMetadata
-
getDeclaringClassName
从接口复制的说明:MethodMetadataGet the fully-qualified name of the class that declares the underlying method.- 指定者:
getDeclaringClassName在接口中MethodMetadata
-
getReturnTypeName
从接口复制的说明:MethodMetadataGet the fully-qualified name of the underlying method's declared return type.- 指定者:
getReturnTypeName在接口中MethodMetadata
-
isAbstract
public boolean isAbstract()从接口复制的说明:MethodMetadataDetermine whether the underlying method is effectively abstract: i.e. marked as abstract in a class or declared as a regular, non-default method in an interface.- 指定者:
isAbstract在接口中MethodMetadata
-
isStatic
public boolean isStatic()从接口复制的说明:MethodMetadataDetermine whether the underlying method is declared as 'static'.- 指定者:
isStatic在接口中MethodMetadata
-
isFinal
public boolean isFinal()从接口复制的说明:MethodMetadataDetermine whether the underlying method is marked as 'final'.- 指定者:
isFinal在接口中MethodMetadata
-
isOverridable
public boolean isOverridable()从接口复制的说明:MethodMetadataDetermine whether the underlying method is overridable, i.e. not marked as static, final, or private.- 指定者:
isOverridable在接口中MethodMetadata
-
getParameterCount
public int getParameterCount()- 指定者:
getParameterCount在接口中MethodMetadata
-
isPrivate
private boolean isPrivate() -
getAnnotations
从接口复制的说明:AnnotatedTypeMetadataGet annotation details based on the direct annotations and meta-annotations of the underlying element.- 指定者:
getAnnotations在接口中AnnotatedTypeMetadata- 返回:
- merged annotations based on the direct annotations and meta-annotations
-
equals
-
hashCode
public int hashCode() -
toString
-
getArgumentTypes
- 指定者:
getArgumentTypes在接口中MethodMetadata
-
getParameterTypes
- 指定者:
getParameterTypes在接口中MethodMetadata
-