接口 MethodMetadata
- 所有超级接口:
AnnotatedTypeMetadata
- 所有已知实现类:
SimpleMethodMetadata,StandardMethodMetadata
Interface that defines abstract access to the annotations of a specific
method, in a form that does not require that method's class to be loaded yet.
- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller, Mark Pollack, Chris Beams, Phillip Webb, Harry Yang
- 另请参阅:
-
方法概要
修饰符和类型方法说明Get the fully-qualified name of the class that declares the underlying method.Get the name of the underlying method.Get the fully-qualified name of the underlying method's declared return type.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.booleanisStatic()Determine whether the underlying method is declared as 'static'.从接口继承的方法 cn.taketoday.core.type.AnnotatedTypeMetadata
getAllAnnotationAttributes, getAllAnnotationAttributes, getAllAnnotationAttributes, getAllAnnotationAttributes, getAnnotation, getAnnotation, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotations, getAnnotationTypes, getMergedRepeatableAnnotation, getMergedRepeatableAnnotation, getMergedRepeatableAnnotation, getMergedRepeatableAnnotationAttributes, getMergedRepeatableAnnotationAttributes, getMergedRepeatableAnnotationAttributes, getMetaAnnotationTypes, getMetaAnnotationTypes, hasAnnotation, hasAnnotation, hasMetaAnnotation, hasMetaAnnotation, isAnnotated, isAnnotated
-
方法详细资料
-
getMethodName
String getMethodName()Get the name of the underlying method. -
getDeclaringClassName
String getDeclaringClassName()Get the fully-qualified name of the class that declares the underlying method. -
getReturnTypeName
String getReturnTypeName()Get the fully-qualified name of the underlying method's declared return type. -
isAbstract
boolean isAbstract()Determine 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. -
isStatic
boolean isStatic()Determine whether the underlying method is declared as 'static'. -
isFinal
boolean isFinal()Determine whether the underlying method is marked as 'final'. -
isOverridable
boolean isOverridable()Determine whether the underlying method is overridable, i.e. not marked as static, final, or private.
-