org.apache.myfaces.custom.dynaForm.metadata.impl.ejb
Class BcelHelper

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

public class BcelHelper
extends java.lang.Object
implements ClassHelper

Extracts fields/method of the given class using BCEL.
This allows us to keep the ordering.


Constructor Summary
BcelHelper()
           
 
Method Summary
 java.lang.reflect.Field[] getFields(java.lang.Class clazz)
           
 java.lang.reflect.Method[] getMethods(java.lang.Class clazz)
           
protected  java.lang.Class type2Class(org.apache.bcel.generic.Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BcelHelper

public BcelHelper()
Method Detail

getFields

public java.lang.reflect.Field[] getFields(java.lang.Class clazz)
Specified by:
getFields in interface ClassHelper

getMethods

public java.lang.reflect.Method[] getMethods(java.lang.Class clazz)
Specified by:
getMethods in interface ClassHelper

type2Class

protected java.lang.Class type2Class(org.apache.bcel.generic.Type type)


Copyright © 2011. All Rights Reserved.