diff options
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/mapping/ProcyonEntryFactory.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/cuchaz/enigma/mapping/ProcyonEntryFactory.java b/src/main/java/cuchaz/enigma/mapping/ProcyonEntryFactory.java index 941caf9..51fed83 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())); |