All Packages Class Hierarchy This Package Previous Next Index
Class lti.java.jcf.JcfCodeAttribute
java.lang.Object
|
+----lti.java.jcf.JcfAttribute
|
+----lti.java.jcf.JcfCodeAttribute
- public class JcfCodeAttribute
- extends JcfAttribute
The attribute "Code". Includes symbolic information, JVM bytecode, and exceptions.
-
catCode
-
-
catExceptionTable
-
-
catExtraAttributes
- "Code" attributes may contain nested "LineNumberTable" and other attributes.
-
catMaxLocals
-
-
catMaxStack
-
-
JcfCodeAttribute(JcfClassInput, short, JcfConstantPool)
-
-
readCode(JcfClassInput)
-
-
readData(JcfClassInput)
- Reads header data, then calls readCode to read in the bytecode.
-
write(JcfClassOutput)
- In order to calculate the correct updated atrLength field, creates a new
ByteArrayOutputStream to buffer the Code attribute specific data and any
subattributes.
-
writeCode(JcfClassOutput)
-
catMaxStack
public short catMaxStack
catMaxLocals
public short catMaxLocals
catCode
public byte catCode[]
catExceptionTable
public JcfExceptionTable catExceptionTable
catExtraAttributes
public JcfAttributeCollection catExtraAttributes
- "Code" attributes may contain nested "LineNumberTable" and other attributes.
JcfCodeAttribute
public JcfCodeAttribute(JcfClassInput ist,
short nameIndex,
JcfConstantPool p) throws IOException, ClassFormatError
readData
public void readData(JcfClassInput ist) throws IOException, ClassFormatError
- Reads header data, then calls readCode to read in the bytecode.
- Overrides:
- readData in class JcfAttribute
write
public void write(JcfClassOutput ost) throws IOException
- In order to calculate the correct updated atrLength field, creates a new
ByteArrayOutputStream to buffer the Code attribute specific data and any
subattributes. Then, the superclass write() is called.
- Overrides:
- write in class JcfAttribute
writeCode
public void writeCode(JcfClassOutput ost) throws IOException, ClassFormatError
readCode
public void readCode(JcfClassInput ist) throws IOException, ClassFormatError
All Packages Class Hierarchy This Package Previous Next Index