public static class FieldList.TypeSubstituting extends FieldList.AbstractBase<FieldDescription.InGenericShape>
FieldDescription.TypeSubstituting.FieldList.AbstractBase<S extends FieldDescription>, FieldList.Empty<S extends FieldDescription>, FieldList.Explicit<S extends FieldDescription>, FieldList.ForLoadedFields, FieldList.ForTokens, FieldList.TypeSubstituting| Modifier and Type | Field and Description |
|---|---|
private TypeDescription.Generic |
declaringType
The field's actual declaring type.
|
private java.util.List<? extends FieldDescription> |
fieldDescriptions
The field descriptions to be transformed.
|
private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> |
visitor
The visitor to apply to a field description.
|
| Constructor and Description |
|---|
TypeSubstituting(TypeDescription.Generic declaringType,
java.util.List<? extends FieldDescription> fieldDescriptions,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting field list.
|
| Modifier and Type | Method and Description |
|---|---|
FieldDescription.InGenericShape |
get(int index) |
int |
size() |
asDefined, asTokenList, wrapfilter, getOnly, subListadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfilter, getOnly, subListprivate final TypeDescription.Generic declaringType
private final java.util.List<? extends FieldDescription> fieldDescriptions
private final TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor
public TypeSubstituting(TypeDescription.Generic declaringType, java.util.List<? extends FieldDescription> fieldDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
declaringType - The field's actual declaring type.fieldDescriptions - The field descriptions to be transformed.visitor - The visitor to apply to a field description.public FieldDescription.InGenericShape get(int index)
get in interface java.util.List<FieldDescription.InGenericShape>get in class java.util.AbstractList<FieldDescription.InGenericShape>public int size()
size in interface java.util.Collection<FieldDescription.InGenericShape>size in interface java.util.List<FieldDescription.InGenericShape>size in class java.util.AbstractCollection<FieldDescription.InGenericShape>