Graham
29e55df5a4
Use live variable analysis in DummyLocalTransformer
...
This allows us to catch a few extra locals, which in turn allows us to remove a
few more dummy arguments.
5 years ago
Graham
400a10f8d2
Add live variable analysis
5 years ago
Graham
f0eabb0619
Add generic data flow analysis framework
5 years ago
Graham
fee7cf82cd
Add Analyzer for creating control flow graphs
5 years ago
Graham
89b274077f
Use infix union operator
5 years ago
Graham
d9762d65bc
Fix Kotlin inspections
5 years ago
Graham
575632413a
Add missing private modifier
5 years ago
Graham
c6cf9a4d94
Add initial client bundler
5 years ago
Graham
099d9c591d
Replace listOf() with emptyList()
...
I think this makes the meaning slightly clearer.
5 years ago
Graham
41dac20719
Make @Override annotations invisible
...
Normally they wouldn't be retained in the bytecode at all, but for obvious
reasons we can't do that! Making them invisible is at least closer to the
RetentionPolicy's intention than a visible annotation.
5 years ago
Graham
5038d1d671
Replace ByteStreams with Kotlin extension method
5 years ago
Graham
06b8af41e2
Replace Stream with Sequence
5 years ago
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