UIntConstantExpr extends ConstantExpr { @Override public UIntConstantExpr clone() { return new UIntConstantExpr(value); } UIntConstantExpr(String text); @Override boolean hasChild(IAstNode child); String getValue(); int getNumericValue(); @Override void accept(IAstVisitor visitor); @Override UIntConstantExpr clone();  }
@Test public void testClone() throws Exception { UIntConstantExpr uice = new UIntConstantExpr("3u"); UIntConstantExpr uice2 = uice.clone(); assertFalse(uice == uice2); assertEquals(uice.getValue(), uice2.getValue()); }