diff options
| -rw-r--r-- | build.gradle | 2 | ||||
| -rw-r--r-- | src/main/java/cuchaz/enigma/mapping/ProcyonEntryFactory.java | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle index 6fc46b8f..8dc5d416 100644 --- a/build.gradle +++ b/build.gradle | |||
| @@ -66,7 +66,7 @@ configurations { | |||
| 66 | dependencies { | 66 | dependencies { |
| 67 | compile 'com.google.guava:guava:17.+' | 67 | compile 'com.google.guava:guava:17.+' |
| 68 | compile 'org.javassist:javassist:3.+' | 68 | compile 'org.javassist:javassist:3.+' |
| 69 | compile 'org.bitbucket.mstrobel:procyon-compilertools:0.5.33.7-enigma' | 69 | compile 'org.bitbucket.mstrobel:procyon-compilertools:0.5.33.8-enigma' |
| 70 | 70 | ||
| 71 | application 'de.sciss:syntaxpane:1.1.+' | 71 | application 'de.sciss:syntaxpane:1.1.+' |
| 72 | 72 | ||
diff --git a/src/main/java/cuchaz/enigma/mapping/ProcyonEntryFactory.java b/src/main/java/cuchaz/enigma/mapping/ProcyonEntryFactory.java index 941caf9d..51fed83e 100644 --- a/src/main/java/cuchaz/enigma/mapping/ProcyonEntryFactory.java +++ b/src/main/java/cuchaz/enigma/mapping/ProcyonEntryFactory.java | |||
| @@ -35,9 +35,8 @@ public class ProcyonEntryFactory { | |||
| 35 | } | 35 | } |
| 36 | builder.append(")"); | 36 | builder.append(")"); |
| 37 | 37 | ||
| 38 | // TODO: Fix Procyon render | ||
| 39 | TypeReference returnType = methodReference.getReturnType(); | 38 | TypeReference returnType = methodReference.getReturnType(); |
| 40 | if (returnType.getErasedSignature().equals("Ljava/lang/Object;") && returnType.hasExtendsBound() && returnType.getExtendsBound() instanceof CompoundTypeReference) | 39 | if (returnType.getErasedSignature().equals("Ljava/lang/Object;") && returnType.hasExtendsBound() && returnType.getExtendsBound() instanceof CompoundTypeReference) |
| 41 | { | 40 | { |
| 42 | List<TypeReference> interfaces = ((CompoundTypeReference) returnType.getExtendsBound()).getInterfaces(); | 41 | List<TypeReference> interfaces = ((CompoundTypeReference) returnType.getExtendsBound()).getInterfaces(); |
| 43 | interfaces.forEach((inter) -> builder.append(inter.getErasedSignature())); | 42 | interfaces.forEach((inter) -> builder.append(inter.getErasedSignature())); |