Skip to content

Commit ab201e0

Browse files
committed
Add accessibility to some private members
1 parent 1f56144 commit ab201e0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/org/jetbrains/java/decompiler/modules/decompiler/ExprProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ public static boolean endsWithSemicolon(Exprent expr) {
814814
(expr instanceof VarExprent && ((VarExprent)expr).isClassDef()));
815815
}
816816

817-
private static void addDeletedGotoInstructionMapping(Statement stat, TextBuffer buffer) {
817+
public static void addDeletedGotoInstructionMapping(Statement stat, TextBuffer buffer) {
818818
if (stat instanceof BasicBlockStatement) {
819819
BasicBlock block = ((BasicBlockStatement)stat).getBlock();
820820
List<Integer> offsets = block.getInstrOldOffsets();

src/org/jetbrains/java/decompiler/modules/decompiler/exps/SwitchHeadExprent.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ public void setValue(Exprent value) {
142142
this.value = value;
143143
}
144144

145+
public List<List<Exprent>> getCaseValues() {
146+
return caseValues;
147+
}
148+
145149
public void setCaseValues(List<List<Exprent>> caseValues) {
146150
this.caseValues = caseValues;
147151
}

0 commit comments

Comments
 (0)