public final class ClassUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getCodeSource(Class<?> clazz)
Get the code source file or class path of the Class passed in.
|
static List<Field> |
getNonStaticFields(Class<?> clazz)
Get all non-static fields of the Class passed in or its super classes.
|
static List<Method> |
getPublicNonStaticMethods(Class<?> clazz)
Get all public, non-static methods of the Class passed in.
|
public static String getCodeSource(Class<?> clazz)
clazz - public static List<Field> getNonStaticFields(Class<?> clazz)
clazz - Class to parse.Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.