Add missing private modifier

bzip2
Graham 5 years ago
parent 1d0bcfd88f
commit 575632413a
  1. 2
      bundler/src/main/java/dev/openrs2/bundler/Bundler.kt
  2. 2
      deob-ast/src/main/java/dev/openrs2/deob/ast/transform/IncrementTransformer.kt
  3. 2
      deob-ast/src/main/java/dev/openrs2/deob/ast/transform/NewInstanceTransformer.kt
  4. 4
      deob/src/main/java/dev/openrs2/deob/transform/OverrideTransformer.kt

@ -125,7 +125,7 @@ class Bundler @Inject constructor(publicKeyTransformer: PublicKeyTransformer) {
} }
companion object { companion object {
val logger = InlineLogger() private val logger = InlineLogger()
val TRANSFORMERS = listOf( val TRANSFORMERS = listOf(
BufferSizeTransformer(), BufferSizeTransformer(),
CachePathTransformer(), CachePathTransformer(),

@ -31,7 +31,7 @@ class IncrementTransformer : Transformer() {
} }
companion object { companion object {
fun prefixToPostfix(operator: UnaryExpr.Operator) = when (operator) { private fun prefixToPostfix(operator: UnaryExpr.Operator) = when (operator) {
UnaryExpr.Operator.PREFIX_INCREMENT -> UnaryExpr.Operator.POSTFIX_INCREMENT UnaryExpr.Operator.PREFIX_INCREMENT -> UnaryExpr.Operator.POSTFIX_INCREMENT
UnaryExpr.Operator.PREFIX_DECREMENT -> UnaryExpr.Operator.POSTFIX_DECREMENT UnaryExpr.Operator.PREFIX_DECREMENT -> UnaryExpr.Operator.POSTFIX_DECREMENT
else -> operator else -> operator

@ -21,6 +21,6 @@ class NewInstanceTransformer : Transformer() {
} }
companion object { companion object {
val CONSTRUCTOR_METHODS = setOf("getConstructor", "getDeclaredConstructor") private val CONSTRUCTOR_METHODS = setOf("getConstructor", "getDeclaredConstructor")
} }
} }

@ -50,7 +50,7 @@ class OverrideTransformer : Transformer() {
} }
companion object { companion object {
val logger = InlineLogger() private val logger = InlineLogger()
val OVERRIDE_DESC: String = Type.getDescriptor(Override::class.java) private val OVERRIDE_DESC: String = Type.getDescriptor(Override::class.java)
} }
} }

Loading…
Cancel
Save