@Test public void configurations() { MaxSwitchCasesCheck maxSwitchCasesCheck = new MaxSwitchCasesCheck(); assertThat(maxSwitchCasesCheck.configurations()).containsExactly(30); maxSwitchCasesCheck.maximum = 4; assertThat(maxSwitchCasesCheck.configurations()).containsExactly(4); }
@Override public List<Object> configurations() { return Collections.singletonList(maximum); }
MaxSwitchCasesCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(maximum); } }
MaxSwitchCasesCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(maximum); }  }
MaxSwitchCasesCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(maximum); }  @Override List<Object> configurations(); @Override String eslintKey(); }
MaxSwitchCasesCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(maximum); }  @Override List<Object> configurations(); @Override String eslintKey();  }