congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MethodVisitor.visitLookupSwitchInsn
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: cglib/cglib

public void visitLookupSwitchInsn(Label dflt, int keys[], Label labels[]) {
  mv1.visitLookupSwitchInsn(dflt, keys, labels);
  mv2.visitLookupSwitchInsn(dflt, keys, labels);
}

origin: cglib/cglib

public void visitLookupSwitchInsn(Label dflt, int keys[], Label labels[]) {
  mv1.visitLookupSwitchInsn(dflt, keys, labels);
  mv2.visitLookupSwitchInsn(dflt, keys, labels);
}

origin: org.ow2.asm/asm

/**
 * Visits a LOOKUPSWITCH instruction.
 *
 * @param dflt beginning of the default handler block.
 * @param keys the values of the keys.
 * @param labels beginnings of the handler blocks. {@code labels[i]} is the beginning of the
 *     handler block for the {@code keys[i]} key.
 */
public void visitLookupSwitchInsn(final Label dflt, final int[] keys, final Label[] labels) {
 if (mv != null) {
  mv.visitLookupSwitchInsn(dflt, keys, labels);
 }
}
origin: Sable/soot

@Override
public void caseLookupSwitchInst(LookupSwitchInst i) {
 List<IntConstant> values = i.getLookupValues();
 List<Unit> targets = i.getTargets();
 int[] keys = new int[values.size()];
 Label[] labels = new Label[values.size()];
 for (int j = 0; j < values.size(); j++) {
  keys[j] = values.get(j).value;
  labels[j] = branchTargetLabels.get(targets.get(j));
 }
 mv.visitLookupSwitchInsn(branchTargetLabels.get(i.getDefaultTarget()), keys, labels);
}
origin: pxb1988/dex2jar

  targets[i] = (Label) lss.targets[i].tag;
asm.visitLookupSwitchInsn((Label) lss.defaultTarget.tag, lss.lookupValues, targets);
origin: glowroot/glowroot

@Override
public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) {
  super.visitLookupSwitchInsn(dflt, keys, labels);
  skipNextFrame = false;
}
origin: kilim/kilim

  keys[i] = keyList.get(i);
mv.visitLookupSwitchInsn(defLabel, keys, labels);
break;
origin: cglib/cglib

  labels[i] = make_label();
mv.visitLookupSwitchInsn(def, keys, labels);
for (int i = 0; i < len; i++) {
  mark(labels[i]);
origin: cglib/cglib

  labels[i] = make_label();
mv.visitLookupSwitchInsn(def, keys, labels);
for (int i = 0; i < len; i++) {
  mark(labels[i]);
origin: org.ow2.asm/asm

 currentOffset += 8;
methodVisitor.visitLookupSwitchInsn(defaultLabel, keys, values);
break;
origin: hcoles/pitest

@Test
public void shouldForwardVisitLookupSwitchInsnToChild() {
 final Label l = new Label();
 final Label[] l2 = { new Label() };
 final int[] i = { 1, 2, 3 };
 getTesteeVisitor().visitLookupSwitchInsn(l, i, l2);
 verify(this.mv).visitLookupSwitchInsn(l, i, l2);
}
origin: org.ow2.asm/asm-commons

@Override
public void visitLookupSwitchInsn(final Label dflt, final int[] keys, final Label[] labels) {
 minSize += 9 + keys.length * 8;
 maxSize += 12 + keys.length * 8;
 super.visitLookupSwitchInsn(dflt, keys, labels);
}
origin: org.ow2.asm/asm-debug-all

@Override
public void visitLookupSwitchInsn(final Label dflt, final int[] keys,
    final Label[] labels) {
  minSize += 9 + keys.length * 8;
  maxSize += 12 + keys.length * 8;
  if (mv != null) {
    mv.visitLookupSwitchInsn(dflt, keys, labels);
  }
}
origin: org.jacoco/org.jacoco.core

@Override
public void visitLookupSwitchInsn(final Label dflt, final int[] keys,
    final Label[] labels) {
  instruction = true;
  mv.visitLookupSwitchInsn(dflt, keys, labels);
}
origin: org.ow2.asm/asm-commons

@Override
public void visitLookupSwitchInsn(final Label dflt, final int[] keys, final Label[] labels) {
 super.visitLookupSwitchInsn(dflt, keys, labels);
 execute(Opcodes.LOOKUPSWITCH, 0, null);
 this.locals = null;
 this.stack = null;
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

@Override
public void visitLookupSwitchInsn(final Label dflt, final int[] keys, final Label[] labels) {
 super.visitLookupSwitchInsn(dflt, keys, labels);
 execute(Opcodes.LOOKUPSWITCH, 0, null);
 this.locals = null;
 this.stack = null;
}
origin: org.ow2.asm/asm-debug-all

@Override
public void visitLookupSwitchInsn(final Label dflt, final int[] keys,
    final Label[] labels) {
  p.visitLookupSwitchInsn(dflt, keys, labels);
  super.visitLookupSwitchInsn(dflt, keys, labels);
}
origin: nailperry-zd/LazierTracker

@Override
public void visitLookupSwitchInsn(Label label, int[] ints, Label[] labels) {
  Log.logEach("visitLookupSwitchInsn", label, ints, labels);
  super.visitLookupSwitchInsn(label, ints, labels);
}
origin: org.ow2.asm/asm-debug-all

@Override
public void visitLookupSwitchInsn(final Label dflt, final int[] keys,
    final Label[] labels) {
  mv.visitLookupSwitchInsn(dflt, keys, labels);
  if (constructor) {
    popValue();
    addBranches(dflt, labels);
  }
}
origin: net.sourceforge.cobertura/cobertura

@Override
public void visitLookupSwitchInsn(Label arg0, int[] arg1, Label[] arg2) {
  super.visitLookupSwitchInsn(arg0, arg1, arg2);
  LabelNode nodes[] = new LabelNode[arg2.length];
  for (int i = 0; i < arg2.length; i++) {
    nodes[i] = new LabelNode(arg2[i]);
  }
  appendToBacklog(new LookupSwitchInsnNode(new LabelNode(arg0), arg1,
      nodes));
}
org.objectweb.asmMethodVisitorvisitLookupSwitchInsn

Javadoc

Visits a LOOKUPSWITCH 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
  • visitJumpInsn
    Visits a jump instruction. A jump instruction is an instruction that may jump to another instruction
  • visitIntInsn
    Visits an instruction with a single int operand.
  • visitJumpInsn,
  • visitIntInsn,
  • visitLocalVariable,
  • visitAnnotation,
  • visitTryCatchBlock,
  • visitLineNumber,
  • visitFrame,
  • visitTableSwitchInsn,
  • visitParameterAnnotation,
  • visitIincInsn

Popular in Java

  • Reactive rest calls using spring rest template
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSystemService (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Kernel (java.awt.image)
  • Permission (java.security)
    Legacy security code; do not use.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • JComboBox (javax.swing)
  • CodeWhisperer alternatives
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