define anything new.
*/
if(decl instanceof FunctionDeclaration) {
new FunctionCodeGenerator(this).generate((FunctionDeclaration)decl, klass);
} else if(decl instanceof FieldDeclaration) {
VarDecl vd = ((FieldDeclaration)decl).getVarDecl();
String fieldName = vd.getName();
Type fieldType = SootTypeUtil.getSootType(vd.getTypeName().getDescriptor());
int fieldModifiers = getModifiers(decl);
SootField sootField = new SootField(fieldName, fieldType, fieldModifiers);
klass.addField(sootField);
}
}