diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2003-09-19 16:58:46 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2003-09-19 16:58:46 +0000 |
commit | 93e8b3bf46875fd610f961b3fa529886ba6f99aa (patch) | |
tree | 7534100ce94e7d42577729e53a38be27851df6b8 /tutorial/tutorial2.html | |
parent | cb8289a695f07fc5cd9e41fdddb0551d988cad0f (diff) | |
download | javassist-93e8b3bf46875fd610f961b3fa529886ba6f99aa.tar.gz javassist-93e8b3bf46875fd610f961b3fa529886ba6f99aa.zip |
updated tutorial so that it says the class names passed to the compiler
must be fully-qualified names.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@47 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'tutorial/tutorial2.html')
-rw-r--r-- | tutorial/tutorial2.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tutorial/tutorial2.html b/tutorial/tutorial2.html index 9655844e..0615edea 100644 --- a/tutorial/tutorial2.html +++ b/tutorial/tutorial2.html @@ -1236,6 +1236,13 @@ does not end with a semi colon (<code>;</code>). has several limitations with respect to the language that the compiler can accept. Those limitations are: +<p><li>All the class names must be fully qualified (they must include +package names). This is because the compiler does not support +<code>import</code> +declarations. However, the <code>java.lang</code> package is an +exception; for example, the compiler accepts <code>Object</code> as +well as <code>java.lang.Object</code>. + <p><li>The <code>.class</code> notation is not supported. Use the method <code>Class.forName()</code>. In regular |