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
Graham
db971f6b2b
Convert indefiniteArticle() to an extension method
5 years ago
Graham
0cb0658f61
Add shorthand MemberDesc constructors
5 years ago
Graham
0a5901cde4
Add shorthand MemberRef constructors
5 years ago
Graham
6c3d98702c
Remove reset methods
5 years ago
Graham
446a72abc5
Make package-private classes, methods and fields public
...
This will make refactoring the client code into packages easier.
5 years ago
Graham
f6f810de2e
Remove mutually-recursive dummy method calls
...
This is a little bit grim and probably not completely safe in all cases,
but it works well enough on the client.
Ideally I think I'd do it with a dominator tree calculated from a call
graph aware of integer constants and conditional calls, but that's quite
complicated (especially given how the existing code in the
DummyArgTransformer works).
5 years ago
Graham
27c0b997b9
Share list of bundler transformers
5 years ago