Re: [hibernate-dev] Changing or deprecating @AnalyzerDef

2016-03-03 Thread Sanne Grinovero
On 3 March 2016 at 16:46, Emmanuel Bernard wrote: > They were intended to be there. Are they useful there is another story > we can debate. > > definitions can be defined on fields or methods. I could not find the > code that would isolate the definition between different fields but I > would have

Re: [hibernate-dev] Changing or deprecating @AnalyzerDef

2016-03-03 Thread Emmanuel Bernard
They were intended to be there. Are they useful there is another story we can debate. definitions can be defined on fields or methods. I could not find the code that would isolate the definition between different fields but I would have expected that intent. At any rate there is an explicit handli

[hibernate-dev] Changing or deprecating @AnalyzerDef

2016-03-03 Thread Sanne Grinovero
I just realized that the definiton for @AnalyzerDef allows many target ypes: @Target({ ElementType.PACKAGE, ElementType.TYPE, ElementType.FIELD, ElementType.METHOD }) I think FIELD and METHOD might not have been intended to be there. Should we correct this in 6 to @Target({ ElementType.PACKAGE,