org.jboss.jandex.Indexer .
The IndexWriter operates on standard output streams, and also provides suitable buffering.
Thread-Safety
IndexWriter is not thread-safe and can not be shared between concurrent threads.org.jboss.jandex.Indexer , org.jboss.jandex.Index
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final byte | |
| private TreeMap | |
| private static final byte | |
| private static final int | |
| pack-priv static final int | |
| private static final byte | |
| private static final byte | |
| pack-priv static final int | |
| private final OutputStream | |
| private StrongInternPool | |
| pack-priv StrongInternPool | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | IndexWriterV1(OutputStream
a stream to write an index to out, int version)Constructs an IndexWriter using the specified stream |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private DotName | |
| private String | |
| private int | |
| private int | |
| pack-priv int | Returns: the number of bytes written to the streamthe index to write to the stream index)Implements abstract org. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| AVALUE_ARRAY | back to summary |
|---|---|
| private static final int AVALUE_ARRAY | |
| AVALUE_BOOLEAN | back to summary |
|---|---|
| private static final int AVALUE_BOOLEAN | |
| AVALUE_BYTE | back to summary |
|---|---|
| private static final int AVALUE_BYTE | |
| AVALUE_CHAR | back to summary |
|---|---|
| private static final int AVALUE_CHAR | |
| AVALUE_CLASS | back to summary |
|---|---|
| private static final int AVALUE_CLASS | |
| AVALUE_DOUBLE | back to summary |
|---|---|
| private static final int AVALUE_DOUBLE | |
| AVALUE_ENUM | back to summary |
|---|---|
| private static final int AVALUE_ENUM | |
| AVALUE_FLOAT | back to summary |
|---|---|
| private static final int AVALUE_FLOAT | |
| AVALUE_INT | back to summary |
|---|---|
| private static final int AVALUE_INT | |
| AVALUE_LONG | back to summary |
|---|---|
| private static final int AVALUE_LONG | |
| AVALUE_NESTED | back to summary |
|---|---|
| private static final int AVALUE_NESTED | |
| AVALUE_SHORT | back to summary |
|---|---|
| private static final int AVALUE_SHORT | |
| AVALUE_STRING | back to summary |
|---|---|
| private static final int AVALUE_STRING | |
| CLASS_TAG | back to summary |
|---|---|
| private static final byte CLASS_TAG | |
| classTable | back to summary |
|---|---|
| private TreeMap<DotName, Integer> classTable | |
| FIELD_TAG | back to summary |
|---|---|
| private static final byte FIELD_TAG | |
| MAGIC | back to summary |
|---|---|
| private static final int MAGIC | |
| MAX_VERSION | back to summary |
|---|---|
| pack-priv static final int MAX_VERSION | |
| METHOD_PARAMETER_TAG | back to summary |
|---|---|
| private static final byte METHOD_PARAMETER_TAG | |
| METHOD_TAG | back to summary |
|---|---|
| private static final byte METHOD_TAG | |
| MIN_VERSION | back to summary |
|---|---|
| pack-priv static final int MIN_VERSION | |
| out | back to summary |
|---|---|
| private final OutputStream out | |
| pool | back to summary |
|---|---|
| private StrongInternPool<String> pool | |
| poolIndex | back to summary |
|---|---|
| pack-priv StrongInternPool<String>. | |
| version | back to summary |
|---|---|
| private final int version | |
| IndexWriterV1 | back to summary |
|---|---|
| pack-priv IndexWriterV1(OutputStream out, int version) Constructs an IndexWriter using the specified stream
| |
| addClassName | back to summary |
|---|---|
| private void addClassName(DotName name) | |
| buildAValueEntries | back to summary |
|---|---|
| private void buildAValueEntries(Index index, AnnotationValue value) | |
| buildTables | back to summary |
|---|---|
| private void buildTables(Index index) | |
| downgradeName | back to summary |
|---|---|
| private DotName downgradeName(DotName name) | |
| intern | back to summary |
|---|---|
| private String intern(String name) | |
| positionOf | back to summary |
|---|---|
| private int positionOf(String string) | |
| positionOf | back to summary |
|---|---|
| private int positionOf(DotName className) | |
| write | back to summary |
|---|---|
| pack-priv int write(Index index) throws IOException Implements abstract org. Writes the specified index to the associated output stream. This may be called multiple times in order to write multiple indexes.
| |
| writeAnnotationValue | back to summary |
|---|---|
| private void writeAnnotationValue(PackedDataOutputStream stream, AnnotationValue value) throws IOException | |
| writeAnnotationValues | back to summary |
|---|---|
| private void writeAnnotationValues(PackedDataOutputStream stream, Collection<AnnotationValue> values) throws IOException | |
| writeClasses | back to summary |
|---|---|
| private void writeClasses(PackedDataOutputStream stream, Index index) throws IOException | |
| writeClassTable | back to summary |
|---|---|
| private void writeClassTable(PackedDataOutputStream stream) throws IOException | |
| writeStringTable | back to summary |
|---|---|
| private void writeStringTable(PackedDataOutputStream stream) throws IOException | |
| writeType | back to summary |
|---|---|
| private void writeType(PackedDataOutputStream stream, Type type) throws IOException | |