Class MockMethodMetadata

  • All Implemented Interfaces:
    org.springframework.core.type.AnnotatedTypeMetadata, org.springframework.core.type.MethodMetadata

    public class MockMethodMetadata
    extends java.lang.Object
    implements org.springframework.core.type.MethodMetadata
    MethodMetadata-Mock.
    • Constructor Detail

      • MockMethodMetadata

        public MockMethodMetadata()
    • Method Detail

      • getMethodName

        public java.lang.String getMethodName()
        Specified by:
        getMethodName in interface org.springframework.core.type.MethodMetadata
      • getDeclaringClassName

        public java.lang.String getDeclaringClassName()
        Specified by:
        getDeclaringClassName in interface org.springframework.core.type.MethodMetadata
      • getReturnTypeName

        public java.lang.String getReturnTypeName()
        Specified by:
        getReturnTypeName in interface org.springframework.core.type.MethodMetadata
      • isAbstract

        public boolean isAbstract()
        Specified by:
        isAbstract in interface org.springframework.core.type.MethodMetadata
      • isStatic

        public boolean isStatic()
        Specified by:
        isStatic in interface org.springframework.core.type.MethodMetadata
      • isFinal

        public boolean isFinal()
        Specified by:
        isFinal in interface org.springframework.core.type.MethodMetadata
      • isOverridable

        public boolean isOverridable()
        Specified by:
        isOverridable in interface org.springframework.core.type.MethodMetadata
      • isAnnotated

        public boolean isAnnotated​(java.lang.String annotationName)
        Specified by:
        isAnnotated in interface org.springframework.core.type.AnnotatedTypeMetadata
      • getAnnotationAttributes

        public java.util.Map<java.lang.String,​java.lang.Object> getAnnotationAttributes​(java.lang.String annotationName)
        Specified by:
        getAnnotationAttributes in interface org.springframework.core.type.AnnotatedTypeMetadata
      • getAnnotationAttributes

        public java.util.Map<java.lang.String,​java.lang.Object> getAnnotationAttributes​(java.lang.String annotationName,
                                                                                              boolean classValuesAsString)
        Specified by:
        getAnnotationAttributes in interface org.springframework.core.type.AnnotatedTypeMetadata
      • getAllAnnotationAttributes

        public org.springframework.util.MultiValueMap<java.lang.String,​java.lang.Object> getAllAnnotationAttributes​(java.lang.String annotationName)
        Specified by:
        getAllAnnotationAttributes in interface org.springframework.core.type.AnnotatedTypeMetadata
      • getAllAnnotationAttributes

        public org.springframework.util.MultiValueMap<java.lang.String,​java.lang.Object> getAllAnnotationAttributes​(java.lang.String annotationName,
                                                                                                                          boolean classValuesAsString)
        Specified by:
        getAllAnnotationAttributes in interface org.springframework.core.type.AnnotatedTypeMetadata