public class ClassUtils extends Object
| 构造器和说明 |
|---|
ClassUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends Annotation> |
titleMapGetMethodBy(Class<T> annotationClass,
Class ofClass)
generate title — getMethod map by annotation
|
static Map<String,Method> |
titleMapSetMethodBy(Class<PbPOIExcelTitle> annotationClass,
Class ofClass,
Map<String,Object> titleMapAnnotation)
generate title — setMethod map by annotation
|
public static <T extends Annotation> Map<T,Method> titleMapGetMethodBy(Class<T> annotationClass, Class ofClass) throws NoSuchMethodException
annotationClass - the annotation classofClass - the primary classNoSuchMethodException - No such methodpublic static Map<String,Method> titleMapSetMethodBy(Class<PbPOIExcelTitle> annotationClass, Class ofClass, Map<String,Object> titleMapAnnotation) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException
annotationClass - the annotation classofClass - the primary classtitleMapAnnotation - the map for title — annotation objectNoSuchMethodException - No such methodInvocationTargetException - Invocation targetIllegalAccessException - Illegal accessCopyright © 2018. All rights reserved.