public void writeKnownAttributes(GrowableConstantPool gcp,
			DataOutputStream output) throws IOException {
		if (constant != null) {
			output.writeShort(gcp.putUTF8("ConstantValue"));
			output.writeInt(2);
			int index;
			if (typeSig.charAt(0) == 'J' || typeSig.charAt(0) == 'D')
				index = gcp.putLongConstant(constant);
			else
				index = gcp.putConstant(constant);
			output.writeShort(index);
		}
		if (syntheticFlag) {
			output.writeShort(gcp.putUTF8("Synthetic"));
			output.writeInt(0);
		}
		if (deprecatedFlag) {
			output.writeShort(gcp.putUTF8("Deprecated"));
			output.writeInt(0);
		}
	}