Community
Participate
Working Groups
This applies to the annotations where targets = [ ElementKind.fieldMbr ] the XML annotations are in eglx.xml.binding.annotation the JSON annotation is eglx.json. Validation needs to be added to ensure the annotations are only allowed on Handlers and Records.
Rocky, here is a fairly easy validation task for you. First you will need to edit the EGL source for the annotation records to add a validation proxy class to the annotations. You can look at EGLProperty in eglx.lang.Annotatios.egl for an example of this. Next you will need to recompile the system part eglar. Instructions can be found here: http://wiki.eclipse.org/EDT:How_to_update_system_parts You can refer to the class EGLPropertyAnnotationTypeBinding.getAnnotations to see how to define the actual validator class Basically, the validator will simply need to check if the target of the XML and JSON annotations are defined in a record or handler. If not, an error should be thrown. To add the validation error, you will be updating org.eclipse.edt.compiler.core.ast.Node.IProblemRequestor to add the message constant and EGLValidationResources.properties with the actual message.
Setting the target milestone to Future for bugs that won't be addressed in 0.8.2.