Beispiel #1
0
 @NotNull
 public Class<? extends Annotation> loadAnnotationClassQuietly(@NotNull String fqName) {
   try {
     //noinspection unchecked
     return (Class<? extends Annotation>) initializedClassLoader.loadClass(fqName);
   } catch (ClassNotFoundException e) {
     throw ExceptionUtilsKt.rethrow(e);
   }
 }
Beispiel #2
0
  @Override
  protected void tearDown() throws Exception {
    myFiles = null;
    myEnvironment = null;
    classFileFactory = null;

    if (initializedClassLoader != null) {
      initializedClassLoader.dispose();
      initializedClassLoader = null;
    }

    super.tearDown();
  }