Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Java 5 Syntax Element - supported since JTransformer 2.3.
An attribute for annotationT facts.
Just to maintain the original syntax of annotations without arguments. Annotation is a marker annotation if the parenthesis's are omitted.
@marker
instead of the normal annotation @marker()
.
id: annotationT
ID of the corresponding annotationT
@MyAnnotation public void function(){ }
annotatedT(#Annotated, #Annotation), annotationT(#Annotation, #Annotated, #Annotated, _, []), markerAnnotationT(#Annotation),
%tree_constraints(markerAnnotationT ,[[#id]). ast_relation('Java',markerAnnotationT,[ ast_arg(id, mult(1,1,no ), id, [annotationT]) ]).