org.jboss.metadata.annotation
Class AbstractAnnotationImpl
java.lang.Object
org.jboss.metadata.annotation.AbstractAnnotationImpl
- All Implemented Interfaces:
- Annotation
public class AbstractAnnotationImpl
- extends Object
- implements Annotation
AbstractAnnotationImpl.
- Version:
- $Revision: 45742 $
- Author:
- Adrian Brock
AbstractAnnotationImpl
public AbstractAnnotationImpl()
- Create a new AbstractAnnotationImpl.
This constructor guesses the annotationType.
AbstractAnnotationImpl
public AbstractAnnotationImpl(Class<? extends Annotation> annotationType)
- Create a new AbstractAnnotationImpl.
- Parameters:
annotationType
- the annotation type
annotationType
public Class<? extends Annotation> annotationType()
- Specified by:
annotationType
in interface Annotation
equals
public boolean equals(Object object)
- Specified by:
equals
in interface Annotation
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Annotation
- Overrides:
hashCode
in class Object
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.