net.sourceforge.pmd.dcd
Class ClassLoaderUtil
java.lang.Object
net.sourceforge.pmd.dcd.ClassLoaderUtil
public class ClassLoaderUtil
- extends Object
ClassLoader utilities. Useful for extracting additional details from a class
hierarchy beyond the basic standard Java Reflection APIs.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLINIT
public static final String CLINIT
- See Also:
- Constant Field Values
INIT
public static final String INIT
- See Also:
- Constant Field Values
ClassLoaderUtil
public ClassLoaderUtil()
fromInternalForm
public static String fromInternalForm(String internalForm)
toInternalForm
public static String toInternalForm(String internalForm)
getClass
public static Class<?> getClass(String name)
getField
public static Field getField(Class<?> type,
String name)
getMethod
public static Method getMethod(Class<?> type,
String name,
Class<?>... parameterTypes)
getConstructor
public static Constructor<?> getConstructor(Class<?> type,
String name,
Class<?>... parameterTypes)
getMethodSignature
public static String getMethodSignature(String name,
Class<?>... parameterTypes)
getParameterTypes
public static Class<?>[] getParameterTypes(String... parameterTypeNames)
isOverridenMethod
public static boolean isOverridenMethod(Class<?> clazz,
Method method,
boolean checkThisClass)
Copyright © 2002-2015 InfoEther. All Rights Reserved.