Source:
public static java.lang.String getDescription ( @ org.jetbrains.annotations.NotNull java.lang.Throwable t ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) ; java.lang.String simpleName = t.getClass ( ) . getSimpleName ( ) . replace ( "Exception" , "Ex" ) ; sb.append ( simpleName ) ; java.lang.StackTraceElement [ ] stackTraceElements = t.getStackTrace ( ) ; if ( ( stackTraceElements.length ) > 0 ) { sb.append ( " @ " ) ; } boolean androidPlugin = false ; java.lang.String lastFileName = "" ; int i ; for ( i = 0 ; ( i < ( stackTraceElements.length ) ) && ( ( sb.length ( ) ) < ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) ) ; i ++ ) { java.lang.StackTraceElement el = stackTraceElements [ i ] ; java.lang.String className = el.getClassName ( ) ; if ( ( className != null ) && ( ( className.startsWith ( "java." ) ) || ( className.startsWith ( "javax." ) ) ) ) { sb.append ( '.' ) ; continue ; } if ( i != 0 ) { sb.append ( " <- " ) ; } java.lang.String fileName = el.getFileName ( ) ; if ( ! ( com.intellij.openapi.util.text.StringUtil.equals ( fileName , lastFileName ) ) ) { sb.append ( fileName ) ; lastFileName = fileName ; } sb.append ( ':' ) ; sb.append ( el.getLineNumber ( ) ) ; if ( ! androidPlugin ) { androidPlugin = com.intellij.internal.statistic.analytics.PlatformUsageTracker.fromAndroidPlugin ( el ) ; } } java.lang.String desc = sb.toString ( ) ; if ( ( ! androidPlugin ) && ( i < ( stackTraceElements.length ) ) ) { for ( ; i < ( stackTraceElements.length ) ; i ++ ) { java.lang.StackTraceElement el = stackTraceElements [ i ] ; if ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.fromAndroidPlugin ( el ) ) { java.lang.String android = ( ( "... <- " + ( el.getFileName ( ) ) ) + ":" ) + ( el.getLineNumber ( ) ) ; if ( ( ( desc.length ( ) ) + ( android.length ( ) ) ) > ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) ) { desc = desc.substring ( 0 , ( ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) - ( android.length ( ) ) ) ) ; } desc += android ; break ; } } } if ( ( desc.length ( ) ) > ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) ) { desc = ( desc.substring ( 0 , ( ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) - 1 ) ) ) + ">" ; } while ( ( desc.getBytes ( com.google.common.base.Charsets.UTF_8 ) . length ) > ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) ) { desc = desc.substring ( 0 , ( ( desc.length ( ) ) - 1 ) ) ; } return desc ; }

Target:
public static java.lang.String getDescription ( @ org.jetbrains.annotations.NotNull java.lang.Throwable t ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) ; java.lang.String simpleName = t.getClass ( ) . getSimpleName ( ) . replace ( "Exception" , "Ex" ) . replace ( "Error" , "Er" ) ; sb.append ( simpleName ) ; java.lang.StackTraceElement [ ] stackTraceElements = t.getStackTrace ( ) ; if ( ( stackTraceElements.length ) > 0 ) { sb.append ( " @ " ) ; } boolean androidPlugin = false ; java.lang.String lastFileName = "" ; int i ; for ( i = 0 ; ( i < ( stackTraceElements.length ) ) && ( ( sb.length ( ) ) < ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) ) ; i ++ ) { java.lang.StackTraceElement el = stackTraceElements [ i ] ; java.lang.String className = el.getClassName ( ) ; if ( ( className != null ) && ( ( className.startsWith ( "java." ) ) || ( className.startsWith ( "javax." ) ) ) ) { sb.append ( '.' ) ; continue ; } if ( i != 0 ) { sb.append ( " < " ) ; } java.lang.String fileName = com.intellij.internal.statistic.analytics.PlatformUsageTracker.getBaseName ( el.getFileName ( ) ) ; if ( ! ( com.intellij.openapi.util.text.StringUtil.equals ( fileName , lastFileName ) ) ) { sb.append ( fileName ) ; lastFileName = fileName ; } sb.append ( ':' ) ; sb.append ( el.getLineNumber ( ) ) ; if ( ! androidPlugin ) { androidPlugin = com.intellij.internal.statistic.analytics.PlatformUsageTracker.fromAndroidPlugin ( el ) ; } } java.lang.String desc = sb.toString ( ) ; if ( ( ! androidPlugin ) && ( i < ( stackTraceElements.length ) ) ) { for ( ; i < ( stackTraceElements.length ) ; i ++ ) { java.lang.StackTraceElement el = stackTraceElements [ i ] ; if ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.fromAndroidPlugin ( el ) ) { java.lang.String android = ( ( "... < " + ( el.getFileName ( ) ) ) + ":" ) + ( el.getLineNumber ( ) ) ; if ( ( ( desc.length ( ) ) + ( android.length ( ) ) ) > ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) ) { desc = desc.substring ( 0 , ( ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) - ( android.length ( ) ) ) ) ; } desc += android ; break ; } } } if ( ( desc.length ( ) ) > ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) ) { desc = ( desc.substring ( 0 , ( ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) - 1 ) ) ) + ">" ; } while ( ( desc.getBytes ( com.google.common.base.Charsets.UTF_8 ) . length ) > ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.MAX_DESCRIPTION_SIZE ) ) { desc = desc.substring ( 0 , ( ( desc.length ( ) ) - 1 ) ) ; } return desc ; }