Top Description Fields Constructors Methods
org.jboss.jandex

public final Class ClassSummary

extends Object
Class Inheritance
Imports
java.io.InputStream, java.util.Set

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 Summary

Modifier and TypeField and Description
private final Set<DotName>
private final DotName
private final DotName

Constructor Summary

AccessConstructor and Description
pack-priv
ClassSummary(DotName name, DotName superclassName, Set<DotName> annotations)

Method Summary

Modifier and TypeMethod and Description
public Set<DotName>
annotations()

Returns the names of annotations present in this class.

public int
annotationsCount()

Returns the number of types of annotations present in this class.

public DotName
name()

Returns the name of this class.

public DotName
superclassName()

Returns the name of this class's superclass.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annotationsback to summary
private final Set<DotName> annotations
nameback to summary
private final DotName name
superclassNameback to summary
private final DotName superclassName

Constructor Detail

ClassSummaryback to summary
pack-priv ClassSummary(DotName name, DotName superclassName, Set<DotName> annotations)

Method Detail

annotationsback to summary
public Set<DotName> annotations()

Returns the names of annotations present in this class.

annotationsCountback to summary
public int annotationsCount()

Returns the number of types of annotations present in this class.

nameback to summary
public DotName name()

Returns the name of this class.

superclassNameback to summary
public DotName superclassName()

Returns the name of this class's superclass.