Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Machine-Maker committed Jul 27, 2023
1 parent e65b7bc commit d9e00f1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import dev.denwav.hypo.model.data.types.PrimitiveType;
import io.papermc.codebook.exceptions.UnexpectedException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
Expand Down Expand Up @@ -483,8 +482,9 @@ private static boolean isStringAllUppercase(final String input) {
}

// 3 instructions, load "this" local var, getfield, return - TODO maybe if there is a CAST,
private static final IntPredicate[] OPCODES_IN_ORDER = new IntPredicate[]{
i -> i == Opcodes.ALOAD, i -> i == Opcodes.GETFIELD, i -> i >= Opcodes.IRETURN && i <= Opcodes.RETURN};
private static final IntPredicate[] OPCODES_IN_ORDER = new IntPredicate[] {
i -> i == Opcodes.ALOAD, i -> i == Opcodes.GETFIELD, i -> i >= Opcodes.IRETURN && i <= Opcodes.RETURN
};

private static @Nullable String suggestNameFromFluentGetter(
final AsmClassData owner, final AsmMethodData method, final MethodInsnNode insn) {
Expand Down

0 comments on commit d9e00f1

Please sign in to comment.