Class Statistics

java.lang.Object
com.android.dx.dex.file.Statistics

public final class Statistics extends Object
Statistics about the contents of a file.
  • Constructor Details

    • Statistics

      public Statistics()
      Constructs an instance.
  • Method Details

    • add

      public void add(Item item)
      Adds the given item to the statistics.
      Parameters:
      item - non-null; the item to add
    • addAll

      public void addAll(Section list)
      Adds the given list of items to the statistics.
      Parameters:
      list - non-null; the list of items to add
    • writeAnnotation

      public final void writeAnnotation(AnnotatedOutput out)
      Writes the statistics as an annotation.
      Parameters:
      out - non-null; where to write to
    • toHuman

      public String toHuman()