コード例 #1
0
 private void tstReflectionDelegation() throws ClassNotFoundException {
   Reflection test =
       new Reflection(
           new GenericReflector(
               null, new JdkReflector(Thread.currentThread().getContextClassLoader())));
   test.tstEverything();
 }
コード例 #2
0
 public GenericObjects() throws ClassNotFoundException {
   _reflector =
       new GenericReflector(
           null, new JdkReflector(Thread.currentThread().getContextClassLoader()));
   _reflector.configuration(new MockReflectorConfiguration());
   _objectIClass = (GenericClass) _reflector.forClass(Object.class);
 }