Examples of AnnotationVisitor


Examples of br.com.caelum.vraptor.asm.AnnotationVisitor

    public void visitEnum(final String name, final String desc, final String value) {
        av.visitEnum(name, renamer.mapType(desc), value);
    }

    public AnnotationVisitor visitAnnotation(final String name, final String desc) {
        AnnotationVisitor v = av.visitAnnotation(name, renamer.mapType(desc));
        return v == null ? null : (v == av ? this : new RemappingAnnotationAdapter(v, renamer));
    }

Examples of com.alibaba.citrus.asm.AnnotationVisitor

                av.visitEnum(name, typeconst[0], typeconst[1]);
            } else if (value instanceof AnnotationNode) {
                AnnotationNode an = (AnnotationNode) value;
                an.accept(av.visitAnnotation(name, an.desc));
            } else if (value instanceof List) {
                AnnotationVisitor v = av.visitArray(name);
                List array = (List) value;
                for (int j = 0; j < array.size(); ++j) {
                    accept(v, null, array.get(j));
                }
                v.visitEnd();
            } else {
                av.visit(name, value);
            }
        }
    }

Examples of com.dubture.symfony.core.visitor.AnnotationVisitor

  public void build(IBuildContext context) throws CoreException {
    try {
      PHPModuleDeclaration module = getModuleDeclaration(context);

      if (module != null) {
        module.traverse(new AnnotationVisitor(context));
      }
    } catch (Exception e) {
      Logger.logException(e);
    }
  }

Examples of com.google.gwt.dev.asm.AnnotationVisitor

        this.fv = fv;
        this.remapper = remapper;
    }

    public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
        AnnotationVisitor av = fv.visitAnnotation(desc, visible);
        return av == null ? null : new RemappingAnnotationAdapter(av, remapper);
    }

Examples of com.googlecode.aviator.asm.AnnotationVisitor

    public AnnotationVisitor visitAnnotation(
        final String desc,
        final boolean visible)
    {
        AnnotationVisitor av = super.visitAnnotation(desc, visible);
        if (mv != null) {
            ((TraceAnnotationVisitor) av).av = mv.visitAnnotation(desc, visible);
        }
        return av;
    }

Examples of com.redhat.ceylon.compiler.typechecker.analyzer.AnnotationVisitor

        if (!fullyTyped) {
            ProducedType.depth.set(-100);
            //System.out.println("Run analysis phase for " + fileName);
            compilationUnit.visit(new ExpressionVisitor());
            compilationUnit.visit(new VisibilityVisitor());
            compilationUnit.visit(new AnnotationVisitor());
            compilationUnit.visit(new TypeArgumentVisitor());
            fullyTyped = true;
        }
    }

Examples of com.sleepycat.asm.AnnotationVisitor

            }
        }

        public AnnotationVisitor visitAnnotation(String desc,
                                                 boolean visible) {
            AnnotationVisitor ret = parent.visitAnnotation(desc, visible);
            if (desc.equals
                    ("Lcom/sleepycat/persist/model/KeyField;")) {
                order = new OrderInfo(ret);
                ret = order;
            } else if (desc.equals

Examples of com.thoughtworks.qdox.model.annotation.AnnotationVisitor

        currentMethod.addParameter( jParam );
  }

    private void setAnnotations( final AbstractBaseJavaEntity entity ) {
        if( !currentAnnoDefs.isEmpty() ) {
            AnnotationVisitor visitor = new RecursiveAnnotationVisitor() {
                public Object visitAnnotation( Annotation annotation ) {
                    annotation.setContext( entity );
                    return super.visitAnnotation( annotation );
                }
               

Examples of edu.umd.cs.findbugs.visitclass.AnnotationVisitor

        parse((ClassNameAndSuperclassInfo.Builder) builder);

        final List<FieldDescriptor> fieldDescriptorList = new LinkedList<FieldDescriptor>();
        final List<MethodDescriptor> methodDescriptorList = new LinkedList<MethodDescriptor>();
        final TreeSet<ClassDescriptor> referencedClassSet = new TreeSet<ClassDescriptor>();
        javaClass.accept(new AnnotationVisitor() {
            @Override
            public void visit(Method obj) {
                methodDescriptorList.add(parseMethod(obj));
            }

Examples of jdk.internal.org.objectweb.asm.AnnotationVisitor

        this.remapper = remapper;
    }

    @Override
    public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
        AnnotationVisitor av = fv.visitAnnotation(remapper.mapDesc(desc),
                visible);
        return av == null ? null : new RemappingAnnotationAdapter(av, remapper);
    }
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.