Class AbstractAnnotationReference
- java.lang.Object
-
- io.annot8.implementations.support.references.AbstractAnnotationReference
-
- All Implemented Interfaces:
AnnotationReference
public abstract class AbstractAnnotationReference extends Object implements AnnotationReference
Abstract implementation of AnnotationReference, providing correct implementations of equals, hashCode and toString.Two annotation references are taken to be equal if the following properties are all equal. The actual implementation of the annotation reference is seen to be irrelevant and not checked.
- annotationId
- contentName
-
-
Constructor Summary
Constructors Constructor Description AbstractAnnotationReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)inthashCode()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.annot8.api.references.AnnotationReference
getAnnotationId, getContentId, toAnnotation
-
-