public class DefaultMethodMetadata<M> extends java.lang.Object implements MethodMetadata
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Method |
getJavaMethod() |
java.lang.Class<?> |
getReturnType() |
java.util.Set<InterceptionType> |
getSupportedInterceptionTypes() |
boolean |
isInterceptorMethod()
Returns true if the method is an interceptor method (it supports any interception type)
|
static <M> MethodMetadata |
of(M methodReference,
AnnotatedMethodReader<M> methodReader) |
static MethodMetadata |
of(java.lang.reflect.Method method) |
public static <M> MethodMetadata of(M methodReference, AnnotatedMethodReader<M> methodReader)
public static MethodMetadata of(java.lang.reflect.Method method)
public boolean isInterceptorMethod()
MethodMetadataisInterceptorMethod in interface MethodMetadatapublic java.util.Set<InterceptionType> getSupportedInterceptionTypes()
getSupportedInterceptionTypes in interface MethodMetadatapublic java.lang.reflect.Method getJavaMethod()
getJavaMethod in interface MethodMetadatapublic java.lang.Class<?> getReturnType()
getReturnType in interface MethodMetadataCopyright © 2013 Seam Framework. All Rights Reserved.