Package com.oracle.coherence.cdi
Class AnnotationInstance
- java.lang.Object
-
- com.oracle.coherence.cdi.AnnotationInstance
-
public class AnnotationInstance extends Object
A representation of anAnnotation
that can be used for equality tests where methods in theAnnotation
annotated withNonbinding
are ignored.- Since:
- 20.06
- Author:
- Jonathan Knight 2019.10.24
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnnotationInstance
create(Annotation instance)
Create anAnnotationInstance
from anAnnotation
.boolean
equals(Object other)
int
hashCode()
String
toString()
-
-
-
Method Detail
-
create
public static AnnotationInstance create(Annotation instance)
Create anAnnotationInstance
from anAnnotation
.- Parameters:
instance
- theAnnotation
to create theAnnotationInstance
from- Returns:
- an
AnnotationInstance
from anAnnotation
-
-