Package org.apache.tapestry5.internal.plastic.asm

Examples of org.apache.tapestry5.internal.plastic.asm.MethodVisitor.visitEnd()


        // visits the method attributes
        if (annotationDefault != null) {
            AnnotationVisitor av = mv.visitAnnotationDefault();
            AnnotationNode.accept(av, null, annotationDefault);
            if (av != null) {
                av.visitEnd();
            }
        }
        n = visibleAnnotations == null ? 0 : visibleAnnotations.size();
        for (i = 0; i < n; ++i) {
            AnnotationNode an = visibleAnnotations.get(i);
View Full Code Here


                for (int i = 0; i < b.length; i++) {
                    av.visit(null, new Double(b[i]));
                }

            }
            av.visitEnd();
        } else {
            addValueElement("annotationValue", name, Type.getDescriptor(c),
                    value.toString());
        }
    }
View Full Code Here

        @Override
        public void end(final String name) {
            AnnotationVisitor av = (AnnotationVisitor) pop();
            if (av != null) {
                av.visitEnd();
            }
        }
    }

    final class TypeAnnotationRule extends Rule {
View Full Code Here

                    {
                        AnnotationVisitor av = methodNode.visitAnnotationDefault();
                        AnnotationNode.accept(av, null, implementationNode.annotationDefault);
                        if (av != null)
                        {
                            av.visitEnd();
                        }
                    }
                    n = implementationNode.visibleAnnotations == null ? 0 : implementationNode.visibleAnnotations.size();
                    for (i = 0; i < n; ++i)
                    {
View Full Code Here

                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);
            }
        }
    }
View Full Code Here

                    int i, j, n;
                    if (implementationNode.annotationDefault != null) {
                        AnnotationVisitor av = methodNode.visitAnnotationDefault();
                        AnnotationNode.accept(av, null, implementationNode.annotationDefault);
                        if (av != null) {
                            av.visitEnd();
                        }
                    }
                    n = implementationNode.visibleAnnotations == null ? 0 : implementationNode.visibleAnnotations.size();
                    for (i = 0; i < n; ++i) {
                        AnnotationNode an = implementationNode.visibleAnnotations.get(i);
View Full Code Here

                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);
            }
        }
    }
View Full Code Here

        int i, j, n;
        if (annotationDefault != null) {
            AnnotationVisitor av = mv.visitAnnotationDefault();
            AnnotationNode.accept(av, null, annotationDefault);
            if (av != null) {
                av.visitEnd();
            }
        }
        n = visibleAnnotations == null ? 0 : visibleAnnotations.size();
        for (i = 0; i < n; ++i) {
            AnnotationNode an = (AnnotationNode) visibleAnnotations.get(i);
View Full Code Here

        }

        public void end(final String name) {
            AnnotationVisitor av = (AnnotationVisitor) pop();
            if (av != null) {
                av.visitEnd();
            }
        }
    }

    final class AnnotationParameterRule extends Rule {
View Full Code Here

        }

        public void end(final String name) {
            AnnotationVisitor av = (AnnotationVisitor) pop();
            if (av != null) {
                av.visitEnd();
            }
        }
    }

    final class AnnotationValueRule extends Rule {
View Full Code Here

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.