Package org.jboss.jandex
Class FieldInfoGenerator
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<FieldInfo>
-
- org.jboss.jandex.FieldInfoGenerator
-
- All Implemented Interfaces:
java.lang.Iterable<FieldInfo>
,java.util.Collection<FieldInfo>
,java.util.List<FieldInfo>
class FieldInfoGenerator extends java.util.AbstractList<FieldInfo>
A list which wraps FieldInternal objects with a FieldInfo, so that the declaring class' reference can be set. This lazy construction is used to conserve memory usage.
-
-
Field Summary
Fields Modifier and Type Field Description private ClassInfo
clazz
private FieldInternal[]
fields
private byte[]
positions
-
Constructor Summary
Constructors Constructor Description FieldInfoGenerator(ClassInfo clazz, FieldInternal[] fields, byte[] positions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldInfo
get(int i)
int
size()
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
-
-
-
Field Detail
-
fields
private final FieldInternal[] fields
-
clazz
private final ClassInfo clazz
-
positions
private final byte[] positions
-
-
Constructor Detail
-
FieldInfoGenerator
public FieldInfoGenerator(ClassInfo clazz, FieldInternal[] fields, byte[] positions)
-
-
Method Detail
-
get
public FieldInfo get(int i)
-
-