Class AnnotationFactory
java.lang.Object
org.drools.compiler.rule.builder.util.AnnotationFactory
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationbuildAnnotation(AnnotationDescr annotationDescr, Class<?> annotationClass) static AnnotationbuildAnnotation(org.drools.util.TypeResolver typeResolver, AnnotationDescr annotationDescr) static <A extends Annotation>
AgetTypedAnnotation(AnnotatedBaseDescr annotatedBaseDescr, Class<A> annotationClass) static AnnotatedtoAnnotated(AnnotatedBaseDescr annotatedBaseDescr)
-
Constructor Details
-
AnnotationFactory
public AnnotationFactory()
-
-
Method Details
-
buildAnnotation
public static Annotation buildAnnotation(org.drools.util.TypeResolver typeResolver, AnnotationDescr annotationDescr) -
buildAnnotation
-
getTypedAnnotation
public static <A extends Annotation> A getTypedAnnotation(AnnotatedBaseDescr annotatedBaseDescr, Class<A> annotationClass) -
toAnnotated
-