congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
MethodVisitor.visitJumpInsn
Code IndexAdd Tabnine to your IDE (free)

How to use
visitJumpInsn
method
in
org.objectweb.asm.MethodVisitor

Best Java code snippets using org.objectweb.asm.MethodVisitor.visitJumpInsn (Showing top 20 results out of 999)

origin: cglib/cglib

public void visitJumpInsn(int opcode, Label label) {
  mv1.visitJumpInsn(opcode, label);
  mv2.visitJumpInsn(opcode, label);
}

origin: cglib/cglib

public void if_jump(int mode, Label label) {
  mv.visitJumpInsn(mode, label);
}
origin: cglib/cglib

public void goTo(Label label) { mv.visitJumpInsn(Constants.GOTO, label); }
public void ifnull(Label label) { mv.visitJumpInsn(Constants.IFNULL, label); }
origin: cglib/cglib

public void ifnull(Label label) { mv.visitJumpInsn(Constants.IFNULL, label); }
public void ifnonnull(Label label) { mv.visitJumpInsn(Constants.IFNONNULL, label); }
origin: cglib/cglib

public void visitJumpInsn(int opcode, Label label) {
  mv1.visitJumpInsn(opcode, label);
  mv2.visitJumpInsn(opcode, label);
}

origin: cglib/cglib

public void ifnonnull(Label label) { mv.visitJumpInsn(Constants.IFNONNULL, label); }
origin: cglib/cglib

public void if_jump(int mode, Label label) {
  mv.visitJumpInsn(mode, label);
}
origin: cglib/cglib

public void goTo(Label label) { mv.visitJumpInsn(Constants.GOTO, label); }
public void ifnull(Label label) { mv.visitJumpInsn(Constants.IFNULL, label); }
origin: cglib/cglib

public void ifnull(Label label) { mv.visitJumpInsn(Constants.IFNULL, label); }
public void ifnonnull(Label label) { mv.visitJumpInsn(Constants.IFNONNULL, label); }
origin: org.ow2.asm/asm

/**
 * Visits a jump instruction. A jump instruction is an instruction that may jump to another
 * instruction.
 *
 * @param opcode the opcode of the type instruction to be visited. This opcode is either IFEQ,
 *     IFNE, IFLT, IFGE, IFGT, IFLE, IF_ICMPEQ, IF_ICMPNE, IF_ICMPLT, IF_ICMPGE, IF_ICMPGT,
 *     IF_ICMPLE, IF_ACMPEQ, IF_ACMPNE, GOTO, JSR, IFNULL or IFNONNULL.
 * @param label the operand of the instruction to be visited. This operand is a label that
 *     designates the instruction to which the jump instruction may jump.
 */
public void visitJumpInsn(final int opcode, final Label label) {
 if (mv != null) {
  mv.visitJumpInsn(opcode, label);
 }
}
origin: Sable/soot

@Override
public void caseIfGtInst(IfGtInst i) {
 mv.visitJumpInsn(Opcodes.IFGT, getBranchTargetLabel(i.getTarget()));
}
origin: Sable/soot

@Override
public void caseIfGeInst(IfGeInst i) {
 mv.visitJumpInsn(Opcodes.IFGE, getBranchTargetLabel(i.getTarget()));
}
origin: Sable/soot

@Override
public void caseJSRInst(JSRInst i) {
 mv.visitJumpInsn(Opcodes.JSR, getBranchTargetLabel(i.getTarget()));
}
origin: Sable/soot

@Override
public void caseGotoInst(GotoInst i) {
 mv.visitJumpInsn(Opcodes.GOTO, getBranchTargetLabel(i.getTarget()));
}
origin: Sable/soot

@Override
public void caseIfNullInst(IfNullInst i) {
 mv.visitJumpInsn(Opcodes.IFNULL, getBranchTargetLabel(i.getTarget()));
}
origin: Sable/soot

@Override
public void caseIfNonNullInst(IfNonNullInst i) {
 mv.visitJumpInsn(Opcodes.IFNONNULL, getBranchTargetLabel(i.getTarget()));
}
origin: Sable/soot

@Override
public void caseIfNeInst(IfNeInst i) {
 mv.visitJumpInsn(Opcodes.IFNE, getBranchTargetLabel(i.getTarget()));
}
origin: Sable/soot

@Override
public void caseIfEqInst(IfEqInst i) {
 mv.visitJumpInsn(Opcodes.IFEQ, getBranchTargetLabel(i.getTarget()));
}
origin: Sable/soot

@Override
public void caseIfLtInst(IfLtInst i) {
 mv.visitJumpInsn(Opcodes.IFLT, getBranchTargetLabel(i.getTarget()));
}
origin: Sable/soot

@Override
public void caseIfLeInst(IfLeInst i) {
 mv.visitJumpInsn(Opcodes.IFLE, getBranchTargetLabel(i.getTarget()));
}
org.objectweb.asmMethodVisitorvisitJumpInsn

Javadoc

Visits a jump instruction. A jump instruction is an instruction that may jump to another instruction.

Popular methods of MethodVisitor

  • visitMethodInsn
    Visits a method instruction. A method instruction is an instruction that invokes a method.
  • visitInsn
    Visits a zero operand instruction.
  • visitVarInsn
    Visits a local variable instruction. A local variable instruction is an instruction that loads or st
  • visitMaxs
    Visits the maximum stack size and the maximum number of local variables of the method.
  • visitEnd
    Visits the end of the method. This method, which is the last one to be called, is used to inform the
  • visitCode
    Starts the visit of the method's code, if any (i.e. non abstract method).
  • visitFieldInsn
    Visits a field instruction. A field instruction is an instruction that loads or stores the value of
  • visitTypeInsn
    Visits a type instruction. A type instruction is an instruction that takes the internal name of a cl
  • visitLabel
    Visits a label. A label designates the instruction that will be visited just after it.
  • visitLdcInsn
    Visits a LDC instruction. Note that new constant types may be added in future versions of the Java V
  • visitIntInsn
    Visits an instruction with a single int operand.
  • visitLocalVariable
    Visits a local variable declaration.
  • visitIntInsn,
  • visitLocalVariable,
  • visitAnnotation,
  • visitTryCatchBlock,
  • visitLineNumber,
  • visitFrame,
  • visitTableSwitchInsn,
  • visitParameterAnnotation,
  • visitIincInsn

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • startActivity (Activity)
  • setScale (BigDecimal)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now