1 16 17 package org.cojen.classfile.attribute; 18 19 import java.io.DataInput ; 20 import java.io.IOException ; 21 import org.cojen.classfile.Attribute; 22 import org.cojen.classfile.ConstantPool; 23 24 31 public class SyntheticAttr extends Attribute { 32 33 public SyntheticAttr(ConstantPool cp) { 34 super(cp, SYNTHETIC); 35 } 36 37 public SyntheticAttr(ConstantPool cp, String name) { 38 super(cp, name); 39 } 40 41 public SyntheticAttr(ConstantPool cp, String name, int length, DataInput din) 42 throws IOException 43 { 44 super(cp, name); 45 if (length > 0) { 46 din.skipBytes(length); 47 } 48 } 49 50 public int getLength() { 51 return 0; 52 } 53 } 54 55 | Popular Tags |