public final class ClassUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getCanonicalNameForParameterizedType(ParameterizedType parameterizedType) |
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.public static List<Method> getPublicNonStaticMethods(Class<?> clazz)
clazz - Class to parse.public static String getCanonicalNameForParameterizedType(ParameterizedType parameterizedType)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.