## Uses of Class
org.apache.bcel.generic.CPInstruction

- Packages that use CPInstruction
  Package | Description
  --- | ---
  org.apache.bcel.generic | This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions.
  org.apache.bcel.verifier.structurals | Provides a PassVerifier class mostly used internally by JustIce, yielding a control flow graph for public use as a nice side effect.

- - ### Uses of CPInstruction in org.apache.bcel.generic

    Subclasses of CPInstruction in org.apache.bcel.generic
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ANEWARRAY` ANEWARRAY - Create new array of references
    `class` | `CHECKCAST` CHECKCAST - Check whether object is of given type
    `class` | `FieldInstruction` Super class for the GET/PUTxxx family of instructions.
    `class` | `FieldOrMethod` Super class for InvokeInstruction and FieldInstruction, since they have some methods in common!
    `class` | `GETFIELD` GETFIELD - Fetch field from object
    `class` | `GETSTATIC` GETSTATIC - Fetch static field from class
    `class` | `INSTANCEOF` INSTANCEOF - Determine if object is of given type
    `class` | `INVOKEDYNAMIC` Class for INVOKEDYNAMIC.
    `class` | `InvokeInstruction` Super class for the INVOKExxx family of instructions.
    `class` | `INVOKEINTERFACE` INVOKEINTERFACE - Invoke interface method
    `class` | `INVOKESPECIAL` INVOKESPECIAL - Invoke instance method; special handling for superclass, private and instance initialization method invocations
    `class` | `INVOKESTATIC` INVOKESTATIC - Invoke a class (static) method
    `class` | `INVOKEVIRTUAL` INVOKEVIRTUAL - Invoke instance method; dispatch based on class
    `class` | `LDC` LDC - Push item from constant pool.
    `class` | `LDC_W` LDC_W - Push item from constant pool (wide index)
    `class` | `LDC2_W` LDC2_W - Push long or double from constant pool
    `class` | `MULTIANEWARRAY` MULTIANEWARRAY - Create new mutidimensional array of references
    `class` | `NameSignatureInstruction` Super class for FieldOrMethod and INVOKEDYNAMIC, since they both have names and signatures
    `class` | `NEW` NEW - Create new object
    `class` | `PUTFIELD` PUTFIELD - Put field in object
    `class` | `PUTSTATIC` PUTSTATIC - Put static field in class

    Methods in org.apache.bcel.generic with parameters of type CPInstruction
    Modifier and Type | Method and Description
    --- | ---
    `void` | EmptyVisitor.`visitCPInstruction(CPInstruction obj)`
    `void` | Visitor.`visitCPInstruction(CPInstruction obj)`

  - ### Uses of CPInstruction in org.apache.bcel.verifier.structurals

    Methods in org.apache.bcel.verifier.structurals with parameters of type CPInstruction
    Modifier and Type | Method and Description
    --- | ---
    `void` | InstConstraintVisitor.`visitCPInstruction(CPInstruction o)` Ensures the general preconditions of a CPInstruction instance.

Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.