- AALOAD - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- AASTORE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_ABSTRACT - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_FINAL - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_INTERFACE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_NATIVE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_PRIVATE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_PROTECTED - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_PUBLIC - Static variable in interface com.claritysys.jvm.classfile.JVM
-
Access flags for classes, fields and methods.
- ACC_STATIC - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_STRICT - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_SUPER - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_SYNCHRONIZED - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_TRANSIENT - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACC_VOLATILE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACCESS_NAMES - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ACONST_NULL - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- add(short) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Append an opcode that takes no arguments.
- add(short, long) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add an xLCONST instruction, with a long parameter.
- add(short, double) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
- add(short, int) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add an instruction that takes a single byte, short, or int parameter.
- add(short, Class) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add an opcode that takes a CONSTANT_Class_info index.
- add(short, CpClass) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add an opcode that takes a CONSTANT_Class_info index.
- add(short, String) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Process an opcode with a single String argument -- obviously no opcodes
actually take a String as an argument, so the argument must first be
converted into a constant String index, a constant methodref index, or a
constant class index.
- add(short, String, int) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add a MULTIANEWARRAY instruction, the only instruction
with this particular format.
- add(short, String, String) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Process an opcode that can concievably take two String
arguments ...
- add(short, Label) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add a branch instruction, to branch to the given Label.
- add(short, String, String, Class, Class[]) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
A convenient form for a methodref based opcode, especially when dealing
with Java Method reflection.
- add(short, String, String, String) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add an opcode that takes a CpRef (MethodRef) as an argument.
- add(short, CfField) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add a field opcode, such as PUTFIELD, GETFIELD, PUTSTATIC, GETSTATIC.
- add(short, CfMethod) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add a method opcode such as INVOKEVIRTUAL.
- add(short, CpRef) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add a field or method opcode.
- add(short, LocalVariable) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Add a LOAD/STORE instruction referencing the given local variable.
- add(short, LocalVariable, int) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Generate an IINC, which takes both a local and an amount.
- addCachedType(ClassFile) - Method in class com.claritysys.jvm.builder.ArrayClassLoader
-
- addCachedType(String, byte[]) - Method in class com.claritysys.jvm.builder.ArrayClassLoader
-
- addClass(Class) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given Class in the CpClass entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addClass(String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given Class in the CpClass entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addClass(CpUtf8) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given String in the Utf8 entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addDouble(double) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_DOUBLE entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addField(int, String, String) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Add a new field to the class.
- addField(int, String, Class) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Add a new field.
- addField(int, int, int) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Add a new field to the class.
- addField(int, String, CpClass) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Add a new object field to the class, having the type of the given
CpClass signature.
- addFieldRef(String, String, String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_FIELDREF entries of the
hashtable, returning the existing entry if found or adding a new entry if
needed.
- addFieldRef(CpClass, String, String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_FIELDREF entries of the
hashtable, returning the existing entry if found or adding a new entry if
needed.
- addFieldRef(int, int, int) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Build a methodref from the given class, name, and descriptor indexes.
- addFieldRefJL(String, String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Add the given field reference to the pool, or find an existing reference.
- addFloat(float) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_FLOAT entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addHandler(ExceptionHandler) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- addHandler(int, int, int, CpClass) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- addIMethodRef(String, String, String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_INTERFACE_METHODREF entries
of the hashtable, returning the existing entry if found or adding a new
entry if needed.
- addIMethodRef(CpClass, String, String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_INTERFACE_METHODREF entries
of the hashtable, returning the existing entry if found or adding a new
entry if needed.
- addImport(String) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Convenience method to add import to ConstantPool SigConverter.
- addImport(String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Add an important for the given class, so the "short" name can be used
for method or field references.
- addImport(Class) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Add an important for the given class, so the "short" name can be used
for method or field references.
- addImport(String) - Method in class com.claritysys.jvm.classfile.SigConverter
-
Import the given class, returning its short name.
- addInteger(int) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the entry int in the TAG_INTEGER entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addInterface(String) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Append the given interface to the list implemented by this class.
- addInterface(Class) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Append the given interface to the list implemented by this class.
- addJavaClass(String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given Class in the CpClass entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addLine(LineNumber) - Method in class com.claritysys.jvm.classfile.CfMethod
-
Append the given line number to the end of the linked-list of locals
for this line number table.
- addLocal(LocalVariable) - Method in class com.claritysys.jvm.builder.CodeBlock
-
Add a local variable to this block's scope, to be declared in the
containing CfMethod once the block is ended.
- addLocal(String, String) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Declare a local variable within the current code block (within the
method if there is no active code block).
- addLocal(String) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
- addLocal(CpClass) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
- addLocal(CpClass, String) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
- addLocal(LocalVariable) - Method in class com.claritysys.jvm.classfile.CfMethod
-
Append the given local to the end of the linked-list of locals for this
local variable table.
- addLong(long) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_LONG entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addMethod(int, String) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Add a new method to the class.
- addMethod(int, String, String) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Add a new method to the class.
- addMethodRef(boolean, String, String, String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_METHODREF entries of the
hashtable, returning the existing entry if found or adding a new entry if
needed.
- addMethodRef(boolean, CpClass, String, String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Add CpRef method reference to constant pool, or find existing one.
- addMethodRef(boolean, CpClass, String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
A short form for adding CpRef's for methods.
- addMethodRef(CpClass, String, String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_METHODREF entries of the
hashtable, returning the existing entry if found or adding a new entry if
needed.
- addMethodRef(int, int, int) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Build a methodref from the given class, name, and descriptor indexes.
- addNameAndType(CpUtf8, CpUtf8) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_NAME_AND_TYPE entries of the
hashtable, returning the existing entry if found or adding a new entry if
needed.
- addNameAndType(String, String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_NAME_AND_TYPE entries of the
hashtable, returning the existing entry if found or adding a new entry if
needed.
- addRef(byte, CpClass, CpNameAndType) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the [tag] entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addString(String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_STRING entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addString(CpUtf8) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given entry in the TAG_STRING entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- addUtf8(String) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Search for the given String in the Utf8 entries of the hashtable,
returning the existing entry if found or adding a new entry if needed.
- adjustStack(int) - Method in class com.claritysys.jvm.builder.ByteArray
-
Adjust the stack pointer, updating maxStack if appropriate.
- ALOAD - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ALOAD_0 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ALOAD_1 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ALOAD_2 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ALOAD_3 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ANEWARRAY - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ANEWARRAY_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ARETURN - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ArrayClassLoader - Class in com.claritysys.jvm.builder
-
ClassLoader that loads from a byte[] in memory.
- ArrayClassLoader() - Constructor for class com.claritysys.jvm.builder.ArrayClassLoader
-
- ArrayClassLoader(ClassLoader) - Constructor for class com.claritysys.jvm.builder.ArrayClassLoader
-
- ARRAYLENGTH - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- Assertions - Class in com.claritysys.jvm.classfile
-
Enable / disable assertions.
- Assertions() - Constructor for class com.claritysys.jvm.classfile.Assertions
-
- assertTrue(boolean, Object) - Static method in class com.claritysys.jvm.classfile.Assertions
-
- ASTORE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ASTORE_0 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ASTORE_1 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ASTORE_2 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ASTORE_3 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ATHROW - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ATTR_CODE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ATTR_CONSTANT_VALUE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ATTR_DEPRECATED - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ATTR_EXCEPTIONS - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ATTR_LINE_NUMBER_TABLE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ATTR_LOCAL_VARIABLE_TABLE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ATTR_SOURCE_FILE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ATTR_SYNTHETIC - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- Attribute - Class in com.claritysys.jvm.classfile
-
An attribute list within a class, field, method, or code attribute.
- Attribute(int, int, byte[]) - Constructor for class com.claritysys.jvm.classfile.Attribute
-
Create a new attribute.
- AttributeHandler - Interface in com.claritysys.jvm.classfile
-
A callback interface, to intercept attributes as they are being read.
- BALOAD - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- BASTORE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- BcUtils - Class in com.claritysys.jvm.builder
-
Utility methods for generating common methods/operations into generated
ClassFiles.
- BcUtils() - Constructor for class com.claritysys.jvm.builder.BcUtils
-
- BIPUSH - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- blockCatch(LocalVariable) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start a catch block, for catching the exception with
the same type as the given local variable and storing
it automatically in that variable (adds an ASTORE automatically).
- blockCatch(String) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start a catch block to catch the given type.
- blockElse() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an else block.
- blockEnd() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
End the current block, be it a generic block, and if/else block,
or a try/catch/finally block.
- blockFinally() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start the finally clause.
- blockIf(short) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an If block, executing the THEN block if the given opcode fails
to branch.
- blockIfEQ() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an If block, executing the THEN block if the stack operand is
equal to zero.
- blockIfEQ(int) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an If block, executing the THEN block if the top two
primitive operands are equal in value (of the given type).
- blockIfFalse() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an If block, executing the THEN block if the stack operand
is equal to zero (aka "false").
- blockIfNE() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an If block, executing the THEN block if the stack operand is
not equal to zero.
- blockIfNotNull() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an If block, executing the THEN block if the stack operand
is not null.
- blockIfNull() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an If block, executing the THEN block if the stack operand
is null.
- blockIfObjectsEQ() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an If block, executing the THEN block block if the two top stack
operands are equivalent object references (IF_ACMPEQ).
- blockIfObjectsNE() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an If block, executing the THEN block block if the two top stack
operands are different object references (IF_ACMPNE).
- blockIfTrue() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start an If block, executing the THEN block if the stack operand
is not equal to zero (aka "true").
- blockStart() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Start a generic (ie, "scope") block.
- blockTry() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Begin a try/catch/finally block.
- BRANCH - Static variable in interface com.claritysys.jvm.disassembler.OpcodeInfo
-
- BRANCH_W - Static variable in interface com.claritysys.jvm.disassembler.OpcodeInfo
-
- BREAKPOINT - Static variable in interface com.claritysys.jvm.classfile.JVM
-
Non-legal opcodes, may be used by JVM internally.
- ByteArray - Class in com.claritysys.jvm.builder
-
ByteArray is like java.util.ArrayList, except that its contents are primitive
bytes.
- ByteArray() - Constructor for class com.claritysys.jvm.builder.ByteArray
-
Create a new byte array with the default capacity of 256.
- ByteArray(int) - Constructor for class com.claritysys.jvm.builder.ByteArray
-
Create a new byte array with the given initialize capacity.
- CALOAD - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CASTORE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CatchBlock - Class in com.claritysys.jvm.builder
-
A Catch block.
- CatchBlock(CodeBuilder, TryBlock, CpClass) - Constructor for class com.claritysys.jvm.builder.CatchBlock
-
- CfEntry - Class in com.claritysys.jvm.classfile
-
An entry of a classfile, i.e.
- CfEntry() - Constructor for class com.claritysys.jvm.classfile.CfEntry
-
Create a new entry with no initial value for the access flags.
- CfEntry(int) - Constructor for class com.claritysys.jvm.classfile.CfEntry
-
Create a new entry with the given access flags.
- CfField - Class in com.claritysys.jvm.classfile
-
A field declared within a ClassFile.
- CfField(ClassFile) - Constructor for class com.claritysys.jvm.classfile.CfField
-
- CfFieldOrMethod - Class in com.claritysys.jvm.classfile
-
- CfFieldOrMethod(ClassFile) - Constructor for class com.claritysys.jvm.classfile.CfFieldOrMethod
-
Create a new field or method belonging to the given Classfile.
- CfMethod - Class in com.claritysys.jvm.classfile
-
A method declared within a ClassFile.
- CfMethod(ClassFile) - Constructor for class com.claritysys.jvm.classfile.CfMethod
-
- CHECKCAST - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CHECKCAST_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ClassFile - Class in com.claritysys.jvm.classfile
-
ClassFile represents a Java class file (as stored on disk), as per the
Java Virtual Machine Specification, 2nd Edition, and exposes the
attributes of a classfile in convenient Java data formats (e.g., int as
opposed to U2).
- ClassFile(String, String, String) - Constructor for class com.claritysys.jvm.classfile.ClassFile
-
Create a new ClassFile.
- ClassFile(ConstantPool, String, String, String) - Constructor for class com.claritysys.jvm.classfile.ClassFile
-
Create a new ClassFile, using the given ConstantPool as a template.
- ClassFileFormatException - Exception in com.claritysys.jvm.classfile
-
An exception that indicates an unrecoverable error ocurred while reading a class file from a stream.
- ClassFileFormatException() - Constructor for exception com.claritysys.jvm.classfile.ClassFileFormatException
-
Constructs a ClassFileFormatException
with no specified detail message.
- ClassFileFormatException(String) - Constructor for exception com.claritysys.jvm.classfile.ClassFileFormatException
-
Constructs a ClassFileFormatException
with the specified detail message.
- clearEndLabel() - Method in class com.claritysys.jvm.builder.CodeBlock
-
Clear the end label (set it to null).
- clone() - Method in class com.claritysys.jvm.classfile.CpEntry
-
Clone the entry (shallow copy).
- code - Variable in class com.claritysys.jvm.builder.CodeBlock
-
The byte[] being written to.
- CodeBlock - Class in com.claritysys.jvm.builder
-
Represents a code block, which defines a scope for local
variables.
- CodeBlock(CodeBuilder) - Constructor for class com.claritysys.jvm.builder.CodeBlock
-
Create a new CodeBlock.
- codeBuilder - Variable in class com.claritysys.jvm.builder.CodeBlock
-
The code builder.
- CodeBuilder - Class in com.claritysys.jvm.builder
-
Factory for building AttrCode objects for CfMethods, eg for generating
bytecode.
- CodeBuilder(CfMethod) - Constructor for class com.claritysys.jvm.builder.CodeBuilder
-
Create a new builder attached to the given method.
- CodeIterator - Class in com.claritysys.jvm.disassembler
-
- CodeIterator(Disassembler, CfMethod, int) - Constructor for class com.claritysys.jvm.disassembler.CodeIterator
-
- CodeIterator.LineMarker - Class in com.claritysys.jvm.disassembler
-
- CodeIterator.LineMarker() - Constructor for class com.claritysys.jvm.disassembler.CodeIterator.LineMarker
-
- com.claritysys.jvm.builder - package com.claritysys.jvm.builder
-
- com.claritysys.jvm.classfile - package com.claritysys.jvm.classfile
-
- com.claritysys.jvm.disassembler - package com.claritysys.jvm.disassembler
-
- com.claritysys.jvm.sample - package com.claritysys.jvm.sample
-
- compare(Object, Object) - Method in class com.claritysys.jvm.disassembler.CodeIterator.LineMarker
-
- computeHash() - Method in class com.claritysys.jvm.classfile.CpClass
-
- computeHash() - Method in class com.claritysys.jvm.classfile.CpEntry
-
Signal the entry to recompute (and store) its hashcode.
- computeHash() - Method in class com.claritysys.jvm.classfile.CpNameAndType
-
- computeHash() - Method in class com.claritysys.jvm.classfile.CpRef
-
- computeHash() - Method in class com.claritysys.jvm.classfile.CpString
-
- computeHash() - Method in class com.claritysys.jvm.classfile.CpUtf8
-
- computeHash() - Method in class com.claritysys.jvm.classfile.CpValue1
-
- computeHash() - Method in class com.claritysys.jvm.classfile.CpValue2
-
- CONST_I1 - Static variable in interface com.claritysys.jvm.disassembler.OpcodeInfo
-
- CONST_I2 - Static variable in interface com.claritysys.jvm.disassembler.OpcodeInfo
-
- CONST_INDEX_2U2 - Static variable in interface com.claritysys.jvm.disassembler.OpcodeInfo
-
- CONST_INDEX_U1 - Static variable in interface com.claritysys.jvm.disassembler.OpcodeInfo
-
- CONST_INDEX_U2 - Static variable in interface com.claritysys.jvm.disassembler.OpcodeInfo
-
- CONST_U1 - Static variable in interface com.claritysys.jvm.disassembler.OpcodeInfo
-
- CONSTANT_Class - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_Double - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_Fieldref - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_Float - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_Integer - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_InterfaceMethodref - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_Long - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_Methodref - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_NameAndType - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_NAMES - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_String - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- CONSTANT_Utf8 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
Tags in constant pool to denote type of constant.
- ConstantPool - Class in com.claritysys.jvm.classfile
-
Models the java classfile constant pool, and provides the ability to
dynamically construct or modify a constant pool.
- ConstantPool() - Constructor for class com.claritysys.jvm.classfile.ConstantPool
-
Create a new, empty constant pool.
- ConstantPool(boolean) - Constructor for class com.claritysys.jvm.classfile.ConstantPool
-
Create a new, empty constant pool, with the default size, and
automatically add all CpClass entries to the SigConverter import list.
- ConstantPool(int) - Constructor for class com.claritysys.jvm.classfile.ConstantPool
-
Create a new, empty constant pool with the given initial capacity.
- ConstantPool(ConstantPool) - Constructor for class com.claritysys.jvm.classfile.ConstantPool
-
Create a new pool from the given template pool.
- CONSTRUCTOR_NAME - Static variable in interface com.claritysys.jvm.classfile.JVM
-
The name of every constructor method in a class, also called
"instance initialization method".
- CONSUME_STACK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
Number of words consumed on operand stack by instructions.
- CpClass - Class in com.claritysys.jvm.classfile
-
A CONSTANT_Class entry in the constant pool.
- CpClass(ConstantPool) - Constructor for class com.claritysys.jvm.classfile.CpClass
-
- CpEntry - Class in com.claritysys.jvm.classfile
-
An entry in the constant pool for a ClassFile.
- CpEntry(ConstantPool, byte, int) - Constructor for class com.claritysys.jvm.classfile.CpEntry
-
Create a new CpEntry in the given pool, with the given hashcode.
- CpNameAndType - Class in com.claritysys.jvm.classfile
-
A CONSTANT_NameAndType entry in the constant pool.
- CpRef - Class in com.claritysys.jvm.classfile
-
A CONSTANT_{Field,Method,InterfaceMethod}Ref entry in the constant pool.
- CpString - Class in com.claritysys.jvm.classfile
-
A CONSTANT_String entry in the constant pool.
- CpUtf8 - Class in com.claritysys.jvm.classfile
-
Constant UTF8 constant-pool entry.
- CpUtf8(ConstantPool) - Constructor for class com.claritysys.jvm.classfile.CpUtf8
-
Create a new entry which will be read eventually from a stream.
- CpValue1 - Class in com.claritysys.jvm.classfile
-
A CONSTANT_Integer or CONSTANT_Float entry in the constant pool.
- CpValue2 - Class in com.claritysys.jvm.classfile
-
A CONSTANT_Long or CONSTANT_Double entry in the constant pool.
- createLabel() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Create a new Label to be used in branch/goto instructions.
- createLocalsFromSignature() - Method in class com.claritysys.jvm.classfile.CfMethod
-
Based on the method signature, automatically build a set of matching
LocalVariables.
- getAccessFlags() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return the access flags, as an int.
- getArgPtr() - Method in class com.claritysys.jvm.disassembler.CodeIterator
-
- getArgTypes(String) - Method in class com.claritysys.jvm.classfile.SigConverter
-
Parse the arg types of the method signature.
- getAttributeCount() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Count the number of Attributes in getAttributes.
- getAttributes() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return the optional linked list of unknown attributes.
- getByteArray() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Returns the ByteArray that bytecode is written to.
- getBytes() - Method in class com.claritysys.jvm.builder.ByteArray
-
Get the underlying byte[] -- this does not create a new
byte[], it returns the actual byte[] being used.
- getBytes() - Method in class com.claritysys.jvm.disassembler.CodeIterator
-
- getClassCp() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getClassFile() - Method in class com.claritysys.jvm.classfile.CfFieldOrMethod
-
- getClassIndex() - Method in class com.claritysys.jvm.classfile.ClassFile
-
Return the index into the constant pool that holds the name of the class.
- getClassName() - Method in class com.claritysys.jvm.classfile.ClassFile
-
Return the fully qualify VM formatted name of this class, eg the string
as defined in the constant pool which defines the full name of this
class.
- getCode() - Method in class com.claritysys.jvm.builder.ByteArray
-
Get the resulting byte[] -- this creates a NEW byte[]
with only the contents!
- getCode() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getCodeAttributes() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getCodeBuilder() - Method in class com.claritysys.jvm.classfile.CfMethod
-
Return a CodeBuilder for constructing the method code attribute.
- getCodeBuilder(CfMethod) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Initialize and return a CodeBuilder for constructing the bytecode
of the given method.
- getConstantPool() - Method in class com.claritysys.jvm.classfile.CfFieldOrMethod
-
- getConstantPool() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getConstantValue() - Method in class com.claritysys.jvm.classfile.CfField
-
- getCount() - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Return count of entries in pool.
- getCpClass() - Method in class com.claritysys.jvm.classfile.CpRef
-
- getDescriptor() - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- getDescriptorIndex() - Method in class com.claritysys.jvm.classfile.CfFieldOrMethod
-
- getEndLabel() - Method in class com.claritysys.jvm.builder.CodeBlock
-
Return a label that will be defined when the block ends.
- getEndPC() - Method in class com.claritysys.jvm.builder.CodeBlock
-
- getEndPc() - Method in class com.claritysys.jvm.classfile.ExceptionHandler
-
- getError() - Method in class com.claritysys.jvm.disassembler.IndentingWriter
-
- getExceptionClassIndex() - Method in class com.claritysys.jvm.classfile.ExceptionHandler
-
- getExceptionCps() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getField(String) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Lookup a field in this classfile by name.
- GETFIELD - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- GETFIELD2_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- GETFIELD_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- GETFIELD_QUICK_W - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- getFieldCount() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getFields() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getFormattedType(String) - Method in class com.claritysys.jvm.disassembler.Disassembler
-
TypeFormatter.getFormattedType
- getFormattedType(String) - Method in interface com.claritysys.jvm.disassembler.Signature.TypeFormatter
-
- getFullName(String) - Method in class com.claritysys.jvm.classfile.SigConverter
-
Return the full name for the given short name.
- getHandlerCount() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getHandlerPc() - Method in class com.claritysys.jvm.classfile.ExceptionHandler
-
- getHandlers() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getI2(int) - Method in class com.claritysys.jvm.builder.ByteArray
-
Get a 16-bit short from the given offset.
- getIndex() - Method in class com.claritysys.jvm.classfile.CpEntry
-
Get this entry's index in the constant pool.
- getIndex() - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- getInfo() - Method in class com.claritysys.jvm.classfile.Attribute
-
- getInterfaceNames() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getInterfaces() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getLastHandler() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getLastLine() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getLastLocal() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getLength() - Method in class com.claritysys.jvm.classfile.Attribute
-
- getLength() - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- getLine() - Method in class com.claritysys.jvm.classfile.LineNumber
-
- getLineCount() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getLines() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getLocal(int) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Return the LocalVariable currently occupying the requested local variable
index.
- getLocal(int) - Method in class com.claritysys.jvm.classfile.CfMethod
-
Return the first found local variable that occupies the given index.
- getLocalName(CfMethod, int) - Static method in class com.claritysys.jvm.disassembler.CodeIterator
-
- getLocalName(int) - Method in class com.claritysys.jvm.disassembler.CodeIterator
-
- getLocals() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getLocalsCount() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getMajor() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getMarker() - Method in class com.claritysys.jvm.disassembler.CodeIterator
-
- getMarkerAtOffset(int) - Method in class com.claritysys.jvm.disassembler.CodeIterator
-
- getMarkerAtPC(int) - Method in class com.claritysys.jvm.disassembler.CodeIterator
-
- getMaxLocals() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
- getMaxLocals() - Method in class com.claritysys.jvm.classfile.CfMethod
-
Max local variable index as per class file specification.
- getMaxStack() - Method in class com.claritysys.jvm.builder.ByteArray
-
Return max stack size -- note that ByteArray cannot entirely compute
this on its own using the opcode tables, for fields and methods the
CodeBuilder must manually adjust the stack.
- getMaxStack() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
- getMaxStack() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getMethod() - Method in class com.claritysys.jvm.builder.CodeBlock
-
Get the method builder.
- getMethod() - Method in class com.claritysys.jvm.builder.CodeBuilder
-
- getMethod(String, String) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Lookup a method by name and signature.
- getMethod() - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- getMethodCount() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getMethodReturnType(String) - Static method in class com.claritysys.jvm.classfile.Utils
-
Determine the return type of the method, given its VM signature.
- getMethods() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getMethodStackWords(String) - Static method in class com.claritysys.jvm.classfile.Utils
-
Count the number of stack words needed to hold the parameters for the
given method signature.
- getMinor() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getName() - Method in class com.claritysys.jvm.classfile.CfFieldOrMethod
-
- getName() - Method in class com.claritysys.jvm.classfile.CpClass
-
- getName() - Method in class com.claritysys.jvm.classfile.CpNameAndType
-
- getName() - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- getNameAndType() - Method in class com.claritysys.jvm.classfile.CpRef
-
- getNameIndex() - Method in class com.claritysys.jvm.classfile.Attribute
-
- getNameIndex() - Method in class com.claritysys.jvm.classfile.CfFieldOrMethod
-
- getNext() - Method in class com.claritysys.jvm.classfile.Attribute
-
- getNext() - Method in class com.claritysys.jvm.classfile.CfField
-
- getNext() - Method in class com.claritysys.jvm.classfile.CfMethod
-
- getNext() - Method in class com.claritysys.jvm.classfile.ExceptionHandler
-
- getNext() - Method in class com.claritysys.jvm.classfile.LineNumber
-
- getNext() - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- getNextMarker() - Method in class com.claritysys.jvm.disassembler.CodeIterator
-
- getNonStaticStackSize() - Method in class com.claritysys.jvm.classfile.CpRef
-
Get the number of stack parameters specified by the signature.
- getOffset(boolean) - Method in class com.claritysys.jvm.builder.Label
-
Return the offset to write to the byte[] from the given offset,
depending on whether a short or int offset is needed, in order to
branch to this label from the current PC location.
- getOpCount() - Method in class com.claritysys.jvm.disassembler.CodeIterator
-
- getPackage() - Method in class com.claritysys.jvm.classfile.ClassFile
-
Return the package portion of the class name in VM format (with "/" instead of ".").
- getParameter(int) - Method in class com.claritysys.jvm.disassembler.Signature
-
Get the nth parameter.
- getParameterCount(String) - Static method in class com.claritysys.jvm.classfile.Utils
-
Count how many parameters there are in the given method signature.
- getParameterCount() - Method in class com.claritysys.jvm.disassembler.Signature
-
How many parameters does the method take?
- getParameters(String) - Static method in class com.claritysys.jvm.classfile.Utils
-
Return an array of strings representing the individual parameters of the
given VM-formatted method signature.
- getPC() - Method in class com.claritysys.jvm.builder.ByteArray
-
Allow us to think of the size as the Program Counter.
- getPc() - Method in class com.claritysys.jvm.classfile.LineNumber
-
- getPc() - Method in class com.claritysys.jvm.disassembler.CodeIterator
-
- getPoolEntry(int) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Get the index'th entry in pool.
- getRef() - Method in class com.claritysys.jvm.classfile.CfField
-
Return a Cp(Method)Ref for invoking this method.
- getRef() - Method in class com.claritysys.jvm.classfile.CfMethod
-
Return a Cp(Method)Ref for invoking this method.
- getReturnType() - Method in class com.claritysys.jvm.classfile.CfMethod
-
Return the return type of this method as one of the JVM.T_XXX
constants.
- getReturnType(String) - Method in class com.claritysys.jvm.classfile.SigConverter
-
Parse the return type of the method signature.
- getSigConverter() - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Get the (optional) SigConverter for converting from Java-friendly
syntax to VM syntax.
- getSignature() - Method in class com.claritysys.jvm.classfile.CfFieldOrMethod
-
- getSize() - Method in class com.claritysys.jvm.builder.ByteArray
-
Return the current size.
- getSourcefile() - Method in class com.claritysys.jvm.classfile.ClassFile
-
Return the source file from the SourceFile attribute.
- getSourcefileCp() - Method in class com.claritysys.jvm.classfile.ClassFile
-
Return the sourcefile name index, a CpUtf8 index.
- getStackSize() - Method in class com.claritysys.jvm.classfile.CpRef
-
Return the amount of stack size in words needed to process this field or method,
eg If its a field, this returns 2 if its a long or double, otherwise 1.
- getStackWords(String) - Static method in class com.claritysys.jvm.classfile.Utils
-
- getStackWords(int) - Static method in class com.claritysys.jvm.classfile.Utils
-
- getStartPC() - Method in class com.claritysys.jvm.builder.CodeBlock
-
- getStartPc() - Method in class com.claritysys.jvm.classfile.ExceptionHandler
-
- getStartPc() - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- GETSTATIC - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- GETSTATIC2_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- GETSTATIC_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- getString() - Method in class com.claritysys.jvm.classfile.CpString
-
Method getString
- getString() - Method in class com.claritysys.jvm.classfile.CpUtf8
-
- getStringName() - Method in class com.claritysys.jvm.classfile.CpClass
-
- getSuperclassCp() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getSuperclassIndex() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getSuperclassName() - Method in class com.claritysys.jvm.classfile.ClassFile
-
- getSurroundingBlock() - Method in class com.claritysys.jvm.builder.CodeBlock
-
Return the surrounding block.
- getTag() - Method in class com.claritysys.jvm.classfile.CpEntry
-
Return the type of entry, one of the TAG_XXX constants, as specified in
[vmspec2 4.4].
- getTotalSize(Attribute) - Static method in class com.claritysys.jvm.classfile.Attribute
-
Compute the total size of the attributes, including the 6 bytes of
tag/length for each, plus the sum of the lengths.
- getTryBlock() - Method in class com.claritysys.jvm.builder.CatchBlock
-
- getType() - Method in class com.claritysys.jvm.classfile.CpNameAndType
-
- getType() - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- getType(String) - Method in class com.claritysys.jvm.classfile.SigConverter
-
Return the VM type for the given Java-friendly type.
- getType() - Method in class com.claritysys.jvm.disassembler.Signature
-
What is the field type or method return type?
- getUtf8AsString(int) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Get the index'th entry in the pool, cast it to a CpUtf8, and return its
String value.
- getValue() - Method in class com.claritysys.jvm.classfile.CpValue1
-
- getValue() - Method in class com.claritysys.jvm.classfile.CpValue2
-
Method getValue
- GOTO - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- GOTO_W - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- I2B - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- I2C - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- I2D - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- I2F - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- I2L - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- I2S - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IADD - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IALOAD - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IAND - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IASTORE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ICONST_0 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ICONST_1 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ICONST_2 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ICONST_3 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ICONST_4 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ICONST_5 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ICONST_M1 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IDIV - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IF_ACMPEQ - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IF_ACMPNE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IF_ICMPEQ - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IF_ICMPGE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IF_ICMPGT - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IF_ICMPLE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IF_ICMPLT - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IF_ICMPNE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IfBlock - Class in com.claritysys.jvm.builder
-
An If block.
- IfBlock(CodeBuilder) - Constructor for class com.claritysys.jvm.builder.IfBlock
-
- IFEQ - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IFGE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IFGT - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IFLE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IFLT - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IFNE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IFNONNULL - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IFNULL - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IGNORE - Static variable in interface com.claritysys.jvm.disassembler.OpcodeInfo
-
- IINC - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ILLEGAL_OPCODE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ILLEGAL_TYPE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ILOAD - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ILOAD_0 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ILOAD_1 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ILOAD_2 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ILOAD_3 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IMPDEP1 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IMPDEP2 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IMUL - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- indent(int) - Method in class com.claritysys.jvm.disassembler.IndentingWriter
-
Change the indent level by the specified amount.
- IndentingWriter - Class in com.claritysys.jvm.disassembler
-
- IndentingWriter(Writer) - Constructor for class com.claritysys.jvm.disassembler.IndentingWriter
-
Create a new indenting writer to write to the given PrintWriter.
- INEG - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- init(CfMethod) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Reinitialize this builder with the given method builder.
- INSTANCEOF - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INSTANCEOF_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INT2BYTE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INT2CHAR - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INT2SHORT - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INTERFACES_IMPLEMENTED_BY_ARRAYS - Static variable in interface com.claritysys.jvm.classfile.JVM
-
The names of the interfaces implemented by arrays
- INVOKEINTERFACE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKEINTERFACE_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKENONVIRTUAL - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKENONVIRTUAL_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKESPECIAL - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKESTATIC - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKESTATIC_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKESUPER_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKEVIRTUAL - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKEVIRTUAL_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKEVIRTUAL_QUICK_W - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- INVOKEVIRTUALOBJECT_QUICK - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IOR - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IREM - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IRETURN - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- isAbstract() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_ABSTRACT access flag is set.
- isAutoImport() - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Return whether auto import of class names is enabled.
- isDefined() - Method in class com.claritysys.jvm.builder.Label
-
Return true if the label has already been defined.
- isDeprecated() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the member is deprecated.
- isFinal() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_FINAL access flag is set.
- ISHL - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ISHR - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- isInterface() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_INTERFACE access flag is set.
- isLabel - Variable in class com.claritysys.jvm.disassembler.CodeIterator.LineMarker
-
- isLocked() - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Return whether this pool has been 'locked' to any new entries.
- isMethod() - Method in class com.claritysys.jvm.disassembler.Signature
-
Is it a method?
- isNative() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_NATIVE access flag is set.
- isPrivate() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_PRIVATE flag is set.
- isProtected() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_PROTECTED access flag is set.
- isPublic() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_PUBLIC flag is set.
- isStatic() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_STATIC access flag is set.
- isStrict() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_STRICT access flag is set.
- isSynchronized() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_SYNCHRONIZED access flag is set.
- isSynthetic() - Method in class com.claritysys.jvm.classfile.CfFieldOrMethod
-
- isThisClass(String) - Method in class com.claritysys.jvm.disassembler.Disassembler
-
- ISTORE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ISTORE_0 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ISTORE_1 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ISTORE_2 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- ISTORE_3 - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- isTransient() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_TRANSIENT access flag is set.
- ISUB - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- isUnreachable() - Method in class com.claritysys.jvm.builder.ByteArray
-
Test whether the current PC is unreachable.
- isVerifyClassNames() - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Return whether class name verification is enabled..
- isVolatile() - Method in class com.claritysys.jvm.classfile.CfEntry
-
Return whether the ACC_VOLATILE access flag is set.
- IUSHR - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- IXOR - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- SALOAD - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- SampleHelloWorld - Class in com.claritysys.jvm.sample
-
Create a "Hello World" program by generating the bytecode.
- SampleHelloWorld() - Constructor for class com.claritysys.jvm.sample.SampleHelloWorld
-
- SASTORE - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- setAbstract(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_ABSTRACT access flag.
- setAccessFlags(int) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set the access flags, overriding any previously set flags.
- setAttributes(Attribute) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set optional linked list of unknown attributes.
- setAutoImport(boolean) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Set whether auto import of added classes is performed.
- setClassFile(ClassFile) - Method in class com.claritysys.jvm.disassembler.Disassembler
-
Set the class.
- setClassName(String) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Change the class name.
- setCode(byte[]) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setCodeAttributes(Attribute) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setCodeBuilder(CodeBuilder) - Method in class com.claritysys.jvm.builder.CodeBlock
-
Set the CodeBuilder, in case this block was pooled.
- setConstantValue(CpEntry) - Method in class com.claritysys.jvm.classfile.CfField
-
- setDeprecated(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set whether the member is deprecated.
- setDescriptor(CpUtf8) - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- setDescriptorIndex(int) - Method in class com.claritysys.jvm.classfile.CfFieldOrMethod
-
- setEndLabel(Label) - Method in class com.claritysys.jvm.builder.CodeBlock
-
Set the end label.
- setEndPc(int) - Method in class com.claritysys.jvm.classfile.ExceptionHandler
-
- setExceptionClassIndex(int) - Method in class com.claritysys.jvm.classfile.ExceptionHandler
-
- setExceptionCps(int[]) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setExceptions(Class[]) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setFinal(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_FINAL access flag.
- setHandlerCount(int) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setHandlerPc(int) - Method in class com.claritysys.jvm.classfile.ExceptionHandler
-
- setHandlers(ExceptionHandler) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setIndex(int) - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- setInfo(byte[]) - Method in class com.claritysys.jvm.classfile.Attribute
-
- setInterface(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_INTERFACE access flag.
- setLastHandler(ExceptionHandler) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setLastLine(LineNumber) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setLastLocal(LocalVariable) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setLength(int) - Method in class com.claritysys.jvm.classfile.Attribute
-
- setLength(int) - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- setLine(int) - Method in class com.claritysys.jvm.classfile.LineNumber
-
- setLineCount(int) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setLineNumber(int) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Attach the given line number to the current program counter offset.
- setLines(LineNumber) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setLocals(LocalVariable) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setLocalsCount(int) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setLocked(boolean) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Set this pool to be locked.
- setMaxLocals(int) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setMaxStack(int) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setMethod(CfMethod) - Method in class com.claritysys.jvm.builder.CodeBuilder
-
Set the method to be built.
- setMethod(CfMethod, int) - Method in class com.claritysys.jvm.disassembler.CodeIterator
-
- setName(CpUtf8) - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- setNameIndex(int) - Method in class com.claritysys.jvm.classfile.Attribute
-
- setNameIndex(int) - Method in class com.claritysys.jvm.classfile.CfFieldOrMethod
-
- setNative(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_NATIVE access flag.
- setNext(Attribute) - Method in class com.claritysys.jvm.classfile.Attribute
-
- setNext(CfField) - Method in class com.claritysys.jvm.classfile.CfField
-
- setNext(CfMethod) - Method in class com.claritysys.jvm.classfile.CfMethod
-
- setNext(ExceptionHandler) - Method in class com.claritysys.jvm.classfile.ExceptionHandler
-
- setNext(LineNumber) - Method in class com.claritysys.jvm.classfile.LineNumber
-
- setNext(LocalVariable) - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- setOutput(Writer) - Method in class com.claritysys.jvm.disassembler.Disassembler
-
Set the writer to write to.
- setOutputFile(String) - Method in class com.claritysys.jvm.disassembler.Disassembler
-
Set the file to write to.
- setPC(int) - Method in class com.claritysys.jvm.builder.Label
-
Set the PC of the label.
- setPc(int) - Method in class com.claritysys.jvm.classfile.LineNumber
-
- setPrivate(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_PRIVATE access flag.
- setProtected(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_PROTECTED access flag.
- setPublic(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_PUBLIC access flag.
- setSignature(String) - Method in class com.claritysys.jvm.disassembler.Signature
-
Set the signature and parse into pieces.
- setSourcefile(String) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Set the source file.
- setSourcefileCp(int) - Method in class com.claritysys.jvm.classfile.ClassFile
-
Set the sourcefile name index, a CpUtf8 index.
- setStartPc(int) - Method in class com.claritysys.jvm.classfile.ExceptionHandler
-
- setStartPc(int) - Method in class com.claritysys.jvm.classfile.LocalVariable
-
- setStatic(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_STATIC access flag.
- setStrict(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_STRICT access flag.
- setString(String) - Method in class com.claritysys.jvm.classfile.CpUtf8
-
- setSurroundingBlock(CodeBlock) - Method in class com.claritysys.jvm.builder.CodeBlock
-
Make the given block the surrounding block.
- setSynchronized(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_SYNCHRONIZED access flag.
- setSynthetic(boolean) - Method in class com.claritysys.jvm.classfile.CfFieldOrMethod
-
- setTransient(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_TRANSIENT access flag.
- setUnreachable(boolean) - Method in class com.claritysys.jvm.builder.ByteArray
-
Set whether the current statement is unreachable or not.
- setValue(int) - Method in class com.claritysys.jvm.classfile.CpValue1
-
- setValue(long) - Method in class com.claritysys.jvm.classfile.CpValue2
-
- setVerifyClassNames(boolean) - Method in class com.claritysys.jvm.classfile.ConstantPool
-
Set whether class name verification is enabled.
- setVolatile(boolean) - Method in class com.claritysys.jvm.classfile.CfEntry
-
Set or clear the ACC_VOLATILE access flag.
- SHORT_TYPE_NAMES - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- SigConverter - Class in com.claritysys.jvm.classfile
-
Manages the conversion between Java-friendly type signatures and VM format
signatures.
- SigConverter() - Constructor for class com.claritysys.jvm.classfile.SigConverter
-
Create a new SigConverter with only the primitive types initially.
- SigConverter(SigConverter) - Constructor for class com.claritysys.jvm.classfile.SigConverter
-
Create a SigConverter with all the mappings from the given one
(eg, create a clone).
- Signature - Class in com.claritysys.jvm.disassembler
-
A parser for type and method signatures.
- Signature(Signature.TypeFormatter) - Constructor for class com.claritysys.jvm.disassembler.Signature
-
Create a new Signature parse using the given (possibly null)
type formatter.
- Signature.TypeFormatter - Interface in com.claritysys.jvm.disassembler
-
A listener interface.
- SIPUSH - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- start() - Method in class com.claritysys.jvm.builder.CodeBlock
-
Formally start the block, noting the startPC.
- startPC - Variable in class com.claritysys.jvm.builder.CodeBlock
-
The PC where the block was started.
- startPc - Variable in class com.claritysys.jvm.classfile.ExceptionHandler
-
- STATIC_INITIALIZER_NAME - Static variable in interface com.claritysys.jvm.classfile.JVM
-
The name of the static initializer, also called "class
initialization method" or "interface initialization
method".
- surroundingBlock - Variable in class com.claritysys.jvm.builder.CodeBlock
-
Link to surrounding block.
- SWAP - Static variable in interface com.claritysys.jvm.classfile.JVM
-
- SWITCH - Static variable in interface com.claritysys.jvm.classfile.JVM
-