1 32 33 package com.jeantessier.classreader; 34 35 import java.io.*; 36 37 import org.apache.oro.text.perl.*; 38 39 public abstract class ConstantPoolEntry implements Visitable { 40 public static final byte CONSTANT_Class = 7; 41 public static final byte CONSTANT_Fieldref = 9; 42 public static final byte CONSTANT_Methodref = 10; 43 public static final byte CONSTANT_InterfaceMethodref = 11; 44 public static final byte CONSTANT_String = 8; 45 public static final byte CONSTANT_Integer = 3; 46 public static final byte CONSTANT_Float = 4; 47 public static final byte CONSTANT_Long = 5; 48 public static final byte CONSTANT_Double = 6; 49 public static final byte CONSTANT_NameAndType = 12; 50 public static final byte CONSTANT_Utf8 = 1; 51 52 private ConstantPool constantPool; 53 54 protected ConstantPoolEntry(ConstantPool constantPool) { 55 this.constantPool = constantPool; 56 } 57 58 public ConstantPool getConstantPool() { 59 return constantPool; 60 } 61 } 62 | Popular Tags |