public class MockMethodMetadata extends Object implements org.springframework.core.type.MethodMetadata
MethodMetadata-Mock.| Constructor and Description |
|---|
MockMethodMetadata(Class<? extends Annotation> annotation) |
| Modifier and Type | Method and 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() |
public MockMethodMetadata(Class<? extends Annotation> annotation)
public String getMethodName()
getMethodName in interface org.springframework.core.type.MethodMetadatapublic String getDeclaringClassName()
getDeclaringClassName in interface org.springframework.core.type.MethodMetadatapublic String getReturnTypeName()
getReturnTypeName in interface org.springframework.core.type.MethodMetadatapublic boolean isAbstract()
isAbstract in interface org.springframework.core.type.MethodMetadatapublic boolean isStatic()
isStatic in interface org.springframework.core.type.MethodMetadatapublic boolean isFinal()
isFinal in interface org.springframework.core.type.MethodMetadatapublic boolean isOverridable()
isOverridable in interface org.springframework.core.type.MethodMetadatapublic boolean isAnnotated(String annotationName)
isAnnotated in interface org.springframework.core.type.AnnotatedTypeMetadatapublic Map<String,Object> getAnnotationAttributes(String annotationName)
getAnnotationAttributes in interface org.springframework.core.type.AnnotatedTypeMetadatapublic Map<String,Object> getAnnotationAttributes(String annotationName, boolean classValuesAsString)
getAnnotationAttributes in interface org.springframework.core.type.AnnotatedTypeMetadatapublic org.springframework.util.MultiValueMap<String,Object> getAllAnnotationAttributes(String annotationName)
getAllAnnotationAttributes in interface org.springframework.core.type.AnnotatedTypeMetadataCopyright © 2016–2018 JoinFaces. All rights reserved.