some puzzles about processing annotation by eclipse [message #257447] |
Wed, 19 November 2008 04:52  |
Eclipse User |
|
|
|
Hello everybody£º
As me know,java has a annotation of "@Deprecated", when a method is
annotated by the "annotation",the text of method name in code editor has a
middle line .How can eclipse do that?
In our company ,somebody(A) develop basal codes,somebody(B) develop
business codes.However,B always use the public method of the class in
basal codes,but A don't exptect B to use the method. E.g: one class in
basal code named Util.class ,has doPost() and doGet(),which must be
public,A just want B to use doPost() nor doGet().
If,i(a member if A ) develop an annotation of "@open",and use this
annotation to method doPost(),then ,as soon as B to use the doGet() in
eclipse£¬some wrong will be throw,or by the Syntax Coloring£¬the doGet is
show with Bold font.of course £¬there must be a config to mask this effect
in some eclipse IDE£¬such as me.
The idea can be implement? If i plan to ,what do i need to learn?Is
there any links?
Please Help me,thank you.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03248 seconds