method.getSourceCode().add("return members;");
//-- add memberTable to the class, we can only add this after all the types,
//-- or we'll create source code that will generate null pointer exceptions,
//-- because calling init() will try to add null values to the hashtable.
jClass.addField(fHash);
//-- add internal type
field = new JField(JType.INT, "type");
field.getModifiers().setFinal(true);
jClass.addField(field);