Class ClassSummary

java.lang.Object
org.jboss.jandex.ClassSummary

public final class ClassSummary extends Object
Summary of a just-indexed class, returned by Indexer.indexWithSummary(InputStream). Contains overview information for reporting progress in batch indexers, as well as some structural information that can safely be exposed to callers during indexing.

This class must not expose information that could possibly change during post-processing, when completing the index.

  • Field Details

    • name

      private final DotName name
    • superclassName

      private final DotName superclassName
    • annotations

      private final Set<DotName> annotations
  • Constructor Details

  • Method Details

    • name

      public DotName name()
      Returns the name of this class.
    • superclassName

      public DotName superclassName()
      Returns the name of this class's superclass.
    • annotations

      public Set<DotName> annotations()
      Returns the names of annotations present in this class.
    • annotationsCount

      public int annotationsCount()
      Returns the number of types of annotations present in this class.