@Target(ElementType.ANNOTATION_TYPE)
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.FIELD})
So here is nuance --- where to stop checking for annotation ? on statement? on method ? on class ? We need to check for annotation up to the root, to work in the same way as SuppressWarning.
Annotations have elements (usually referenced as "parameters") should we care about them ?@Target(ElementType.ANNOTATION_TYPE)@Target({ElementType.FIELD, ElementType.METHOD, ElementType.FIELD})that annotations are different, so suppression by annotation="java.lang.annotation.Target" does not look reasonable, so we need to consider elements too.
I think, we can implement the suppression filter without annotation parameters as the first implementation. After this, we can add parameters procession, if it will be required by any of Checkstyle users.
Best ragards,
Pavel Baranchikov
Hi Pavel,
Judging by amounts of massive refactoring we are doing now and going to do in checkstyle during next couple month, please stay in Sevntu project for now.
I think that i will not have enough time to polish and test your filter and i do not want to block you.
Thanks,
Roman Ivanov
--
You received this message because you are subscribed to the Google Groups "checkstyle-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to checkstyle-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.