Package org.jvnet.jaxb.annox.util
Class ReflectionUtils
- java.lang.Object
-
- org.jvnet.jaxb.annox.util.ReflectionUtils
-
public class ReflectionUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ReflectionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Constructor<?>getConstructor(Class<?> theClass, Class<?>[] parameterTypes)static FieldgetField(Class<?> theClass, String fieldName)static MethodgetMethod(Class<?> theClass, String methodName, Class<?>[] parameterTypes)
-
-
-
Method Detail
-
getConstructor
public static Constructor<?> getConstructor(Class<?> theClass, Class<?>[] parameterTypes) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getMethod
public static Method getMethod(Class<?> theClass, String methodName, Class<?>[] parameterTypes) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getField
public static Field getField(Class<?> theClass, String fieldName) throws NoSuchFieldException
- Throws:
NoSuchFieldException
-
-