@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); } }
@Override protected void tearDown() throws Exception { myFiles = null; myEnvironment = null; classFileFactory = null; if (initializedClassLoader != null) { initializedClassLoader.dispose(); initializedClassLoader = null; } super.tearDown(); }