Class AbstractAnnotationImpl
java.lang.Object
org.jboss.metadata.annotation.AbstractAnnotationImpl
- All Implemented Interfaces:
Annotation
- Direct Known Subclasses:
LanguageMetaData, MappedAnnotationMetaData, NamedAnnotationMetaData
AbstractAnnotationImpl.
- Version:
- $Revision$
- Author:
- Adrian Brock
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new AbstractAnnotationImpl.AbstractAnnotationImpl(Class<? extends Annotation> annotationType) Create a new AbstractAnnotationImpl. -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Annotation
toString
-
Constructor Details
-
AbstractAnnotationImpl
public AbstractAnnotationImpl()Create a new AbstractAnnotationImpl. This constructor guesses the annotationType. -
AbstractAnnotationImpl
Create a new AbstractAnnotationImpl.- Parameters:
annotationType- the annotation type
-
-
Method Details
-
annotationType
- Specified by:
annotationTypein interfaceAnnotation
-
equals
- Specified by:
equalsin interfaceAnnotation- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceAnnotation- Overrides:
hashCodein classObject
-