org.jboss.aop.util
Class ReflectUtils

java.lang.Object
  extended by org.jboss.aop.util.ReflectUtils

public class ReflectUtils
extends Object

Version:
$Revision: 71276 $
Author:
Kabir Khan

Field Summary
static Class<?>[] EMPTY_CLASS_ARRAY
           
 
Constructor Summary
ReflectUtils()
           
 
Method Summary
static Method[] getDeclaredMethodsWithName(Class<?> clazz, String name)
           
static Method[] getMethodsWithName(Class<?> clazz, String name)
           
static boolean isNotAccessMethod(Method m)
          Java adds a few static void methods called access$0, access$1 etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_CLASS_ARRAY

public static Class<?>[] EMPTY_CLASS_ARRAY
Constructor Detail

ReflectUtils

public ReflectUtils()
Method Detail

getMethodsWithName

public static Method[] getMethodsWithName(Class<?> clazz,
                                          String name)

getDeclaredMethodsWithName

public static Method[] getDeclaredMethodsWithName(Class<?> clazz,
                                                  String name)

isNotAccessMethod

public static boolean isNotAccessMethod(Method m)
Java adds a few static void methods called access$0, access$1 etc. when inner classes are used

Returns:
false if this method is static, void, has package access and has a name like access$0, access$1 etc.


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.