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 interface 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:
evaluatein interfaceUnaryVoidFunction<org.objectweb.asm.MethodVisitor>
-
toString
-
hashCode
-
equals
-