Uses of Class
jasm.lang.Bytecode

Packages that use Bytecode
jasm.attributes Provides classes for representing class file attributes, including code necessary for encoding and decoding them. 
jasm.io Provides classes for reading/writing class files and Jasm files. 
jasm.lang Provides core class for representing JVM class files, bytecodes, types and constants. 
jasm.util Provides various helper classes, including a simple library for performing dataflow analysis. 
 

Uses of Bytecode in jasm.attributes
 

Fields in jasm.attributes declared as Bytecode
 Bytecode[] Code.Rewrite.bytecodes
           
 

Fields in jasm.attributes with type parameters of type Bytecode
protected  java.util.ArrayList<Bytecode> Code.bytecodes
           
 

Methods in jasm.attributes that return types with arguments of type Bytecode
 java.util.List<Bytecode> Code.bytecodes()
           
 

Constructors in jasm.attributes with parameters of type Bytecode
Code.Rewrite(int start, int length, Bytecode... bytecodes)
           
 

Constructor parameters in jasm.attributes with type arguments of type Bytecode
Code(java.util.Collection<Bytecode> bytecodes, java.util.Collection<Code.Handler> handlers, ClassFile.Method method)
           
 

Uses of Bytecode in jasm.io
 

Methods in jasm.io that return Bytecode
protected  Bytecode ClassFileReader.decodeInstruction(int offset, int start, java.util.HashMap<java.lang.Integer,java.lang.String> labels, int line)
           
static Bytecode JasmFileReader.parseArrayLoadStoreBytecode(java.util.ArrayList<java.lang.String> tokens)
           
static Bytecode JasmFileReader.parseBytecode(java.lang.String text)
           
static Bytecode JasmFileReader.parseConstBytecode(java.util.ArrayList<java.lang.String> tokens)
           
static Bytecode JasmFileReader.parseFieldBytecode(java.util.ArrayList<java.lang.String> tokens)
           
static Bytecode JasmFileReader.parseInvokeBytecode(java.util.ArrayList<java.lang.String> tokens)
           
static Bytecode JasmFileReader.parseLoadStoreBytecode(java.util.ArrayList<java.lang.String> tokens)
           
static Bytecode JasmFileReader.parseReturnBytecode(java.util.ArrayList<java.lang.String> tokens)
           
 

Uses of Bytecode in jasm.lang
 

Subclasses of Bytecode in jasm.lang
static class Bytecode.ArrayLength
          Represents the arraylength bytecode
static class Bytecode.ArrayLoad
          Represents the arrayload bytecode.
static class Bytecode.ArrayStore
          Represents the arraystore bytecode.
static class Bytecode.BinOp
          This represents all binary operators involving two operands on the stack.
static class Bytecode.Branch
          This class abstracts different kinds of branching statements (e.g.
static class Bytecode.CheckCast
          Represents the check cast bytecode.
static class Bytecode.Cmp
          This represents the bytecodes fcmpl, fcmpg, dcmpl, dcmpg and lcmp
static class Bytecode.Conversion
          This represents the family of primitive conversion operations, such as i2f, d2f, l2i etc.
static class Bytecode.Dup
          Represents the dup and dup2 bytecodes
static class Bytecode.DupX1
          Represents the dupx1 bytecode
static class Bytecode.DupX2
          Represents the dupx2 bytecode
static class Bytecode.GetField
          This represents the getfield and getstatic bytecodes.
static class Bytecode.Goto
          This class abstracts the unconditional branch bytecode goto.
static class Bytecode.If
          This represents the bytecodes ifeq, ifne, iflt, ifge, ifgt, ifle.
static class Bytecode.IfCmp
          This represents the bytecodes ifacmp_XX and ificmp_xx
static class Bytecode.Iinc
          Represents the iinc bytecode for incrementing a local variable.
static class Bytecode.InstanceOf
          Represents the instanceof bytecode
static class Bytecode.Invoke
          This represents the invokevirtual, invokespecial, invokestatic and invokeinterface bytecodes
static class Bytecode.Label
          This does not actually correspond to a bytecode per se.
static class Bytecode.Load
          Represents all bytecodes for loading from a local variable, including iload, aload, lload etc.
static class Bytecode.LoadConst
          Represents all bytecodes for loading constants.
static class Bytecode.MonitorEnter
          Represents a monitorenter bytecode
static class Bytecode.MonitorExit
          Represents a monitorexit bytecode
static class Bytecode.Neg
           
static class Bytecode.New
          Represents the new, newarray and anewarray, multinewarray bytecodes.
static class Bytecode.Nop
          Represents the nop bytecode.
static class Bytecode.Pop
          Represents the pop and pop2 bytecodes
static class Bytecode.PutField
          This represents the putfield and putstatic bytecodes.
static class Bytecode.Return
          Represents return bytecodes, including ireturn, areturn, etc.
static class Bytecode.Store
          Represents all bytecodes for storing to a local variable, including istore, astore, lstore etc.
static class Bytecode.Swap
          Represents the swap bytecode
static class Bytecode.Switch
          This represents the bytecodes tableswitch and lookupswitch
static class Bytecode.Throw
          Represents the athrow bytecode.
 

Uses of Bytecode in jasm.util
 

Method parameters in jasm.util with type arguments of type Bytecode
protected  java.util.HashMap<java.lang.String,java.lang.Integer> DeadCodeElimination.buildLabelMap(java.util.List<Bytecode> bytecodes)
           
protected  void DeadCodeElimination.visit(int index, java.util.HashSet<java.lang.Integer> visited, java.util.HashMap<java.lang.String,java.lang.Integer> labels, java.util.List<Bytecode> bytecodes)
           
 



Copyright © 2013 David J. Pearce. All Rights Reserved.