protected StructGeneralAttribute readAttribute(DataInputFullStream in, ConstantPool pool, String name) throws IOException { StructGeneralAttribute attribute = StructGeneralAttribute.createAttribute(name); int length = in.readInt(); if (attribute == null) { in.discard(length); } else { attribute.initContent(in, pool); } return attribute; } }
protected StructGeneralAttribute readAttribute(DataInputFullStream in, ConstantPool pool, String name) throws IOException { StructGeneralAttribute attribute = StructGeneralAttribute.createAttribute(name); int length = in.readInt(); if (attribute == null) { in.discard(length); } else { attribute.initContent(in, pool); } return attribute; } }