接口 Textifiable


public interface Textifiable
An 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.
作者:
Eugene Kuleshov
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    textify(StringBuffer buf, Map<Label,String> labelNames)
    Build a human readable representation of this attribute.
  • 方法详细资料

    • textify

      void textify(StringBuffer buf, Map<Label,String> labelNames)
      Build a human readable representation of this attribute.
      参数:
      buf - a buffer used for printing Java code.
      labelNames - map of label instances to their names.