public abstract class ConstantPoolEntry extends ClassFileEntry
Modifier and Type | Field and Description |
---|---|
static byte |
CP_Class |
static byte |
CP_Double |
static byte |
CP_Fieldref |
static byte |
CP_Float |
static byte |
CP_Integer |
static byte |
CP_InterfaceMethodref |
static byte |
CP_Long |
static byte |
CP_Methodref |
static byte |
CP_NameAndType |
static byte |
CP_String |
static byte |
CP_UTF8 |
protected int |
globalIndex |
NONE
Modifier and Type | Method and Description |
---|---|
void |
doWrite(DataOutputStream dos) |
abstract boolean |
equals(Object obj) |
int |
getGlobalIndex() |
byte |
getTag() |
abstract int |
hashCode() |
protected abstract void |
writeBody(DataOutputStream dos) |
getNestedClassFileEntries, objectHashCode, resolve, toString, write
public static final byte CP_Class
public static final byte CP_Double
public static final byte CP_Fieldref
public static final byte CP_Float
public static final byte CP_Integer
public static final byte CP_InterfaceMethodref
public static final byte CP_Long
public static final byte CP_Methodref
public static final byte CP_NameAndType
public static final byte CP_String
public static final byte CP_UTF8
protected int globalIndex
public void doWrite(DataOutputStream dos) throws IOException
doWrite
in class ClassFileEntry
IOException
public abstract boolean equals(Object obj)
equals
in class ClassFileEntry
public int getGlobalIndex()
public byte getTag()
public abstract int hashCode()
hashCode
in class ClassFileEntry
protected abstract void writeBody(DataOutputStream dos) throws IOException
IOException
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.