1 25 26 package org.objectweb.easybeans.deployment.annotations.analyzer; 27 28 import org.objectweb.asm.AnnotationVisitor; 29 30 36 public abstract class ObjectAnnotationVisitor<T, V> extends AbsAnnotationVisitor<T> implements AnnotationVisitor, AnnotationType { 37 38 41 private V value = null; 42 43 44 48 public ObjectAnnotationVisitor(final T annotationMetadata) { 49 super(annotationMetadata); 50 } 51 52 53 61 @Override  62 @SuppressWarnings ("unchecked") 63 public void visit(final String name, final Object value) { 64 this.value = (V) value; 65 } 66 67 70 public V getValue() { 71 return this.value; 72 } 73 74 75 } 76 | Popular Tags |