congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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