org.apache.myfaces.orchestra.dynaForm.metadata.impl.ejb
Class JavaHelper

java.lang.Object
  extended by org.apache.myfaces.orchestra.dynaForm.metadata.impl.ejb.JavaHelper
All Implemented Interfaces:
ClassHelper

public class JavaHelper
extends Object
implements ClassHelper

Extracts fields/methods of the given java class.

See Also:
BcelHelper

Constructor Summary
JavaHelper()
           
 
Method Summary
 Field[] getFields(Class<?> clazz)
          Return a list of all the static and non-static fields of the specified class, regardless of their accessibility.
 Method[] getMethods(Class<?> clazz)
          Return a list of all the get*, set* and is* method on the specified class, regardless of their accessibility.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaHelper

public JavaHelper()
Method Detail

getFields

public Field[] getFields(Class<?> clazz)
Description copied from interface: ClassHelper
Return a list of all the static and non-static fields of the specified class, regardless of their accessibility.

The array order matches the order in which the fields were declared within the original source file.

Specified by:
getFields in interface ClassHelper

getMethods

public Method[] getMethods(Class<?> clazz)
Description copied from interface: ClassHelper
Return a list of all the get*, set* and is* method on the specified class, regardless of their accessibility.

The array order matches the order in which the methods were declared within the original source file.

Specified by:
getMethods in interface ClassHelper


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.