File tree 2 files changed +21
-1
lines changed
src/main/java/scala/tools/asm 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public class Attribute {
48
48
* The 6 header bytes of the attribute (attribute_name_index and attribute_length) are <i>not</i>
49
49
* included.
50
50
*/
51
- private byte [] content ;
51
+ protected byte [] content ;
52
52
53
53
/**
54
54
* The next attribute in this attribute list (Attribute instances can be linked via this field to
Original file line number Diff line number Diff line change
1
+ /* NSC -- new Scala compiler
2
+ * Copyright 2005-2012 LAMP/EPFL
3
+ */
4
+
5
+ package scala .tools .asm ;
6
+
7
+ import scala .tools .asm .Attribute ;
8
+
9
+ /**
10
+ * A subclass of ASM's Attribute for the sole purpose of accessing a protected field there.
11
+ *
12
+ */
13
+ public class CustomAttr extends Attribute {
14
+
15
+ public CustomAttr (final String type , final byte [] value ) {
16
+ super (type );
17
+ super .content = value ;
18
+ }
19
+
20
+ }
You can’t perform that action at this time.
0 commit comments