由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Java5 compatibility issue
相关主题
调查:最好的Java IDE现在哪种java开发环境比较流行呀?
请问用什么java developer? 在哪里下载?请问java的ide
现在那种开发环境最常用开发swing界面用哪个ide?
eclipse 气死我了!netbeans 4.0 is very good
Java IDE 选择?没法用Re: netbeans 4.0 is very good
what's the most popular Java IDEAs beginner,Which one I should choose?
[请教]有关JAVA IDE的问题[转帖]如何才算掌握Java(J2SE篇)
[转载] 有人在用NetBeans IDE么?which IDE for GUI ?
相关话题的讨论汇总
话题: java5话题: enum话题: tool
进入Java版参与讨论
1 (共1页)
F****n
发帖数: 3271
1
In Java5 "enum" is a reserved keyword. So I have many progams in which "enum"
has been used as variable names. Is there any tool I can used to convert the
names so those programs can get compiled under Java5?
m******t
发帖数: 2416
2

"
Maybe rename it to something else using Eclipse (I believe Netbeans or
IntelliJ support it too) refactoring?

【在 F****n 的大作中提到】
: In Java5 "enum" is a reserved keyword. So I have many progams in which "enum"
: has been used as variable names. Is there any tool I can used to convert the
: names so those programs can get compiled under Java5?

H***a
发帖数: 189
3
you can compile to 1.4 level without checking enum key word
javac -target ?

"

【在 F****n 的大作中提到】
: In Java5 "enum" is a reserved keyword. So I have many progams in which "enum"
: has been used as variable names. Is there any tool I can used to convert the
: names so those programs can get compiled under Java5?

R*******r
发帖数: 104
4
refactor under eclipse, should be very safe to do simple rename.

"

【在 F****n 的大作中提到】
: In Java5 "enum" is a reserved keyword. So I have many progams in which "enum"
: has been used as variable names. Is there any tool I can used to convert the
: names so those programs can get compiled under Java5?

F****n
发帖数: 3271
5
Is the refactoring tool in Eclipse reliable? I am currently using JBuilder and
Netbeans, and I don't think I trust the refactoring tool from either of them.
Anyway I can try it myself but if you know something it could save me from
messing up the huge code base i have to deal with.

【在 m******t 的大作中提到】
:
: "
: Maybe rename it to something else using Eclipse (I believe Netbeans or
: IntelliJ support it too) refactoring?

g****c
发帖数: 299
6
there is refactoring tool in netbean too

and
them.

【在 F****n 的大作中提到】
: Is the refactoring tool in Eclipse reliable? I am currently using JBuilder and
: Netbeans, and I don't think I trust the refactoring tool from either of them.
: Anyway I can try it myself but if you know something it could save me from
: messing up the huge code base i have to deal with.

R*******r
发帖数: 104
7
Will give you warning if it feels something could be wrong.
For simple refactoring like rename, I'd say it's pretty safe,
if you don't have compilation problem, you are done.

and
them.

【在 F****n 的大作中提到】
: Is the refactoring tool in Eclipse reliable? I am currently using JBuilder and
: Netbeans, and I don't think I trust the refactoring tool from either of them.
: Anyway I can try it myself but if you know something it could save me from
: messing up the huge code base i have to deal with.

m******t
发帖数: 2416
8

and
them.
I haven't had any problem with it. It might cause trouble if you
have code accessing things through reflection. I don't suppose you
have to worry about that in your particular case.

【在 F****n 的大作中提到】
: Is the refactoring tool in Eclipse reliable? I am currently using JBuilder and
: Netbeans, and I don't think I trust the refactoring tool from either of them.
: Anyway I can try it myself but if you know something it could save me from
: messing up the huge code base i have to deal with.

1 (共1页)
进入Java版参与讨论
相关主题
which IDE for GUI ?Java IDE 选择?
新人请教java学习的问题what's the most popular Java IDE
Java GUI 有很强的Package么[请教]有关JAVA IDE的问题
请教大家一些问题[转载] 有人在用NetBeans IDE么?
调查:最好的Java IDE现在哪种java开发环境比较流行呀?
请问用什么java developer? 在哪里下载?请问java的ide
现在那种开发环境最常用开发swing界面用哪个ide?
eclipse 气死我了!netbeans 4.0 is very good
相关话题的讨论汇总
话题: java5话题: enum话题: tool