@Test public void testGetOptionsMask() { assertThat(defaultTraceOptions.getOptionsMask()).isEqualTo(0); assertThat(noneEnabled.getOptionsMask()).isEqualTo(0); assertThat(traceEnabled.getOptionsMask()).isEqualTo(1); assertThat(stackTraceEnabled.getOptionsMask()).isEqualTo(2); assertThat(allEnabled.getOptionsMask()).isEqualTo(3); }
public int getOptionsMask() { return optionsMask; }
TraceOptions { public int getOptionsMask() { return optionsMask; } }
TraceOptions { public int getOptionsMask() { return optionsMask; } TraceOptions();  TraceOptions(int optionsMask); }
TraceOptions { public int getOptionsMask() { return optionsMask; } TraceOptions();  TraceOptions(int optionsMask); static TraceOptions forTraceDisabled(); static TraceOptions forTraceEnabled(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); int getOptionsMask(); boolean getTraceEnabled(); boolean getStackTraceEnabled(); TraceOptions overrideTraceEnabled(boolean enabled); TraceOptions overrideStackTraceEnabled(boolean enabled); }
TraceOptions { public int getOptionsMask() { return optionsMask; } TraceOptions();  TraceOptions(int optionsMask); static TraceOptions forTraceDisabled(); static TraceOptions forTraceEnabled(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); int getOptionsMask(); boolean getTraceEnabled(); boolean getStackTraceEnabled(); TraceOptions overrideTraceEnabled(boolean enabled); TraceOptions overrideStackTraceEnabled(boolean enabled);  }