public static class RecordComponentList.TypeSubstituting extends RecordComponentList.AbstractBase<RecordComponentDescription.InGenericShape>
RecordComponentList.AbstractBase<S extends RecordComponentDescription>, RecordComponentList.Empty<S extends RecordComponentDescription>, RecordComponentList.Explicit<S extends RecordComponentDescription>, RecordComponentList.ForLoadedRecordComponents, RecordComponentList.ForTokens, RecordComponentList.TypeSubstitutingmodCount| Constructor and Description |
|---|
TypeSubstituting(TypeDescription.Generic declaringType,
List<? extends RecordComponentDescription> recordComponentDescriptions,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a type substituting list of record component descriptions.
|
| Modifier and Type | Method and Description |
|---|---|
RecordComponentDescription.InGenericShape |
get(int index) |
int |
size() |
asDefined, asTokenList, asTypeList, 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, subListadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic TypeSubstituting(TypeDescription.Generic declaringType, List<? extends RecordComponentDescription> recordComponentDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
declaringType - The method that is declaring the transformed record components.recordComponentDescriptions - The untransformed record components that are represented by this list.visitor - The visitor to apply to the parameter types before returning them.public RecordComponentDescription.InGenericShape get(int index)
get in interface List<RecordComponentDescription.InGenericShape>get in class AbstractList<RecordComponentDescription.InGenericShape>public int size()
size in interface Collection<RecordComponentDescription.InGenericShape>size in interface List<RecordComponentDescription.InGenericShape>size in class AbstractCollection<RecordComponentDescription.InGenericShape>Copyright © 2014–2025. All rights reserved.