|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConstInfoFactory
This interface defines the methods every factory implementation class meant for instantiating ConstantInfo objects has to provide.
Field Summary | |
---|---|
static int |
CONSTANT_Class
Tag identifying a CONSTANT_Class |
static int |
CONSTANT_Double
Tag identifying a CONSTANT_Double |
static int |
CONSTANT_Fieldref
Tag identifying a CONSTANT_Fieldref |
static int |
CONSTANT_Float
Tag identifying a CONSTANT_Float |
static int |
CONSTANT_Integer
Tag identifying a CONSTANT_Integer |
static int |
CONSTANT_InterfaceMethodref
Tag identifying a CONSTANT_InterfaceMethodref |
static int |
CONSTANT_Long
Tag identifying a CONSTANT_Long |
static int |
CONSTANT_Methodref
Tag identifying a CONSTANT_Methodref |
static int |
CONSTANT_NameAndType
Tag identifying a CONSTANT_NameAndType |
static int |
CONSTANT_String
Tag identifying a CONSTANT_String |
static int |
CONSTANT_Unusable_Entry
Tag identifying an unusable constant pool table entry |
static int |
CONSTANT_Utf8
Tag identifying a CONSTANT_Utf8 |
Method Summary | |
---|---|
ConstantInfo |
getInstance(java.io.DataInputStream dis)
This method returns a velid constantInfo instance iff the provided input
stream contains at the current position a legal constantInfo identifier (or
tag), followed by all the necessary information as defined by the Java VM Specification
chapter 4. |
ConstantInfo |
getInstance(java.io.DataInputStream dis,
Dna dna)
This method returns a velid constantInfo instance iff the provided input
stream contains at the current position a legal constantInfo identifier (or
tag), followed by all the necessary information as defined by the Java VM Specification
chapter 4. |
ConstantInfo |
getInstance(int tag)
The returned instance belongs to the type defined by the provided tag. |
ConstantInfo |
getInstance(int tag,
java.io.DataInputStream dis)
The returned instance belongs to the type defined by the provided tag. |
Field Detail |
---|
static final int CONSTANT_Class
CONSTANT_Class
static final int CONSTANT_Fieldref
CONSTANT_Fieldref
static final int CONSTANT_Methodref
CONSTANT_Methodref
static final int CONSTANT_InterfaceMethodref
CONSTANT_InterfaceMethodref
static final int CONSTANT_String
CONSTANT_String
static final int CONSTANT_Integer
CONSTANT_Integer
static final int CONSTANT_Float
CONSTANT_Float
static final int CONSTANT_Long
CONSTANT_Long
static final int CONSTANT_Double
CONSTANT_Double
static final int CONSTANT_NameAndType
CONSTANT_NameAndType
static final int CONSTANT_Utf8
CONSTANT_Utf8
static final int CONSTANT_Unusable_Entry
Method Detail |
---|
ConstantInfo getInstance(java.io.DataInputStream dis, Dna dna) throws DnaDeserializationException, UnknownConstantPoolTableEntryException
constantInfo
instance iff the provided input
stream contains at the current position a legal constantInfo
identifier (or
tag), followed by all the necessary information as defined by the Java VM Specification
chapter 4.
dis
- The input stream opened over the Java class filedna
- The current Dna
instance the generated ConstantInfo
will belong to
constantInfo
instance
DnaDeserializationException
UnknownConstantPoolTableEntryException
ConstantInfo getInstance(java.io.DataInputStream dis) throws DnaDeserializationException, UnknownConstantPoolTableEntryException
constantInfo
instance iff the provided input
stream contains at the current position a legal constantInfo
identifier (or
tag), followed by all the necessary information as defined by the Java VM Specification
chapter 4.
dis
- The input stream opened over the Java class file
constantInfo
instance
DnaDeserializationException
UnknownConstantPoolTableEntryException
ConstantInfo getInstance(int tag, java.io.DataInputStream dis) throws DnaDeserializationException, UnknownConstantPoolTableEntryException
tag
- The type of the required ConstantInfodis
- The stream useful for populating the ConstantInfo
DnaDeserializationException
UnknownConstantPoolTableEntryException
ConstantInfo getInstance(int tag) throws DnaDeserializationException, UnknownConstantPoolTableEntryException
tag
- The type of the required ConstantInfo
DnaDeserializationException
UnknownConstantPoolTableEntryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |