]> source.dussan.org Git - aspectj.git/commitdiff
tag for possible optimization
authoraclement <aclement>
Fri, 13 Nov 2009 17:40:59 +0000 (17:40 +0000)
committeraclement <aclement>
Fri, 13 Nov 2009 17:40:59 +0000 (17:40 +0000)
bcel-builder/src/org/aspectj/apache/bcel/classfile/Attribute.java

index aefa0ed44cb6ecc111050c7bc3fa05accca534c9..f10150de080ffd537aac8c71ab0dd4d95f463085 100644 (file)
@@ -70,7 +70,7 @@ import org.aspectj.apache.bcel.classfile.annotation.RuntimeVisParamAnnos;
  * <em>Exceptiontable</em>, <em>LineNumberTable</em>, <em>LocalVariableTable</em>, <em>InnerClasses</em> and <em>Synthetic</em>
  * attributes are supported. The <em>Unknown</em> attribute stands for non-standard-attributes.
  * 
- * @version $Id: Attribute.java,v 1.7 2009/09/15 19:40:12 aclement Exp $
+ * @version $Id: Attribute.java,v 1.8 2009/11/13 17:40:59 aclement Exp $
  * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
  * @see ConstantValue
  * @see SourceFile
@@ -104,6 +104,7 @@ public abstract class Attribute implements Cloneable, Node, Serializable {
                file.writeInt(length);
        }
 
+       // OPTIMIZE how about just reading them in and storing them until we need to decode what they really are?
        public static final Attribute readAttribute(DataInputStream file, ConstantPool cpool) throws IOException {
                byte tag = Constants.ATTR_UNKNOWN;
                int idx = file.readUnsignedShort();