@Override public void visitFieldInsn(final int opcode, final String owner, final String name, final String desc) { instructions.add(new FieldInsnNode(opcode, owner, name, desc)); }
@Override public AbstractInsnNode clone(final Map<LabelNode, LabelNode> labels) { return new FieldInsnNode(opcode, owner, name, desc) .cloneAnnotations(this); } }
public static AbstractInsnNode getClassLdc(String descriptor) { if (descriptor.equals("Z")) { return new FieldInsnNode( Opcodes.GETSTATIC, org.babyfish.org.objectweb.asm.Type.getInternalName(Boolean.class), return new FieldInsnNode( Opcodes.GETSTATIC, org.babyfish.org.objectweb.asm.Type.getInternalName(Character.class), return new FieldInsnNode( Opcodes.GETSTATIC, org.babyfish.org.objectweb.asm.Type.getInternalName(Byte.class), return new FieldInsnNode( Opcodes.GETSTATIC, org.babyfish.org.objectweb.asm.Type.getInternalName(Short.class), return new FieldInsnNode( Opcodes.GETSTATIC, org.babyfish.org.objectweb.asm.Type.getInternalName(Integer.class), return new FieldInsnNode( Opcodes.GETSTATIC, org.babyfish.org.objectweb.asm.Type.getInternalName(Long.class), return new FieldInsnNode( Opcodes.GETSTATIC, org.babyfish.org.objectweb.asm.Type.getInternalName(Float.class),
public static AbstractInsnNode getClassLdc(Class<?> clazz) { if (clazz.isPrimitive()) { return new FieldInsnNode( Opcodes.GETSTATIC, org.babyfish.org.objectweb.asm.Type.getInternalName(ClassInfo.box(clazz)), "TYPE", "Ljava/lang/Class;"); } return new LdcInsnNode(org.babyfish.org.objectweb.asm.Type.getType(clazz)); }
tmpInstructions.add(new VarInsnNode(Opcodes.ALOAD, 0)); tmpInstructions.add( new FieldInsnNode( Opcodes.GETFIELD, ASM.getInternalName(RawProvider.class),
if (stackLength.equals(this.selfWillBeStackTopInsnMap.get(abstractInsnNode))) { FieldInsnNode objectModelFieldInsnNode = new FieldInsnNode( Opcodes.GETFIELD, this.metadataClass.getAncestorClass().getInternalName(),
if (abstractInsnNode instanceof FieldInsnNode) { FieldInsnNode old = (FieldInsnNode)abstractInsnNode; return (N)new FieldInsnNode( old.getOpcode(), old.owner,
beforeInstructions.add(new InsnNode(Opcodes.SWAP)); beforeInstructions.add( new FieldInsnNode( Opcodes.PUTFIELD, ASM.getInternalName(XQueryTranslatorImpl.class), afterInstructions.add(new FieldInsnNode( Opcodes.GETFIELD, ASM.getInternalName(XQueryTranslatorImpl.class), afterInstructions.add(new VarInsnNode(Opcodes.ALOAD, 0)); afterInstructions.add( new FieldInsnNode( Opcodes.GETFIELD, ASM.getInternalName(XQueryTranslatorImpl.class), afterInstructions.add(new VarInsnNode(Opcodes.ALOAD, 0)); afterInstructions.add( new FieldInsnNode( Opcodes.GETFIELD, this.getResultInternalName(), false)); afterInstructions.add( new FieldInsnNode( Opcodes.PUTFIELD, this.getResultInternalName(),
new FieldInsnNode( Opcodes.GETSTATIC, this.newInternalName,
instructions.add(new VarInsnNode(Opcodes.ALOAD, sqlAstIndex)); instructions.add( new FieldInsnNode( Opcodes.PUTFIELD, this.getResultInternalName(), instructions.add(new VarInsnNode(Opcodes.ALOAD, 0)); instructions.add( new FieldInsnNode( Opcodes.GETFIELD, this.getResultInternalName(), instructions.add(new VarInsnNode(Opcodes.ALOAD, 0)); instructions.add( new FieldInsnNode( Opcodes.GETFIELD, this.getResultInternalName(), false)); instructions.add( new FieldInsnNode( Opcodes.PUTFIELD, this.getResultInternalName(), instructions.add(new VarInsnNode(Opcodes.ALOAD, 0)); instructions.add( new FieldInsnNode( Opcodes.GETFIELD, this.getResultInternalName(),
new FieldInsnNode( Opcodes.GETSTATIC, this.newInternalName,
false)); tmpInstructions.add( new FieldInsnNode( Opcodes.PUTSTATIC, this.newInternalName, false)); tmpInstructions.add( new FieldInsnNode( Opcodes.PUTSTATIC, this.newInternalName,
new FieldInsnNode( Opcodes.GETSTATIC, this.newInternalName,