Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Compil3r.BytecodeAnalysis
Class Bytecodes.CHECKCAST  view Bytecodes.CHECKCAST download Bytecodes.CHECKCAST.java

java.lang.Object
  extended byCompil3r.BytecodeAnalysis.Bytecodes.Instruction
      extended byCompil3r.BytecodeAnalysis.Bytecodes.CPInstruction
          extended byCompil3r.BytecodeAnalysis.Bytecodes.CHECKCAST
All Implemented Interfaces:
Bytecodes.ExceptionThrower, Bytecodes.LoadClass, Bytecodes.StackConsumer, Bytecodes.StackProducer, Bytecodes.TypedInstruction, java.lang.Cloneable, java.io.Serializable
Enclosing class:
Bytecodes

public static class Bytecodes.CHECKCAST
extends Bytecodes.CPInstruction
implements Bytecodes.LoadClass, Bytecodes.ExceptionThrower, Bytecodes.StackProducer, Bytecodes.StackConsumer, Bytecodes.TypedInstruction


Field Summary
 
Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.CPInstruction
index, o
 
Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
length, opcode
 
Constructor Summary
(package private) Bytecodes.CHECKCAST()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
  Bytecodes.CHECKCAST(Clazz.jq_Type f)
          Check whether object is of given type
 
Method Summary
 void accept(Bytecodes.Visitor v)
          Call corresponding visitor method(s).
 java.util.Set getExceptions()
           
 Clazz.jq_Class getLoadClassType()
          Returns the jq_Class of the referenced class or interface that may be loaded and resolved.
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.CPInstruction
dump, getIndex, getObject, getType, initFromFile, setIndex, setObject, toString, toString
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
consumeStack, copy, dispose, getLength, getOpcode, produceStack, readInstruction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Compil3r.BytecodeAnalysis.Bytecodes.LoadClass
getType
 
Methods inherited from interface Compil3r.BytecodeAnalysis.Bytecodes.StackProducer
produceStack
 
Methods inherited from interface Compil3r.BytecodeAnalysis.Bytecodes.StackConsumer
consumeStack
 
Methods inherited from interface Compil3r.BytecodeAnalysis.Bytecodes.TypedInstruction
getType
 

Constructor Detail

Bytecodes.CHECKCAST

Bytecodes.CHECKCAST()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.


Bytecodes.CHECKCAST

public Bytecodes.CHECKCAST(Clazz.jq_Type f)
Check whether object is of given type

Method Detail

getExceptions

public java.util.Set getExceptions()
Specified by:
getExceptions in interface Bytecodes.ExceptionThrower

getLoadClassType

public Clazz.jq_Class getLoadClassType()
Description copied from interface: Bytecodes.LoadClass
Returns the jq_Class of the referenced class or interface that may be loaded and resolved.

Specified by:
getLoadClassType in interface Bytecodes.LoadClass

accept

public void accept(Bytecodes.Visitor v)
Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.

Specified by:
accept in class Bytecodes.Instruction