Hi all,
Having done the same thing quite a few time (but to a far lower
extend), let me ask you some questions, and suggest you some
improvements ...
First, a question :
is it planned to have jpatterns available as a maven artifact ? As one
may know, Sonatype offers free access to its OSS repository, making
your artifact available to the crowd of Java developpers for little
effort (see Sonatype doc here for the how-to :
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide).
Unfortnatly, for that, there is an initial step : making jpatterns a
maven project ... but as it seems to already be the case, the step
should not be too high :-)
Second, a testing question :
By reading the doc, I've seen that all your annotations have runtime
retention, making them available in compiled classes (I know you know
that, it's just for the record). As a consequence, could it be
possible to create "patterns tests" ?
As a minimum example, suppose I create a class A using @Singleton. In
that case, i would like to have a "SingletonChecker", that loads all
classes annotated with the @Singleton annotation, and checks that the
getInstance method is really public static, and allows creation of
object. It would also be great to have the same thing for other
patterns, as I think these annotations, although very useful for the
developper at initial -as the convey information on the developper
intent-, may loose their interest after some refactorings.
And now, a reporting question :
Obviously, testing that patterns are well implemented is only a part
of the game. Another part of the game would be to generate some kind
of maven reporting from those, and put it in generated site (I think
it would be at least as useful as some reports already available ...).
Finally, a supporter statement
Don't consider those questions as deffects of your package, as they
are not. Only consider them as the expression of my enthusiasm about
your project, that I will undoubtly integrate in my future - and
present - developments.