groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Golberg <gri...@alum.mit.edu>
Subject Applying annotations to extending classes?
Date Sat, 16 Apr 2016 22:48:19 GMT
Hi

I define a certain abstract class in my code, and want groovy scripts to
implement a method in it. I want to ensure that the groovy scripts inherit
constructors and that methods have TimedInterrupt annotation - but I would
like to not depend on script authors to do so.

I realize annotations are not inheritable unless they have @Inherited, so I
copied these annotations into my code just to add @Inherited to them... But
still no luck. Any ideas?

-g

Mime
View raw message