Package org.joinfaces.test.mock
Class MockMethodMetadata
- java.lang.Object
-
- org.joinfaces.test.mock.MockMethodMetadata
-
- All Implemented Interfaces:
AnnotatedTypeMetadata
,MethodMetadata
public class MockMethodMetadata extends java.lang.Object implements MethodMetadata
MethodMetadata
-Mock.
-
-
Constructor Summary
Constructors Constructor Description MockMethodMetadata(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiValueMap<java.lang.String,java.lang.Object>
getAllAnnotationAttributes(java.lang.String annotationName)
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 interfaceMethodMetadata
-
getDeclaringClassName
public java.lang.String getDeclaringClassName()
- Specified by:
getDeclaringClassName
in interfaceMethodMetadata
-
getReturnTypeName
public java.lang.String getReturnTypeName()
- Specified by:
getReturnTypeName
in interfaceMethodMetadata
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interfaceMethodMetadata
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfaceMethodMetadata
-
isFinal
public boolean isFinal()
- Specified by:
isFinal
in interfaceMethodMetadata
-
isOverridable
public boolean isOverridable()
- Specified by:
isOverridable
in interfaceMethodMetadata
-
isAnnotated
public boolean isAnnotated(java.lang.String annotationName)
- Specified by:
isAnnotated
in interfaceAnnotatedTypeMetadata
-
getAnnotationAttributes
public java.util.Map<java.lang.String,java.lang.Object> getAnnotationAttributes(java.lang.String annotationName)
- Specified by:
getAnnotationAttributes
in interfaceAnnotatedTypeMetadata
-
getAnnotationAttributes
public java.util.Map<java.lang.String,java.lang.Object> getAnnotationAttributes(java.lang.String annotationName, boolean classValuesAsString)
- Specified by:
getAnnotationAttributes
in interfaceAnnotatedTypeMetadata
-
getAllAnnotationAttributes
public MultiValueMap<java.lang.String,java.lang.Object> getAllAnnotationAttributes(java.lang.String annotationName)
- Specified by:
getAllAnnotationAttributes
in interfaceAnnotatedTypeMetadata
-
getAllAnnotationAttributes
public MultiValueMap<java.lang.String,java.lang.Object> getAllAnnotationAttributes(java.lang.String annotationName, boolean classValuesAsString)
- Specified by:
getAllAnnotationAttributes
in interfaceAnnotatedTypeMetadata
-
-