You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Daan Hoogland <da...@gmail.com> on 2014/11/27 12:19:00 UTC

[QUESTION] @ReflectionUse

H Kelven (or others),

What are the plans with this annotation, ReflectionUse. Is there to be
an implementation or folow up or is it maybe just there to ignore?

-- 
Daan

Re: [QUESTION] @ReflectionUse

Posted by Laszlo Hornyak <la...@gmail.com>.
Hi,

How about declaring those methods "package protected"? With that it is
still not considered a public api, but findbugs does not detect it as a bug.

Also, it would be nice to have some javadoc on these methods on how they
are used, what calls them, etc...

On Fri, Nov 28, 2014 at 10:14 AM, Daan Hoogland <da...@gmail.com>
wrote:

> Are we going to (and can we) add functionality to make the code
> quality tools recognise it? (or is it just there to ignore?
>
> On Fri, Nov 28, 2014 at 5:00 AM, Rajani Karuturi <ra...@apache.org>
> wrote:
> > It came in through the discussion on this thread
> > http://markmail.org/message/j7ird7yzb3pvszbw
> >
> >
> > ~Rajani
> >
> > On Thu, Nov 27, 2014 at 11:28 PM, Min Chen <mi...@citrix.com> wrote:
> >
> >> If I understand this clearly, this annotation was introduced by Kelven
> to
> >> prevent people from mistakenly removing those annotated methods if they
> >> find from IDE that those methods are not explicitly called anywhere.
> These
> >> methods are actually invoked through reflection.
> >>
> >> Thanks
> >> -min
> >>
> >>
> >>
> >> > On Nov 27, 2014, at 3:21 AM, "Daan Hoogland" <daan.hoogland@gmail.com
> >
> >> wrote:
> >> >
> >> > H Kelven (or others),
> >> >
> >> > What are the plans with this annotation, ReflectionUse. Is there to be
> >> > an implementation or folow up or is it maybe just there to ignore?
> >> >
> >> > --
> >> > Daan
> >>
>
>
>
> --
> Daan
>



-- 

EOF

Re: [QUESTION] @ReflectionUse

Posted by Daan Hoogland <da...@gmail.com>.
Are we going to (and can we) add functionality to make the code
quality tools recognise it? (or is it just there to ignore?

On Fri, Nov 28, 2014 at 5:00 AM, Rajani Karuturi <ra...@apache.org> wrote:
> It came in through the discussion on this thread
> http://markmail.org/message/j7ird7yzb3pvszbw
>
>
> ~Rajani
>
> On Thu, Nov 27, 2014 at 11:28 PM, Min Chen <mi...@citrix.com> wrote:
>
>> If I understand this clearly, this annotation was introduced by Kelven to
>> prevent people from mistakenly removing those annotated methods if they
>> find from IDE that those methods are not explicitly called anywhere. These
>> methods are actually invoked through reflection.
>>
>> Thanks
>> -min
>>
>>
>>
>> > On Nov 27, 2014, at 3:21 AM, "Daan Hoogland" <da...@gmail.com>
>> wrote:
>> >
>> > H Kelven (or others),
>> >
>> > What are the plans with this annotation, ReflectionUse. Is there to be
>> > an implementation or folow up or is it maybe just there to ignore?
>> >
>> > --
>> > Daan
>>



-- 
Daan

Re: [QUESTION] @ReflectionUse

Posted by Rajani Karuturi <ra...@apache.org>.
It came in through the discussion on this thread
http://markmail.org/message/j7ird7yzb3pvszbw


~Rajani

On Thu, Nov 27, 2014 at 11:28 PM, Min Chen <mi...@citrix.com> wrote:

> If I understand this clearly, this annotation was introduced by Kelven to
> prevent people from mistakenly removing those annotated methods if they
> find from IDE that those methods are not explicitly called anywhere. These
> methods are actually invoked through reflection.
>
> Thanks
> -min
>
>
>
> > On Nov 27, 2014, at 3:21 AM, "Daan Hoogland" <da...@gmail.com>
> wrote:
> >
> > H Kelven (or others),
> >
> > What are the plans with this annotation, ReflectionUse. Is there to be
> > an implementation or folow up or is it maybe just there to ignore?
> >
> > --
> > Daan
>

Re: [QUESTION] @ReflectionUse

Posted by Min Chen <mi...@citrix.com>.
If I understand this clearly, this annotation was introduced by Kelven to prevent people from mistakenly removing those annotated methods if they find from IDE that those methods are not explicitly called anywhere. These methods are actually invoked through reflection.

Thanks
-min



> On Nov 27, 2014, at 3:21 AM, "Daan Hoogland" <da...@gmail.com> wrote:
> 
> H Kelven (or others),
> 
> What are the plans with this annotation, ReflectionUse. Is there to be
> an implementation or folow up or is it maybe just there to ignore?
> 
> -- 
> Daan