1 9 package com.vladium.jcd.cls.attribute; 10 11 import java.io.IOException ; 12 13 import com.vladium.jcd.lib.UDataOutputStream; 14 15 38 public 39 final class SyntheticAttribute_info extends Attribute_info 40 { 41 43 44 public SyntheticAttribute_info (final int attribute_name_index) 45 { 46 super (attribute_name_index, 0); 47 } 48 49 50 public long length () 51 { 52 return 6; 53 } 54 55 57 public void accept (final IAttributeVisitor visitor, final Object ctx) 58 { 59 visitor.visit (this, ctx); 60 } 61 62 public String toString () 63 { 64 return "SyntheticValueAttribute_info: [attribute_name_index = " + m_name_index + ", attribute_length = " + m_attribute_length + ']'; 65 } 66 67 69 72 public Object clone () 73 { 74 return super.clone (); 75 } 76 77 79 public void writeInClassFormat (final UDataOutputStream out) throws IOException 80 { 81 super.writeInClassFormat (out); 82 } 83 84 86 88 89 SyntheticAttribute_info (final int attribute_name_index, final long attribute_length) 90 { 91 super (attribute_name_index, attribute_length); 92 } 93 94 96 } 99 | Popular Tags |