Hi,
I'm currently writing an application with OSGi and there's the case where I need to annotate the property of an annotation with another annotation:
@ObjectClassDefinition
annotation MyConfiguration{
@AttributeDefinition
String someProp = 'test'
}
Xtend complains about "The annotation @AttributeDefinition is disallowed for this location", but if I modify the generated Java file there is no error shown:
@ObjectClassDefinition
public @interface MyConfiguration {
@AttributeDefinition
public String someProp() default "test";
}
Is this an intended behaviour?
Kind regards,
Thomas