- java.lang.Object
-
- io.annot8.testing.testimpl.TestAnnotationReference
-
- All Implemented Interfaces:
io.annot8.core.references.AnnotationReference
public class TestAnnotationReference extends java.lang.Object implements io.annot8.core.references.AnnotationReference
-
-
Constructor Summary
Constructors Constructor Description TestAnnotationReference(io.annot8.core.annotations.Annotation annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetAnnotationId()java.lang.StringgetContentId()inthashCode()voidsetAnnotation(io.annot8.core.annotations.Annotation annotation)java.util.Optional<io.annot8.core.annotations.Annotation>toAnnotation()
-
-
-
Method Detail
-
getAnnotationId
public java.lang.String getAnnotationId()
- Specified by:
getAnnotationIdin interfaceio.annot8.core.references.AnnotationReference
-
getContentId
public java.lang.String getContentId()
- Specified by:
getContentIdin interfaceio.annot8.core.references.AnnotationReference
-
toAnnotation
public java.util.Optional<io.annot8.core.annotations.Annotation> toAnnotation()
- Specified by:
toAnnotationin interfaceio.annot8.core.references.AnnotationReference
-
setAnnotation
public void setAnnotation(io.annot8.core.annotations.Annotation annotation)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-