Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » some puzzles about processing annotation by eclipse
some puzzles about processing annotation by eclipse [message #257447] Wed, 19 November 2008 04:52 Go to next message
Eclipse UserFriend
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.
Re: some puzzles about processing annotation by eclipse [message #257535 is a reply to message #257447] Thu, 20 November 2008 13:52 Go to previous message
Eclipse UserFriend
"yangbo " <aximo.yang@ebaotech.com> wrote in message
news:24873c109b179e2119cb7d2bf0443862$1@www.eclipse.org...
> Hello everybody
Previous Topic:Mobile development
Next Topic:AST and Java Model relation
Goto Forum:
  


Current Time: Tue Apr 29 06:50:23 EDT 2025

Powered by FUDForum. Page generated in 0.03248 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top