Codota Logo
MethodVisitor.visitAnnotationDefault
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain MethodVisitor
private void myMethod () {
MethodVisitor m =
  • Codota IconClassVisitor zuper;zuper.visitMethod(access, name, desc, signature, exceptions)
  • Codota IconClassVisitor cv;String name;String desc;String signature;String[] exceptions;cv.visitMethod(access, name, desc, signature, exceptions)
  • Codota IconClassVisitor cv;cv.visitMethod(access, "<init>", "()V", null, null)
  • Smart code suggestions by Codota
}
origin: org.ow2.asm/asm

/**
 * Visits the default value of this annotation interface method.
 *
 * @return a visitor to the visit the actual default value of this annotation interface method, or
 *     {@literal null} if this visitor is not interested in visiting this default value. The
 *     'name' parameters passed to the methods of this annotation visitor are ignored. Moreover,
 *     exacly one visit method must be called on this annotation visitor, followed by visitEnd.
 */
public AnnotationVisitor visitAnnotationDefault() {
 if (mv != null) {
  return mv.visitAnnotationDefault();
 }
 return null;
}
origin: cglib/cglib

public AnnotationVisitor visitAnnotationDefault() {
  return AnnotationVisitorTee.getInstance(mv1.visitAnnotationDefault(),
                      mv2.visitAnnotationDefault());
}

origin: cglib/cglib

public AnnotationVisitor visitAnnotationDefault() {
  return AnnotationVisitorTee.getInstance(mv1.visitAnnotationDefault(),
                      mv2.visitAnnotationDefault());
}

origin: kilim/kilim

AnnotationVisitor av = mv.visitAnnotationDefault();
MethodFlow.acceptAnnotation(av, null, mf.annotationDefault);
av.visitEnd();
origin: pxb1988/dex2jar

AnnotationVisitor av = mv.visitAnnotationDefault();
if (av != null) {
  accept(av, null, defaultValue);
origin: Sable/soot

AnnotationVisitor av = ((MethodVisitor) visitor).visitAnnotationDefault();
generateAnnotationElems(av, Collections.singleton(adt.getDefaultVal()), true);
origin: org.ow2.asm/asm

AnnotationVisitor annotationVisitor = methodVisitor.visitAnnotationDefault();
readElementValue(annotationVisitor, annotationDefaultOffset, null, charBuffer);
if (annotationVisitor != null) {
origin: com.google.gwt/gwt-servlet

@Override
public AnnotationVisitor visitAnnotationDefault() {
 return new AnnotationProcessor(sourceType, super.visitAnnotationDefault());
}
origin: hcoles/pitest

@Test
public void shouldForwardVisitAnnotationDefaultCallsToChild() {
 getTesteeVisitor().visitAnnotationDefault();
 verify(this.mv).visitAnnotationDefault();
}
origin: EvoSuite/evosuite

/** {@inheritDoc} */
@Override
public AnnotationVisitor visitAnnotationDefault() {
  mv1.visitAnnotationDefault();
  return mv2.visitAnnotationDefault();
}
origin: org.ow2.asm/asm-commons

@Override
public AnnotationVisitor visitAnnotationDefault() {
 AnnotationVisitor annotationVisitor = super.visitAnnotationDefault();
 return annotationVisitor == null
   ? annotationVisitor
   : new AnnotationRemapper(api, annotationVisitor, remapper);
}
origin: org.apache.drill.exec/drill-java-exec

@Override
public AnnotationVisitor visitAnnotationDefault() {
 fsmCursor.transition("visitAnnotationDefault");
 final AnnotationVisitor annotationVisitor = super.visitAnnotationDefault();
 return annotationVisitor; // TODO: add CheckAnnotationVisitorFsm
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

@Override
public AnnotationVisitor visitAnnotationDefault() {
 AnnotationVisitor annotationVisitor = super.visitAnnotationDefault();
 return annotationVisitor == null
   ? annotationVisitor
   : new AnnotationRemapper(api, annotationVisitor, remapper);
}
origin: org.ow2.asm/asm-debug-all

@Override
public AnnotationVisitor visitAnnotationDefault() {
  AnnotationVisitor av = super.visitAnnotationDefault();
  return av == null ? av : new AnnotationRemapper(av, remapper);
}
origin: org.ow2.asm/asm-debug-all

@Override
public AnnotationVisitor visitAnnotationDefault() {
  checkEndMethod();
  return new CheckAnnotationAdapter(super.visitAnnotationDefault(), false);
}
origin: org.ow2.asm/asm-debug-all

@Override
public AnnotationVisitor visitAnnotationDefault() {
  Printer p = this.p.visitAnnotationDefault();
  AnnotationVisitor av = mv == null ? null : mv.visitAnnotationDefault();
  return new TraceAnnotationVisitor(av, p);
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

@Override
public AnnotationVisitor visitAnnotationDefault() {
 Printer annotationPrinter = p.visitAnnotationDefault();
 return new TraceAnnotationVisitor(super.visitAnnotationDefault(), annotationPrinter);
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

@Override
public AnnotationVisitor visitAnnotationDefault() {
 checkVisitEndNotCalled();
 return new CheckAnnotationAdapter(super.visitAnnotationDefault(), false);
}
origin: org.kohsuke.droovy/groovy

private void visitAnnotationDefault(MethodNode node, MethodVisitor mv) {
  if (!node.hasAnnotationDefault()) return;
  Expression exp = ((ReturnStatement) node.getCode()).getExpression();
  AnnotationVisitor av = mv.visitAnnotationDefault();
  visitAnnotationDefaultExpression(av,node.getReturnType(),exp);
}
origin: org.codehaus.groovy/groovy-jdk14

private void visitAnnotationDefault(MethodNode node, MethodVisitor mv) {
  if (!node.hasAnnotationDefault()) return;
  Expression exp = ((ReturnStatement) node.getCode()).getExpression();
  AnnotationVisitor av = mv.visitAnnotationDefault();
  visitAnnotationDefaultExpression(av,node.getReturnType(),exp);
}
org.objectweb.asmMethodVisitorvisitAnnotationDefault

Javadoc

Visits the default value of this annotation interface method.

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
  • setScale (BigDecimal)
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • Path (java.nio.file)
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JOptionPane (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now