Class DefaultAnnotationInfo<T>
java.lang.Object
cloud.piranha.micro.shrinkwrap.core.DefaultAnnotationInfo<T>
- Type Parameters:
T
- the type.
- All Implemented Interfaces:
AnnotationInfo<T>
The default AnnotationInfo.
- Author:
- Arjan Tijms, Manfred Riem ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the instance.Returns the target.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cloud.piranha.core.api.AnnotationInfo
getTargetType
-
Constructor Details
-
DefaultAnnotationInfo
Constructor.- Parameters:
instance
- the instance.target
- the target annotated element.
-
-
Method Details
-
getInstance
Description copied from interface:AnnotationInfo
Returns the instance.- Specified by:
getInstance
in interfaceAnnotationInfo<T>
- Returns:
- the instance
-
getTarget
Description copied from interface:AnnotationInfo
Returns the target.- Specified by:
getTarget
in interfaceAnnotationInfo<T>
- Returns:
- the target
-