Class FieldList.TypeSubstituting
java.lang.Object
java.util.AbstractCollection<FieldDescription.InGenericShape>
java.util.AbstractList<FieldDescription.InGenericShape>
net.bytebuddy.matcher.FilterableList.AbstractBase<FieldDescription.InGenericShape, FieldList<FieldDescription.InGenericShape>>
net.bytebuddy.description.field.FieldList.AbstractBase<FieldDescription.InGenericShape>
net.bytebuddy.description.field.FieldList.TypeSubstituting
- All Implemented Interfaces:
Iterable<FieldDescription.InGenericShape>, Collection<FieldDescription.InGenericShape>, List<FieldDescription.InGenericShape>, SequencedCollection<FieldDescription.InGenericShape>, FieldList<FieldDescription.InGenericShape>, FilterableList<FieldDescription.InGenericShape, FieldList<FieldDescription.InGenericShape>>
- Enclosing interface:
FieldList<T extends FieldDescription>
public static class FieldList.TypeSubstituting
extends FieldList.AbstractBase<FieldDescription.InGenericShape>
A list of field descriptions that yields
FieldDescription.TypeSubstituting.-
Nested Class Summary
Nested classes/interfaces inherited from interface FieldList
FieldList.AbstractBase<S>, FieldList.Empty<S>, FieldList.Explicit<S>, FieldList.ForLoadedFields, FieldList.ForTokens, FieldList.TypeSubstitutingNested classes/interfaces inherited from interface FilterableList
FilterableList.AbstractBase<T,S>, FilterableList.Empty<T, S> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeDescription.GenericThe field's actual declaring type.private final List<? extends FieldDescription> The field descriptions to be transformed.private final TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> The visitor to apply to a field description.Fields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionTypeSubstituting(TypeDescription.Generic declaringType, List<? extends FieldDescription> fieldDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting field list. -
Method Summary
Methods inherited from class FieldList.AbstractBase
asDefined, asTokenList, wrapMethods inherited from class FilterableList.AbstractBase
filter, getOnly, subListMethods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface FilterableList
filter, getOnly, subListMethods inherited from interface List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, spliterator, toArray, toArray
-
Field Details
-
declaringType
The field's actual declaring type. -
fieldDescriptions
The field descriptions to be transformed. -
visitor
The visitor to apply to a field description.
-
-
Constructor Details
-
TypeSubstituting
public TypeSubstituting(TypeDescription.Generic declaringType, List<? extends FieldDescription> fieldDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting field list.- Parameters:
declaringType- The field's actual declaring type.fieldDescriptions- The field descriptions to be transformed.visitor- The visitor to apply to a field description.
-
-
Method Details
-
get
- Specified by:
getin interfaceList<FieldDescription.InGenericShape>- Specified by:
getin classAbstractList<FieldDescription.InGenericShape>
-
size
public int size()- Specified by:
sizein interfaceCollection<FieldDescription.InGenericShape>- Specified by:
sizein interfaceList<FieldDescription.InGenericShape>- Specified by:
sizein classAbstractCollection<FieldDescription.InGenericShape>
-