Graham
98692c7d78
Add Java 8 compatibility
...
As a result of the Kotlin port, using Java 11 becomes less important.
Java 8 is still fairly widespread, so I think supporting it is still
worthwhile.
5 years ago
Graham
c2809a16f8
Add OverrideTransformer
5 years ago
Graham
e9a9a8f962
Format with ktlint
5 years ago
Graham
77e8b0cdc0
Use top-level Kotlin main() functions
5 years ago
Graham
a99d5973ae
Replace Guice's repeat with Kotlin's
5 years ago
Graham
5c367073c0
Use named parameters for clarity in Deobfuscator
5 years ago
Graham
15e9636b79
Replace Guava ImmutableList with Kotlin List in ClassPath
5 years ago
Graham
86fe02f32d
Remove @JvmStatic annotations
...
We only need to keep it on the main() methods for the moment.
5 years ago
Graham
0b834fb223
Remove @Throws annotations
...
We don't need them now we have no more Java code left.
5 years ago
Graham
b6d96ac4e6
Convert TypedRemapper to Kotlin
5 years ago
Graham
0db3d979c9
Convert Deobfuscator to Kotlin
5 years ago
Graham
0f78c9582c
Convert IntValue to a sealed class
5 years ago
Graham
84f18c4d10
Convert ConstSourceValue to a sealed class
5 years ago
Graham
8aa3a79166
Replace Guava's ImmutableSet with Kotlin's Set type
5 years ago
Graham
5fa44c9016
Convert DummyArgTransformer to Kotlin
5 years ago
Graham
6ad99645dc
Replace for loop with enhanced for
5 years ago
Graham
0823a0253f
Convert UnusedArgTransformer to Kotlin
5 years ago
Graham
e05653cdcc
Rename util to common
5 years ago
Graham
dd88e3ca2c
Improve positions of line breaks in ConstSourceInterpreter
5 years ago
Graham
1864b6b630
Convert IntInterpreter to Kotlin
5 years ago
Graham
f56b288663
Convert OpaquePredicateTransformer to Kotlin
5 years ago
Graham
1c2d2f1264
Convert ResetTransformer to Kotlin
5 years ago
Graham
1153165227
Simplify condition in ResetTransformer
5 years ago
Graham
87cbb83fcf
Convert BitwiseOpTransformer to Kotlin
5 years ago
Graham
957c0820a3
Convert CounterTransformer to Kotlin
5 years ago
Graham
00526587b0
Convert DummyLocalTransformer to Kotlin
5 years ago
Graham
fdd1835fdd
Convert ConstSourceInterpreter to Kotlin
5 years ago
Graham
3e0e7824e0
Convert InsnListUtils to Kotlin
5 years ago
Graham
8020ac98ab
Convert InsnNodeUtils to Kotlin
5 years ago
Graham
fdcc5a217f
Rename hasSideEffects() to isPure()
...
Its output has been inverted, as this wouldn't make sense otherwise.
5 years ago
Graham
e5af454815
Convert ClassMetadata to Kotlin
...
The dependency/interface properties are translated to getDependency and
getInterface. I don't know if it is possible to fix this, but it won't matter
when the rest of the codebase is converted to Kotlin.
5 years ago
Graham
07bb22f795
Convert Library to Kotlin
5 years ago
Graham
6425990b23
Convert SignedClassUtils to Kotlin
5 years ago
Graham
64b8ea5fe7
Reduce method visibility in Transformers
5 years ago
Graham
11050ce735
Convert OriginalNameTransformer to Kotlin
5 years ago
Graham
d7e3799f5c
Convert RemapTransformer to Kotlin
5 years ago
Graham
fb18a7227d
Convert FieldOrderTransformer to Kotlin
5 years ago
Graham
1338c80083
Convert ExceptionTracingTransformer to Kotlin
5 years ago
Graham
a2afcf341b
Convert CanvasTransformer to Kotlin
5 years ago
Graham
77d3489b23
Convert BitShiftTransformer to Kotlin
5 years ago
Graham
368df81bc8
Convert AccessTransformer to Kotlin
5 years ago
Graham
3b88d5f10e
Convert SourcedIntValue to Kotlin
5 years ago
Graham
e319493e81
Convert PrefixRemapper to Kotlin
5 years ago
Graham
44d7b3703f
Convert ArgRef to Kotlin
5 years ago
Graham
8b57525c88
Move InsnList-related methods to InsnListUtils
5 years ago
Graham
db785e38d0
Convert MethodNodeUtils to Kotlin
5 years ago
Graham
862c79e31c
Rename deleteArgument() to removeArgument() for consistency
5 years ago
Graham
e68fed7a9e
Convert StackMetadata to Kotlin
5 years ago
Graham
eec9279a2c
Add hasCode() method
5 years ago
Graham
72db700534
Remove capitalize() method
...
Kotlin already has a capitalize() method - we don't need to define our
own.
5 years ago