接口的使用
cn.taketoday.core.type.MethodMetadata
使用MethodMetadata的程序包
程序包
说明
Core support package for type introspection.
Support classes for reading annotation and class-level metadata.
-
cn.taketoday.core.type中MethodMetadata的使用
修饰符和类型类说明classMethodMetadataimplementation that uses standard reflection to introspect a givenMethod.返回变量类型为MethodMetadata的类型的cn.taketoday.core.type中的方法修饰符和类型方法说明AnnotationMetadata.getAnnotatedMethods(String annotationName) Retrieve the method metadata for all methods that are annotated (or meta-annotated) with the given annotation type.StandardAnnotationMetadata.getAnnotatedMethods(String annotationName) ClassMetadata.getDeclaredMethods()Retrieve the method metadata for all user-declared methods on the underlying class, preserving declaration order as far as possible.StandardClassMetadata.getDeclaredMethods() -
cn.taketoday.core.type.classreading中MethodMetadata的使用
修饰符和类型字段说明private final Set<MethodMetadata>SimpleAnnotationMetadata.declaredMethodsprivate LinkedHashSet<MethodMetadata>SimpleAnnotationMetadataReadingVisitor.declaredMethods返回变量类型为MethodMetadata的类型的cn.taketoday.core.type.classreading中的方法修饰符和类型方法说明SimpleAnnotationMetadata.getAnnotatedMethods(String annotationName) SimpleAnnotationMetadata.getDeclaredMethods()