Package org.joinfaces.test.mock
Class MockMethodMetadata
- java.lang.Object
-
- org.joinfaces.test.mock.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 Summary
Constructors Constructor Description MockMethodMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.util.MultiValueMap<java.lang.String,java.lang.Object>
getAllAnnotationAttributes(java.lang.String annotationName)
org.springframework.util.MultiValueMap<java.lang.String,java.lang.Object>
getAllAnnotationAttributes(java.lang.String annotationName, boolean classValuesAsString)
java.util.Map<java.lang.String,java.lang.Object>
getAnnotationAttributes(java.lang.String annotationName)
java.util.Map<java.lang.String,java.lang.Object>
getAnnotationAttributes(java.lang.String annotationName, boolean classValuesAsString)
java.lang.String
getDeclaringClassName()
java.lang.String
getMethodName()
java.lang.String
getReturnTypeName()
boolean
isAbstract()
boolean
isAnnotated(java.lang.String annotationName)
boolean
isFinal()
boolean
isOverridable()
boolean
isStatic()
-
-
-
Method Detail
-
getMethodName
public java.lang.String getMethodName()
- Specified by:
getMethodName
in interfaceorg.springframework.core.type.MethodMetadata
-
getDeclaringClassName
public java.lang.String getDeclaringClassName()
- Specified by:
getDeclaringClassName
in interfaceorg.springframework.core.type.MethodMetadata
-
getReturnTypeName
public java.lang.String getReturnTypeName()
- Specified by:
getReturnTypeName
in interfaceorg.springframework.core.type.MethodMetadata
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interfaceorg.springframework.core.type.MethodMetadata
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfaceorg.springframework.core.type.MethodMetadata
-
isFinal
public boolean isFinal()
- Specified by:
isFinal
in interfaceorg.springframework.core.type.MethodMetadata
-
isOverridable
public boolean isOverridable()
- Specified by:
isOverridable
in interfaceorg.springframework.core.type.MethodMetadata
-
isAnnotated
public boolean isAnnotated(java.lang.String annotationName)
- Specified by:
isAnnotated
in interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
getAnnotationAttributes
public java.util.Map<java.lang.String,java.lang.Object> getAnnotationAttributes(java.lang.String annotationName)
- Specified by:
getAnnotationAttributes
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
-