@Test public void testEquals() { new EqualsTester() .addEqualityGroup(TrueExpr.instance(), TrueExpr.instance()) .addEqualityGroup(new Object()) .testEquals(); }
@Override public boolean equals(@Nullable Object obj) { return obj instanceof TrueExpr; }
TrueExpr implements BoolExpr { @Override public boolean equals(@Nullable Object obj) { return obj instanceof TrueExpr; } }
TrueExpr implements BoolExpr { @Override public boolean equals(@Nullable Object obj) { return obj instanceof TrueExpr; } @JsonCreator private  TrueExpr(); }
TrueExpr implements BoolExpr { @Override public boolean equals(@Nullable Object obj) { return obj instanceof TrueExpr; } @JsonCreator private  TrueExpr(); static TrueExpr instance(); @Override int hashCode(); @Override boolean equals(@Nullable Object obj); @Override T accept(BoolExprVisitor<T> tBoolExprVisitor); }
TrueExpr implements BoolExpr { @Override public boolean equals(@Nullable Object obj) { return obj instanceof TrueExpr; } @JsonCreator private  TrueExpr(); static TrueExpr instance(); @Override int hashCode(); @Override boolean equals(@Nullable Object obj); @Override T accept(BoolExprVisitor<T> tBoolExprVisitor);  }