Author: sebb Date: Sat Jan 17 11:40:49 2015 New Revision: 1652584 URL: http://svn.apache.org/r1652584 Log: Docs
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/Constants.java Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/Constants.java URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/Constants.java?rev=1652584&r1=1652583&r2=1652584&view=diff ============================================================================== --- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/Constants.java (original) +++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/Constants.java Sat Jan 17 11:40:49 2015 @@ -1447,6 +1447,8 @@ public interface Constants { public static final byte ATTR_BOOTSTRAP_METHODS = 20; public static final byte ATTR_METHOD_PARAMETERS = 21; + public static final short KNOWN_ATTRIBUTES = 22; // count of attributes + /** @deprecated Use {@link #ATTR_RUNTIME_VISIBLE_ANNOTATIONS} instead */ @Deprecated public static final byte ATTR_RUNTIMEVISIBLE_ANNOTATIONS = ATTR_RUNTIME_VISIBLE_ANNOTATIONS; @@ -1460,9 +1462,7 @@ public static final byte ATTR_RUNTIMEVIS @Deprecated public static final byte ATTR_RUNTIMEINVISIBLE_PARAMETER_ANNOTATIONS = ATTR_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS; - public static final short KNOWN_ATTRIBUTES = 22; - - // TOFO: FIXXXXX + // TODO: mutable public array!! public static final String[] ATTRIBUTE_NAMES = { "SourceFile", "ConstantValue", "Code", "Exceptions", "LineNumberTable", "LocalVariableTable", @@ -1513,7 +1513,7 @@ public static final byte ATTR_RUNTIMEINV public static final int APPEND_FRAME_MAX = 254; - // Constants defining the behavior of the Method Handles (JVMS §5.4.3.5) + // Constants defining the behavior of the Method Handles (JVMS �5.4.3.5) public static final byte REF_getField = 1; public static final byte REF_getStatic = 2;