APIdia Launch Partner
Top Description Constructors Methods
com.sun.org.apache.bcel.internal.generic

public Class PUTSTATIC

extends FieldInstruction
implements ExceptionThrower, PopInstruction
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.bcel.internal.generic.PopInstruction, com.sun.org.apache.bcel.internal.generic.StackConsumer, com.sun.org.apache.bcel.internal.generic.ExceptionThrower
Imports
com.sun.org.apache.bcel.internal.Const, .ExceptionConst

PUTSTATIC - Put static field in class
Stack: ..., value -> ...
OR
Stack: ..., value.word1, value.word2 -> ...

Constructor Summary

AccessConstructor and Description
pack-priv
PUTSTATIC()

Empty constructor needed for Instruction.readInstruction.

public
PUTSTATIC(final int index)

Method Summary

Modifier and TypeMethod and Description
public void
accept(final Visitor
Visitor object
v
)

Implements abstract com.sun.org.apache.bcel.internal.generic.Instruction.accept.

Call corresponding visitor method(s).

public int
consumeStack(final ConstantPoolGen cpg)

Overrides com.sun.org.apache.bcel.internal.generic.Instruction.consumeStack.

Implements com.sun.org.apache.bcel.internal.generic.StackConsumer.consumeStack.

This method also gives right results for instructions whose effect on the stack depends on the constant pool entry they reference.

public Class<?>[]
Inherited from com.sun.org.apache.bcel.internal.generic.FieldInstruction:
getFieldNamegetFieldSizegetFieldTypegetTypetoString

Constructor Detail

PUTSTATICback to summary
pack-priv PUTSTATIC()

Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.

PUTSTATICback to summary
public PUTSTATIC(final int index)

Method Detail

acceptback to summary
public void accept(final Visitor v)

Implements abstract com.sun.org.apache.bcel.internal.generic.Instruction.accept.

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.

Parameters
v:Visitor

Visitor object

Annotations
@Override
consumeStackback to summary
public int consumeStack(final ConstantPoolGen cpg)

Overrides com.sun.org.apache.bcel.internal.generic.Instruction.consumeStack.

Implements com.sun.org.apache.bcel.internal.generic.StackConsumer.consumeStack.

Doc from com.sun.org.apache.bcel.internal.generic.Instruction.consumeStack.

This method also gives right results for instructions whose effect on the stack depends on the constant pool entry they reference.

Annotations
@Override
getExceptionsback to summary
public Class<?>[] getExceptions()

Implements com.sun.org.apache.bcel.internal.generic.ExceptionThrower.getExceptions.

Annotations
@Override