1 32 33 package com.jeantessier.classreader; 34 35 import java.io.*; 36 37 public class UTF8_info extends ConstantPoolEntry { 38 private String value; 39 40 public UTF8_info(ConstantPool constantPool, DataInputStream in) throws IOException { 41 super(constantPool); 42 43 value = in.readUTF(); 44 } 45 46 public String getValue() { 47 return value; 48 } 49 50 public String toString() { 51 return getValue(); 52 } 53 54 public void accept(Visitor visitor) { 55 visitor.visitUTF8_info(this); 56 } 57 } 58 | Popular Tags |