0 Replies Latest reply on Sep 9, 2007 3:00 PM by Alex NV

    Class reference

    Alex NV Newbie

      I try create class reference:

      java.lang.Class class0 = java.lang.String.class;
      if (class0.isAssignableFrom(....)) {
       ..........
      }
      


      decompiled file have:
      Class class1 = null;
      class1 = Class.forName("java.lang.String"); ???????????????
      if (class0.isAssignableFrom(....)) {
       ..........
      }
      


      I want to create class reference like:
      java.lang.String.class