1 32 33 package com.jeantessier.classreader; 34 35 import java.io.*; 36 37 import org.apache.log4j.*; 38 39 public class Deprecated_attribute extends Attribute_info { 40 public Deprecated_attribute(Classfile classfile, Visitable owner, DataInputStream in) throws IOException { 41 super(classfile, owner); 42 43 int byteCount = in.readInt(); 44 Logger.getLogger(getClass()).debug("Attribute length: " + byteCount); 45 } 46 47 public String toString() { 48 return "Deprecated"; 49 } 50 51 public void accept(Visitor visitor) { 52 visitor.visitDeprecated_attribute(this); 53 } 54 } 55 56 | Popular Tags |