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)StringgetDeclaringClassName()StringgetMethodName()StringgetReturnTypeName()booleanisAbstract()booleanisAnnotated(String annotationName)booleanisFinal()booleanisOverridable()booleanisStatic()
-
-
-
Constructor Detail
-
MockMethodMetadata
public MockMethodMetadata(Class<? extends Annotation> annotation)
-
-
Method Detail
-
getMethodName
public String getMethodName()
- Specified by:
getMethodNamein interfaceorg.springframework.core.type.MethodMetadata
-
getDeclaringClassName
public String getDeclaringClassName()
- Specified by:
getDeclaringClassNamein interfaceorg.springframework.core.type.MethodMetadata
-
getReturnTypeName
public String getReturnTypeName()
- Specified by:
getReturnTypeNamein interfaceorg.springframework.core.type.MethodMetadata
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstractin interfaceorg.springframework.core.type.MethodMetadata
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceorg.springframework.core.type.MethodMetadata
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceorg.springframework.core.type.MethodMetadata
-
isOverridable
public boolean isOverridable()
- Specified by:
isOverridablein interfaceorg.springframework.core.type.MethodMetadata
-
isAnnotated
public boolean isAnnotated(String annotationName)
- Specified by:
isAnnotatedin interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
getAnnotationAttributes
public Map<String,Object> getAnnotationAttributes(String annotationName)
- Specified by:
getAnnotationAttributesin interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
getAnnotationAttributes
public Map<String,Object> getAnnotationAttributes(String annotationName, boolean classValuesAsString)
- Specified by:
getAnnotationAttributesin interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
getAllAnnotationAttributes
public org.springframework.util.MultiValueMap<String,Object> getAllAnnotationAttributes(String annotationName)
- Specified by:
getAllAnnotationAttributesin interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
-