diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2006-01-11 06:06:30 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2006-01-11 06:06:30 +0000 |
commit | 52a455616e4077b5b61823cb4765c02fc6866f9a (patch) | |
tree | a9f95d54cccee9e336a667043b4e958d30257064 /sample/reflect | |
parent | 5b8d2d6c7ab0102e8a1bb0384cf769ed8f0f34da (diff) | |
download | javassist-52a455616e4077b5b61823cb4765c02fc6866f9a.tar.gz javassist-52a455616e4077b5b61823cb4765c02fc6866f9a.zip |
restructred sub packages
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@233 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'sample/reflect')
-rw-r--r-- | sample/reflect/Main.java | 6 | ||||
-rw-r--r-- | sample/reflect/Person.java | 4 | ||||
-rw-r--r-- | sample/reflect/VerboseMetaobj.java | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sample/reflect/Main.java b/sample/reflect/Main.java index d9733abc..972e8964 100644 --- a/sample/reflect/Main.java +++ b/sample/reflect/Main.java @@ -1,6 +1,6 @@ package sample.reflect;
-import javassist.reflect.Loader;
+import javassist.tools.reflect.Loader;
/*
The "verbose metaobject" example (JDK 1.2 or later only).
@@ -14,7 +14,7 @@ import javassist.reflect.Loader; To run,
- % java javassist.reflect.Loader sample.reflect.Main Joe
+ % java javassist.tools.reflect.Loader sample.reflect.Main Joe
Compare this result with that of the regular execution without reflection:
@@ -25,7 +25,7 @@ public class Main { Loader cl = (Loader)Main.class.getClassLoader();
cl.makeReflective("sample.reflect.Person",
"sample.reflect.VerboseMetaobj",
- "javassist.reflect.ClassMetaobject");
+ "javassist.tools.reflect.ClassMetaobject");
cl.run("sample.reflect.Person", args);
}
diff --git a/sample/reflect/Person.java b/sample/reflect/Person.java index 445d3807..90ccb18f 100644 --- a/sample/reflect/Person.java +++ b/sample/reflect/Person.java @@ -4,8 +4,8 @@ package sample.reflect;
-import javassist.reflect.Metalevel;
-import javassist.reflect.Metaobject;
+import javassist.tools.reflect.Metalevel;
+import javassist.tools.reflect.Metaobject;
public class Person {
public String name;
diff --git a/sample/reflect/VerboseMetaobj.java b/sample/reflect/VerboseMetaobj.java index 91dba579..cc47999c 100644 --- a/sample/reflect/VerboseMetaobj.java +++ b/sample/reflect/VerboseMetaobj.java @@ -1,6 +1,6 @@ package sample.reflect;
-import javassist.reflect.*;
+import javassist.tools.reflect.*;
public class VerboseMetaobj extends Metaobject {
public VerboseMetaobj(Object self, Object[] args) {
|