Package org.drools.base.rule
Class Annotated.ClassAdapter
- java.lang.Object
-
- org.drools.base.rule.Annotated.ClassAdapter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.base.rule.Annotated
Annotated.ClassAdapter
-
-
Constructor Summary
Constructors Constructor Description ClassAdapter(java.lang.Class<?> cls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends java.lang.annotation.Annotation>
AgetTypedAnnotation(java.lang.Class<A> annotationClass)booleanhasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
-
-
-
Method Detail
-
hasAnnotation
public boolean hasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
- Specified by:
hasAnnotationin interfaceAnnotated
-
getTypedAnnotation
public <A extends java.lang.annotation.Annotation> A getTypedAnnotation(java.lang.Class<A> annotationClass)
- Specified by:
getTypedAnnotationin interfaceAnnotated
-
-