@Test public void hashCodeTests() { assertThat(new StackFrameVariable(VariableScope.GLOBAL, true, "var", "int", 10).hashCode()) .isEqualTo(new StackFrameVariable(VariableScope.GLOBAL, true, "var", "int", 10).hashCode()); }
@Override public int hashCode() { return Objects.hashCode(scope, isAutomatic, name, type, value); }
StackFrameVariable { @Override public int hashCode() { return Objects.hashCode(scope, isAutomatic, name, type, value); } }
StackFrameVariable { @Override public int hashCode() { return Objects.hashCode(scope, isAutomatic, name, type, value); } StackFrameVariable(final VariableScope scope, final boolean isAutomatic, final String name,
            final String type, final Object value); }
StackFrameVariable { @Override public int hashCode() { return Objects.hashCode(scope, isAutomatic, name, type, value); } StackFrameVariable(final VariableScope scope, final boolean isAutomatic, final String name,
            final String type, final Object value); VariableScope getScope(); void setScope(final VariableScope scope); boolean isAutomatic(); String getName(); String getType(); Object getValue(); StackFrameVariable copy(); @Override boolean equals(final Object obj); @Override int hashCode(); }
StackFrameVariable { @Override public int hashCode() { return Objects.hashCode(scope, isAutomatic, name, type, value); } StackFrameVariable(final VariableScope scope, final boolean isAutomatic, final String name,
            final String type, final Object value); VariableScope getScope(); void setScope(final VariableScope scope); boolean isAutomatic(); String getName(); String getType(); Object getValue(); StackFrameVariable copy(); @Override boolean equals(final Object obj); @Override int hashCode();  }