11ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabotpackage org.hamcrest; 21ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot 31ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot/** 41ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * The ability of an object to describe itself. 51ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot */ 61ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabotpublic interface SelfDescribing { 71ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot /** 81ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * Generates a description of the object. The description may be part of a 91ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * a description of a larger object of which this is just a component, so it 101ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * should be worded appropriately. 111ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * 121ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * @param description 131ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot * The description to be built or appended to. 141ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot */ 151ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot void describeTo(Description description); 161ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot}