According to the JvmTypesBuilder documentation, I use need to use toAnnotation(EObject sourceElement, Class type, Object value)
I do not understand what value I should put there? Because I have an annotation w
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface OResultInfo {
String rowNames() default "";
String columnNames() default "";
String keyNames() default "";
}
I have absolutely no idea how to to set these values. Maybe there is something about java annotations I do not know/understand?
You need to use
And create and add annotation values per value and assign it to the jvmAnnotationReference: