* @param type The type of the field
* @param initialValue The initial value
* @return The delcaration for the field
*/
public IBytecodeField addStaticField (String name, Class type, Scope scope, boolean isFinal, IBytecodeReferenceable defaultValue) {
this.fields.put(name, new BytecodeFieldDeclaration(name, new TypeMemberAccess(scope, false, true, isFinal), this, TypeDescriptor.getFor(type)));
if (defaultValue != null)
this.defaultStaticValues.put(name, defaultValue);
return this.fields.get(name);