public class ParamAnnotationUtils extends Object
| Constructor and Description |
|---|
ParamAnnotationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
extractEventParams(Annotation[][] parameterAnnotations,
Props data) |
static Props |
extractProps(Annotation[][] annotations,
Object[] args) |
static Props |
extractProps(Annotation[][] annotations,
Object[] args,
int argsOffset) |
static Props |
extractProps(List<String> paramNames,
Object[] args) |
static Param |
getParamAnnotation(Annotation[] annotationsParam) |
static List<String> |
getParamNames(Annotation[][] annotationsParams) |
static List<String> |
getParamNames(Constructor<?> constructor) |
static List<String> |
getParamNames(Method method) |
public static Props extractProps(Annotation[][] annotations, Object[] args, int argsOffset)
public static Props extractProps(Annotation[][] annotations, Object[] args) throws ProtocolException
ProtocolExceptionpublic static List<String> getParamNames(Method method) throws ProtocolException
ProtocolExceptionpublic static List<String> getParamNames(Constructor<?> constructor) throws ProtocolException
ProtocolExceptionpublic static List<String> getParamNames(Annotation[][] annotationsParams) throws ProtocolException
ProtocolExceptionpublic static Param getParamAnnotation(Annotation[] annotationsParam) throws ProtocolException
ProtocolExceptionpublic static Object[] extractEventParams(Annotation[][] parameterAnnotations, Props data) throws ProtocolException
ProtocolExceptionCopyright © 2015 Kurento. All rights reserved.