Class DescrAnnotationDefinition
java.lang.Object
org.drools.model.codegen.execmodel.generator.declaredtype.DescrAnnotationDefinition
- All Implemented Interfaces:
AnnotationDefinition
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDescrAnnotationDefinition(String name, String singleValue) DescrAnnotationDefinition(String name, Map<String, String> values) -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationDefinitioncreatePositionAnnotation(int position) static DescrAnnotationDefinitionfromDescr(TypeResolver typeResolver, org.drools.drl.ast.descr.AnnotationDescr ann) getName()booleanbooleanisKey()booleanbooleantoString()
-
Field Details
-
BUILTIN_ANNOTATION_PACKAGE
- See Also:
-
-
Constructor Details
-
DescrAnnotationDefinition
-
DescrAnnotationDefinition
-
DescrAnnotationDefinition
-
-
Method Details
-
fromDescr
public static DescrAnnotationDefinition fromDescr(TypeResolver typeResolver, org.drools.drl.ast.descr.AnnotationDescr ann) -
createPositionAnnotation
-
getName
- Specified by:
getNamein interfaceAnnotationDefinition
-
getValueMap
- Specified by:
getValueMapin interfaceAnnotationDefinition
-
addValue
- Specified by:
addValuein interfaceAnnotationDefinition
-
shouldAddAnnotation
public boolean shouldAddAnnotation()- Specified by:
shouldAddAnnotationin interfaceAnnotationDefinition
-
isKey
public boolean isKey() -
isPosition
public boolean isPosition() -
isClassLevelAnnotation
public boolean isClassLevelAnnotation() -
toString
-