Get line lengths below 120 characters
@@ -92,20 +92,24 @@ public class CfrDecompiler extends Decompiler<String> {
// Fix inner class names being busted in decompilation text, needs to be "Inner$1"
// instead of "Inner.1", as generated by CFR
- String classSimpleName = className.contains("/") ? className.substring(className.lastIndexOf('/') + 1) : className;
+ String classSimpleName = className.contains("/") ?
+ className.substring(className.lastIndexOf('/') + 1) : className;
if(classSimpleName.contains("$")) {
String incorrectlyDecompiledClassSimpleName = classSimpleName.replace('$', '.');
- int indexOfincorrectlyDecompiledClassSimpleName = decompilationText.indexOf(incorrectlyDecompiledClassSimpleName);
+ int indexOfincorrectlyDecompiledClassSimpleName =
+ decompilationText.indexOf(incorrectlyDecompiledClassSimpleName);
if (indexOfincorrectlyDecompiledClassSimpleName == -1) {
// Generated CFR output does not match expectations.
// Don't attempt to fix up matters and lets this pass through
// with an indication that we encountered this challenge.
- // One example of this happening is in https://mvnrepository.com/artifact/com.google.code.gson/gson/2.2.4
+ // One example of this happening is in
+ // https://mvnrepository.com/artifact/com.google.code.gson/gson/2.2.4
// with (true) class com.google.gson.internal.$Gson$Types$GenericArrayTypeImpl
// being decompiled by CFR to com.google.gson.internal.$Gson$Types.GenericArrayTypeImpl
// Note that singular dot in there generated by CFR.
- decompilationText = "// ERROR: Unable to apply inner class name fixup" + System.lineSeparator() + decompilationText;
+ decompilationText = "// ERROR: Unable to apply inner class name fixup" + System.lineSeparator()
+ + decompilationText;
return decompilationText;
}
