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