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