This content has been marked as final.
Show 3 replies
-
1. Re: How to add an import statement
dschulten Aug 25, 2009 6:52 AM (in response to spatnaik77)Usually I would use a fully qualified class name. Is there a reason why you cannot do that?
-
2. Re: How to add an import statement
mburger Aug 26, 2009 4:07 PM (in response to spatnaik77)"spatnaik77" wrote:
In addition to this i should add the import statement for Profiler class. How should i do it ?
The import statement is a compiler directive. Thus, there is no import statement in the byte code, but only fully qualified names. -
3. Re: How to add an import statement
herkules000 Sep 11, 2009 2:33 AM (in response to spatnaik77)What about
classPool.importPackage("java.net");
?