jdave.support
Class Reflection
java.lang.Object
jdave.support.Reflection
public class Reflection
- extends java.lang.Object
- Author:
- Lasse Koskela
|
Method Summary |
static java.lang.reflect.Method |
getMethod(java.lang.Class<?> specType,
java.lang.String name,
java.lang.Class<?>[] parameterTypes,
int... modifiers)
|
static java.lang.reflect.Method |
getMethod(java.lang.Class<?> specType,
java.lang.String name,
int... modifiers)
|
static boolean |
isPublic(java.lang.reflect.Method method)
|
static boolean |
isStatic(java.lang.reflect.Method method)
|
static boolean |
isVoid(java.lang.reflect.Method method)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Reflection
public Reflection()
getMethod
public static java.lang.reflect.Method getMethod(java.lang.Class<?> specType,
java.lang.String name,
int... modifiers)
throws java.lang.NoSuchMethodException
- Throws:
java.lang.NoSuchMethodException
getMethod
public static java.lang.reflect.Method getMethod(java.lang.Class<?> specType,
java.lang.String name,
java.lang.Class<?>[] parameterTypes,
int... modifiers)
throws java.lang.NoSuchMethodException
- Throws:
java.lang.NoSuchMethodException
isVoid
public static boolean isVoid(java.lang.reflect.Method method)
isPublic
public static boolean isPublic(java.lang.reflect.Method method)
isStatic
public static boolean isStatic(java.lang.reflect.Method method)
Copyright © 2010. All Rights Reserved.