org.codehaus.aspectwerkz.annotation
Class AnnotationDefault.AnnotationDefaultImpl
java.lang.Object
org.codehaus.aspectwerkz.annotation.AnnotationDefault.AnnotationDefaultImpl
- All Implemented Interfaces:
- Annotation, AnnotationDefault
- Enclosing interface:
- AnnotationDefault
public static class AnnotationDefault.AnnotationDefaultImpl
- extends Object
- implements AnnotationDefault, Annotation
Annotation implementation, since we will not use our Java 5 dynamic proxy based architecture for it
- Author:
- Alexandre Vasseur
Method Summary |
Class |
annotationType()
Returns the annotation type - @[type]. |
Object |
value()
The default value of the annotation element marked with the AnnotationDefault attribute
Note: for Class it will be an instance of asm.Type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationDefault.AnnotationDefaultImpl
public AnnotationDefault.AnnotationDefaultImpl(Object value)
value
public Object value()
- Description copied from interface:
AnnotationDefault
- The default value of the annotation element marked with the AnnotationDefault attribute
Note: for Class it will be an instance of asm.Type
- Specified by:
value
in interface AnnotationDefault
- Returns:
annotationType
public Class annotationType()
- Description copied from interface:
Annotation
- Returns the annotation type - @[type].
- Specified by:
annotationType
in interface Annotation
- Returns:
- the type
Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.