Search in sources :

Example 21 with AnnotationVisitor

use of org.objectweb.asm.AnnotationVisitor in project drill by apache.

the class AloadPopRemover method visitParameterAnnotation.

@Override
public AnnotationVisitor visitParameterAnnotation(final int parameter, final String desc, final boolean visible) {
    processDeferredAload(false);
    final AnnotationVisitor annotationVisitor = super.visitParameterAnnotation(parameter, desc, visible);
    return annotationVisitor;
}
Also used : AnnotationVisitor(org.objectweb.asm.AnnotationVisitor)

Example 22 with AnnotationVisitor

use of org.objectweb.asm.AnnotationVisitor in project drill by apache.

the class AloadPopRemover method visitTypeAnnotation.

@Override
public AnnotationVisitor visitTypeAnnotation(final int typeRef, final TypePath typePath, final String desc, final boolean visible) {
    processDeferredAload(false);
    final AnnotationVisitor annotationVisitor = super.visitTypeAnnotation(typeRef, typePath, desc, visible);
    return annotationVisitor;
}
Also used : AnnotationVisitor(org.objectweb.asm.AnnotationVisitor)

Example 23 with AnnotationVisitor

use of org.objectweb.asm.AnnotationVisitor in project drill by apache.

the class AloadPopRemover method visitInsnAnnotation.

@Override
public AnnotationVisitor visitInsnAnnotation(final int typeRef, final TypePath typePath, final String desc, final boolean visible) {
    processDeferredAload(false);
    final AnnotationVisitor annotationVisitor = super.visitInsnAnnotation(typeRef, typePath, desc, visible);
    return annotationVisitor;
}
Also used : AnnotationVisitor(org.objectweb.asm.AnnotationVisitor)

Example 24 with AnnotationVisitor

use of org.objectweb.asm.AnnotationVisitor in project drill by apache.

the class AloadPopRemover method visitAnnotation.

@Override
public AnnotationVisitor visitAnnotation(final String desc, final boolean visible) {
    processDeferredAload(false);
    final AnnotationVisitor annotationVisitor = super.visitAnnotation(desc, visible);
    return annotationVisitor;
}
Also used : AnnotationVisitor(org.objectweb.asm.AnnotationVisitor)

Example 25 with AnnotationVisitor

use of org.objectweb.asm.AnnotationVisitor in project drill by apache.

the class CheckMethodVisitorFsm method visitAnnotationDefault.

@Override
public AnnotationVisitor visitAnnotationDefault() {
    fsmCursor.transition("visitAnnotationDefault");
    final AnnotationVisitor annotationVisitor = super.visitAnnotationDefault();
    // TODO: add CheckAnnotationVisitorFsm
    return annotationVisitor;
}
Also used : AnnotationVisitor(org.objectweb.asm.AnnotationVisitor)

Aggregations

AnnotationVisitor (org.objectweb.asm.AnnotationVisitor)64 AnnotationNode (org.codehaus.groovy.ast.AnnotationNode)12 ArrayList (java.util.ArrayList)9 Type (org.objectweb.asm.Type)9 MethodVisitor (org.objectweb.asm.MethodVisitor)7 LayoutlibDelegate (com.android.tools.layoutlib.annotations.LayoutlibDelegate)6 ClassNode (org.codehaus.groovy.ast.ClassNode)6 InnerClassNode (org.codehaus.groovy.ast.InnerClassNode)6 InterfaceHelperClassNode (org.codehaus.groovy.ast.InterfaceHelperClassNode)6 ClassVisitor (org.objectweb.asm.ClassVisitor)6 ClassReader (org.objectweb.asm.ClassReader)5 HashMap (java.util.HashMap)4 Map (java.util.Map)4 FieldVisitor (org.objectweb.asm.FieldVisitor)3 Label (org.objectweb.asm.Label)3 GroovyRuntimeException (groovy.lang.GroovyRuntimeException)2 InputStream (java.io.InputStream)2 List (java.util.List)2 GroovyBugError (org.codehaus.groovy.GroovyBugError)2 GenericsType (org.codehaus.groovy.ast.GenericsType)2