private void loadMembers(net.java.dev.jminimizer.beans.Class clazz, JavaClass jc) throws ClassNotFoundException { String className= clazz.getName(); Method[] ms= jc.getMethods(); for (int i = 0; i < ms.length; i++) { clazz.add(new net.java.dev.jminimizer.beans.Method(className, ms[i].getName(), Type.getMethodSignature(ms[i].getReturnType(), ms[i].getArgumentTypes()), false)); } org.apache.bcel.classfile.Field[] fs = jc.getFields(); for (int i = 0; i < fs.length; i++) { clazz.add(new Field(className, fs[i].getName(), fs[i].getSignature())); } }
private void loadMembers(net.java.dev.jminimizer.beans.Class clazz, JavaClass jc) throws ClassNotFoundException { String className = clazz.getName(); Method[] ms = jc.getMethods(); for (int i = 0; i < ms.length; i++) { clazz.add(new net.java.dev.jminimizer.beans.Method(className, ms[i] .getName(), Type.getMethodSignature(ms[i].getReturnType(), ms[i].getArgumentTypes()))); } org.apache.bcel.classfile.Field[] fs = jc.getFields(); for (int i = 0; i < fs.length; i++) { clazz.add(new Field(className, fs[i].getName(), fs[i] .getSignature())); } JavaClass sjc = jc.getSuperClass(); if (sjc != null) { net.java.dev.jminimizer.beans.Class superClass = new net.java.dev.jminimizer.beans.Class( sjc.getClassName()); clazz.setSuperClass(superClass); } }
    private void loadMembers(net.java.dev.jminimizer.beans.Class clazz, JavaClass jc) throws ClassNotFoundException {        String className= clazz.getName();        Method[] ms= jc.getMethods();        for (int i = 0; i < ms.length; i++) {            clazz.add(new net.java.dev.jminimizer.beans.Method(className, ms[i].getName(), Type.getMethodSignature(ms[i].getReturnType(), ms[i].getArgumentTypes()), false));        }        org.apache.bcel.classfile.Field[] fs = jc.getFields();        for (int i = 0; i < fs.length; i++) {            clazz.add(new Field(className, fs[i].getName(), fs[i].getSignature()));        }    }