Package org.jboss.jandex
Class NameTable
- java.lang.Object
-
- org.jboss.jandex.NameTable
-
class NameTable extends java.lang.Object
A collection of intern pools.
-
-
Field Summary
Fields Modifier and Type Field Description private StrongInternPool<byte[]>
bytePool
private StrongInternPool<FieldInternal>
fieldPool
private StrongInternPool<MethodInternal>
methodPool
private java.util.Map<java.lang.String,DotName>
names
private StrongInternPool<RecordComponentInternal>
recordComponentPool
private StrongInternPool<java.lang.String>
stringPool
private StrongInternPool<Type[]>
typeListPool
private StrongInternPool<Type>
typePool
-
Constructor Summary
Constructors Constructor Description NameTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) StrongInternPool<byte[]>
bytePool()
(package private) DotName
convertToName(java.lang.String name)
(package private) DotName
convertToName(java.lang.String name, char delim)
(package private) StrongInternPool<FieldInternal>
fieldPool()
(package private) byte[]
intern(byte[] bytes)
(package private) java.lang.String
intern(java.lang.String string)
(package private) DotName
intern(DotName dotName, char delim)
(package private) FieldInternal
intern(FieldInternal fieldInternal)
(package private) MethodInternal
intern(MethodInternal methodInternal)
(package private) RecordComponentInternal
intern(RecordComponentInternal recordComponentInternal)
(package private) Type
intern(Type type)
(package private) Type[]
intern(Type[] types)
private int
lastIndexOf(java.lang.String name, char delim)
(package private) StrongInternPool<MethodInternal>
methodPool()
(package private) int
positionOf(byte[] bytes)
(package private) int
positionOf(java.lang.String string)
(package private) int
positionOf(FieldInternal fieldInternal)
(package private) int
positionOf(MethodInternal methodInternal)
(package private) int
positionOf(RecordComponentInternal recordComponentInternal)
(package private) StrongInternPool<RecordComponentInternal>
recordComponentPool()
(package private) StrongInternPool<java.lang.String>
stringPool()
(package private) DotName
wrap(DotName prefix, java.lang.String local, boolean inner)
-
-
-
Field Detail
-
stringPool
private StrongInternPool<java.lang.String> stringPool
-
typePool
private StrongInternPool<Type> typePool
-
typeListPool
private StrongInternPool<Type[]> typeListPool
-
bytePool
private StrongInternPool<byte[]> bytePool
-
methodPool
private StrongInternPool<MethodInternal> methodPool
-
fieldPool
private StrongInternPool<FieldInternal> fieldPool
-
recordComponentPool
private StrongInternPool<RecordComponentInternal> recordComponentPool
-
names
private java.util.Map<java.lang.String,DotName> names
-
-
Method Detail
-
convertToName
DotName convertToName(java.lang.String name)
-
convertToName
DotName convertToName(java.lang.String name, char delim)
-
lastIndexOf
private int lastIndexOf(java.lang.String name, char delim)
-
intern
java.lang.String intern(java.lang.String string)
-
positionOf
int positionOf(java.lang.String string)
-
intern
byte[] intern(byte[] bytes)
-
positionOf
int positionOf(byte[] bytes)
-
intern
MethodInternal intern(MethodInternal methodInternal)
-
positionOf
int positionOf(MethodInternal methodInternal)
-
intern
FieldInternal intern(FieldInternal fieldInternal)
-
positionOf
int positionOf(FieldInternal fieldInternal)
-
intern
RecordComponentInternal intern(RecordComponentInternal recordComponentInternal)
-
positionOf
int positionOf(RecordComponentInternal recordComponentInternal)
-
stringPool
StrongInternPool<java.lang.String> stringPool()
-
bytePool
StrongInternPool<byte[]> bytePool()
-
methodPool
StrongInternPool<MethodInternal> methodPool()
-
fieldPool
StrongInternPool<FieldInternal> fieldPool()
-
recordComponentPool
StrongInternPool<RecordComponentInternal> recordComponentPool()
-
-