Source:
private int instrumentNotNull ( java.io.File dir , final com.intellij.compiler.instrumentation.InstrumentationClassFinder finder ) { int instrumented = 0 ; final java.io.File [ ] files = dir.listFiles ( ) ; for ( int i = 0 ; i < ( files.length ) ; i ++ ) { java.io.File file = files [ i ] ; final java.lang.String name = file.getName ( ) ; if ( name.endsWith ( ".class" ) ) { final java.lang.String path = file.getPath ( ) ; log ( ( "Adding @NotNull assertions to " + path ) , Project.MSG_VERBOSE ) ; try { final java.io.FileInputStream inputStream = new java.io.FileInputStream ( file ) ; try { org.jetbrains.asm4.ClassReader reader = new org.jetbrains.asm4.ClassReader ( inputStream ) ; int version = com.intellij.ant.Javac2.getClassFileVersion ( reader ) ; if ( version >= ( org.jetbrains.asm4.Opcodes.V1_5 ) ) { org.jetbrains.asm4.ClassWriter writer = new com.intellij.compiler.instrumentation.InstrumenterClassWriter ( com.intellij.ant.Javac2.getAsmClassWriterFlags ( version ) , finder ) ; if ( com.intellij.compiler.notNullVerification.NotNullVerifyingInstrumenter.processClassFile ( reader , writer ) ) { final java.io.FileOutputStream fileOutputStream = new java.io.FileOutputStream ( path ) ; try { fileOutputStream.write ( writer.toByteArray ( ) ) ; instrumented ++ ; } finally { fileOutputStream.close ( ) ; } } } } finally { inputStream.close ( ) ; } } catch ( java.io.IOException e ) { log ( ( ( ( "Failed to instrument @NotNull assertion for " + path ) + ": " ) + ( e.getMessage ( ) ) ) , Project.MSG_WARN ) ; } catch ( java.lang.Exception e ) { fireError ( ( ( ( "@NotNull instrumentation failed for " + path ) + ": " ) + ( e.toString ( ) ) ) ) ; } } else if ( file.isDirectory ( ) ) { instrumented += instrumentNotNull ( file , finder ) ; } } return instrumented ; }

Target:
private int instrumentNotNull ( java.io.File dir , final com.intellij.compiler.instrumentation.InstrumentationClassFinder finder ) { int instrumented = 0 ; final java.io.File [ ] files = dir.listFiles ( ) ; for ( int i = 0 ; i < ( files.length ) ; i ++ ) { java.io.File file = files [ i ] ; final java.lang.String name = file.getName ( ) ; if ( name.endsWith ( ".class" ) ) { final java.lang.String path = file.getPath ( ) ; log ( ( "Adding @NotNull assertions to " + path ) , Project.MSG_VERBOSE ) ; try { final java.io.FileInputStream inputStream = new java.io.FileInputStream ( file ) ; try { org.jetbrains.org.objectweb.asm.ClassReader reader = new org.jetbrains.org.objectweb.asm.ClassReader ( inputStream ) ; int version = com.intellij.ant.Javac2.getClassFileVersion ( reader ) ; if ( version >= ( org.jetbrains.org.objectweb.asm.Opcodes.V1_5 ) ) { org.jetbrains.org.objectweb.asm.ClassWriter writer = new com.intellij.compiler.instrumentation.InstrumenterClassWriter ( com.intellij.ant.Javac2.getAsmClassWriterFlags ( version ) , finder ) ; if ( com.intellij.compiler.notNullVerification.NotNullVerifyingInstrumenter.processClassFile ( reader , writer ) ) { final java.io.FileOutputStream fileOutputStream = new java.io.FileOutputStream ( path ) ; try { fileOutputStream.write ( writer.toByteArray ( ) ) ; instrumented ++ ; } finally { fileOutputStream.close ( ) ; } } } } finally { inputStream.close ( ) ; } } catch ( java.io.IOException e ) { log ( ( ( ( "Failed to instrument @NotNull assertion for " + path ) + ": " ) + ( e.getMessage ( ) ) ) , Project.MSG_WARN ) ; } catch ( java.lang.Exception e ) { fireError ( ( ( ( "@NotNull instrumentation failed for " + path ) + ": " ) + ( e.toString ( ) ) ) ) ; } } else if ( file.isDirectory ( ) ) { instrumented += instrumentNotNull ( file , finder ) ; } } return instrumented ; }