@NotNull
    private Pair<Class, @Nls String> getResult() {
      Pair<Class, String> result = myResult;
      if (result == null) {
        Class clazz = null;
        @Nls(capitalization = Nls.Capitalization.Sentence) String error = null;
        try {
          clazz = myClassLoader.loadClass(myClassName);
        }
        catch (ClassNotFoundException e) {
          error = AntBundle.message("ant.error.class.not.found", e.getMessage());
        }
        catch (NoClassDefFoundError e) {
          error = AntBundle.message("ant.error.class.definition.not.found", e.getMessage());
        }
        catch (UnsupportedClassVersionError e) {
          error = AntBundle.message("ant.error.unsupported.class.version", e.getMessage());
        }
        myResult = result = Pair.create(clazz, error);
      }
      return result;
    }
@NotNull
    private Pair<Class, @Nls String> getResult()