类 StandardMethodMetadata

    • 构造器概要

      构造器 
      构造器说明
      StandardMethodMetadata​(Method introspectedMethod)
      Create a new StandardMethodMetadata wrapper for the given Method.
      StandardMethodMetadata​(Method introspectedMethod, boolean nestedAnnotationsAsMap)
      Create a new StandardMethodMetadata wrapper for the given Method, providing the option to return any nested annotations or annotation arrays in the form of AnnotationAttributes instead of actual Annotation instances.
    • 构造器详细资料

      • StandardMethodMetadata

        public StandardMethodMetadata​(Method introspectedMethod)
        Create a new StandardMethodMetadata wrapper for the given Method.
        参数:
        introspectedMethod - the Method to introspect
      • StandardMethodMetadata

        public StandardMethodMetadata​(Method introspectedMethod,
                                      boolean nestedAnnotationsAsMap)
        Create a new StandardMethodMetadata wrapper for the given Method, providing the option to return any nested annotations or annotation arrays in the form of AnnotationAttributes instead of actual Annotation instances.
        参数:
        introspectedMethod - the Method to introspect
        nestedAnnotationsAsMap - return nested annotations and annotation arrays as AnnotationAttributes for compatibility with ASM-based AnnotationMetadata implementations
        从以下版本开始:
        3.1.1