-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/15/2010 12:14 AM, Aleksei Valikov wrote:
>> is it possible (and how) to add a static import for a method?
>
> No, it's not possible. Imports are generated automatically; I don't
> see any support for static imports in the source code.
Bad luck. But it is not that important. Thanks.
But I don't understand that magic related to imports completely. Most of
the times imports are
generated automatically. But for one of my classes, the fully qualified
name is used for every occurrence.
Is there any documentation when imports are generated and when it is not
possible?
Is it related to the classpath? Are only imports generated for classes
that are in the classpath?
Thanks,
Johannes
> Bye.
> /lexi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_codemodel.dev.java.net
> For additional commands, e-mail: users-help_at_codemodel.dev.java.net
>
- --
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQEcBAEBAgAGBQJMF3mVAAoJEAytD9R7Qv6dsnAH/jMT/heQKX2ugJlnzss9wU8c
MlPsrzNtETTNk0DDfkQK2CBWwPQyMR94gbiKknlgnisQEVWrdC69+X0vKNH4JddS
tGgc4MJB1X8BhEGPX8D8yZucpLdFgBorCSUNgesTQIvZc2VkAvRNrar7tV4kXQu0
lsvSkhwGsnXJqYR+YBwpkF4yvySmkTmh7yXTxpITRSLLLxQJeZE2NhQx8phq0Rdu
rnhP5souZirYt/A127eJYZwMlECbxVLFKSN97KYBiVGQdO9YMmRrBho3Rtji2SYe
4cL907M5tgNhGJFT1YOjnJcpgYyyQAohkmX5e1CK98eUTU3uVlMdHaxDztlSDOQ=
=5BAU
-----END PGP SIGNATURE-----