1 8 package org.codehaus.aspectwerkz.annotation; 9 10 18 public interface AnnotationDefault { 19 20 public final static String NAME = AnnotationDefault.class.getName().replace('/', '.'); 21 22 28 public Object value(); 29 30 35 static class AnnotationDefaultImpl implements AnnotationDefault, Annotation { 36 private final Object m_value; 37 38 public AnnotationDefaultImpl(Object value) { 39 m_value = value; 40 } 41 42 public Object value() { 43 return m_value; 44 } 45 46 public Class annotationType() { 47 return AnnotationDefault.class; 48 } 49 } 50 } 51 | Popular Tags |