Class EmitterFactory.FieldInsnEmitter
java.lang.Object
org.glassfish.pfl.dynamic.codegen.impl.EmitterFactory.FieldInsnEmitter
- All Implemented Interfaces:
Consumer<org.objectweb.asm.MethodVisitor>
,UnaryVoidFunction<org.objectweb.asm.MethodVisitor>
,EmitterFactory.Emitter
- Enclosing class:
EmitterFactory
private static class EmitterFactory.FieldInsnEmitter
extends Object
implements EmitterFactory.Emitter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFieldInsnEmitter
(int opcode, String owner, String name, String desc) The opcode must be one of the PUT/GET FIELD/STATIC instructions. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.glassfish.pfl.basic.func.UnaryVoidFunction
accept
-
Field Details
-
opcode
private int opcode -
owner
-
name
-
desc
-
-
Constructor Details
-
FieldInsnEmitter
The opcode must be one of the PUT/GET FIELD/STATIC instructions.- Parameters:
Owner
- is the class name containing the field. This is constructed from ASMUtil.bcName( cgen.name() ).Name
- is the name of the field.Desc
- is the field's descriptor. This is obtained from the Type.signature() method.
-
-
Method Details
-
evaluate
public void evaluate(org.objectweb.asm.MethodVisitor mv) - Specified by:
evaluate
in interfaceUnaryVoidFunction<org.objectweb.asm.MethodVisitor>
-
toString
-
hashCode
public int hashCode() -
equals
-