1 package alt.jiapi.file; 2 3 import java.io.ByteArrayOutputStream ; 4 import java.io.DataInputStream ; 5 import java.io.DataOutputStream ; 6 import java.io.IOException ; 7 import java.util.List ; 8 import java.util.LinkedList ; 9 import java.util.Iterator ; 10 11 17 public class SyntheticAttribute extends Attribute { 18 public static final String ATTRIBUTE_NAME = "Synthetic"; 19 private byte[] bytes = new byte[0]; 20 21 27 public SyntheticAttribute(ConstantPool cp) { 28 super(cp.addUtf8Info(ATTRIBUTE_NAME).getEntryIndex()); 29 30 setConstantPool(cp); 31 } 32 33 37 SyntheticAttribute(short nameIndex, DataInputStream dis) throws IOException { 38 super(nameIndex); 39 } 40 41 public byte[] getBytes() { 42 return bytes; 43 } 44 } 45 46 | Popular Tags |