public void prepareWriting(GrowableConstantPool gcp) {
		gcp.putUTF8(name);
		gcp.putUTF8(typeSig);
		if (bytecode != null) {
			gcp.putUTF8("Code");
			bytecode.prepareWriting(gcp);
		}
		if (exceptions != null) {
			gcp.putUTF8("Exceptions");
			for (int i = 0; i < exceptions.length; i++)
				gcp.putClassName(exceptions[i]);
		}
		if (syntheticFlag)
			gcp.putUTF8("Synthetic");
		if (deprecatedFlag)
			gcp.putUTF8("Deprecated");
		prepareAttributes(gcp);
	}