public class MethodUtils extends Object
| Constructor and Description |
|---|
MethodUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Method |
findAnnotatedGetter(Class<?> cls,
Class<? extends Annotation> class1)
Find a getter with the specified annotation.
|
static Method |
findAnnotatedSetter(Class<?> cls,
Class<? extends Annotation> class1)
Find a setter with the specified annotation.
|
public static Method findAnnotatedGetter(Class<?> cls, Class<? extends Annotation> class1)
cls - Class that declares the method to find.class1 - the annotation to find.public static Method findAnnotatedSetter(Class<?> cls, Class<? extends Annotation> class1)
cls - Class that declares the method to find.class1 - the annotation to find.Copyright © 2013-2016 XENEI.com. All Rights Reserved.