public abstract class AbstractAnnotationBuilder extends org.apache.tapestry5.internal.plastic.asm.AnnotationVisitor
Modifier and Type | Field and Description |
---|---|
protected PlasticClassPool |
pool |
Constructor and Description |
---|
AbstractAnnotationBuilder(PlasticClassPool pool) |
Modifier and Type | Method and Description |
---|---|
protected Class |
elementTypeForArrayAttribute(String name) |
protected abstract void |
store(String name,
Object value) |
void |
visit(String name,
Object value) |
org.apache.tapestry5.internal.plastic.asm.AnnotationVisitor |
visitAnnotation(String name,
String desc) |
org.apache.tapestry5.internal.plastic.asm.AnnotationVisitor |
visitArray(String name)
Because of how ASM works, this should only be invoked when the array values are not
primitives and not Class/Type; i.e.
|
void |
visitEnd() |
void |
visitEnum(String name,
String desc,
String value) |
protected final PlasticClassPool pool
public AbstractAnnotationBuilder(PlasticClassPool pool)
protected Class elementTypeForArrayAttribute(String name)
public void visit(String name, Object value)
visit
in class org.apache.tapestry5.internal.plastic.asm.AnnotationVisitor
public void visitEnum(String name, String desc, String value)
visitEnum
in class org.apache.tapestry5.internal.plastic.asm.AnnotationVisitor
public org.apache.tapestry5.internal.plastic.asm.AnnotationVisitor visitAnnotation(String name, String desc)
visitAnnotation
in class org.apache.tapestry5.internal.plastic.asm.AnnotationVisitor
public org.apache.tapestry5.internal.plastic.asm.AnnotationVisitor visitArray(String name)
visit(String, Object)
.visitArray
in class org.apache.tapestry5.internal.plastic.asm.AnnotationVisitor
public void visitEnd()
visitEnd
in class org.apache.tapestry5.internal.plastic.asm.AnnotationVisitor
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.