public interface Textifiable
Attribute
that can print a readable
representation of itself.
Implementations should construct readable output from an attribute data
structure. Such representation could be used in unit test assertions.Modifier and Type | Method | Description |
---|---|---|
void |
textify(StringBuffer buf,
Map<Label,String> labelNames) |
Build a human readable representation of this attribute.
|
void textify(StringBuffer buf, Map<Label,String> labelNames)
buf
- a buffer used for printing Java code.labelNames
- map of label instances to their names.