A facility for getting the current method's name
Sebastian Sickelmann
sebastian.sickelmann at gmx.de
Mon Oct 3 00:24:32 PDT 2011
Am 03.10.2011 00:31, schrieb Michael Ernst:
>> Isn't there a JSR for some annotations and standard processing of them?
> Yes, it's JSR 269, which lets you make javac run an annotation processor as
> a plugin, via a command-line argument or via auto-discovery.
>
> (I put "Isn't there a JSR for some annotations and standard processing of
> them?" in the Google search box, and JSR 269 was the first hit.)
>
> -Mike
i mean JSR 308. Is there a common processing defined(will there be a
implementation of an annotation processor in the jdk)?
And will it be plugged in javac by default or have i to call javac with
the parameters -proc -processor and -processorpath ?
If so, the processor of @CurrentMethodName could be added to the list of
processors to load by default.
I think that is what Behrang Seaadzadeh wanted in the first post on this.
@Behrang Seaadzadeh: Or is it enough to specify it to javac with the 3
annotation processor params? Then a annotation
and an default annotation processor implementation for CurrentMethodName
is enough and it doen't change default behavior of javac.
-- Sebastian Sickelmann
More information about the jdk8-dev
mailing list