public static class MethodList.TypeSubstituting extends MethodList.AbstractBase<MethodDescription.InGenericShape>
MethodDescription.TypeSubstituting
.MethodList.AbstractBase<S extends MethodDescription>, MethodList.Empty<S extends MethodDescription>, MethodList.Explicit<S extends MethodDescription>, MethodList.ForLoadedMethods, MethodList.ForTokens, MethodList.TypeSubstituting
Modifier and Type | Field and Description |
---|---|
protected TypeDescription.Generic |
declaringType
The methods' declaring type.
|
protected List<? extends MethodDescription> |
methodDescriptions
The list of method descriptions to represent.
|
protected TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> |
visitor
The visitor to apply to each method description before returning it.
|
modCount
Constructor and Description |
---|
TypeSubstituting(TypeDescription.Generic declaringType,
List<? extends MethodDescription> methodDescriptions,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting method list.
|
Modifier and Type | Method and Description |
---|---|
MethodDescription.InGenericShape |
get(int index) |
int |
size() |
asDefined, asTokenList, wrap
filter, getOnly, subList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
filter, getOnly, subList
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected final TypeDescription.Generic declaringType
protected final List<? extends MethodDescription> methodDescriptions
protected final TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor
public TypeSubstituting(TypeDescription.Generic declaringType, List<? extends MethodDescription> methodDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
declaringType
- The methods' declaring type.methodDescriptions
- The list of method descriptions to represent.visitor
- The visitor to apply to each method description before returning it.public MethodDescription.InGenericShape get(int index)
get
in interface List<MethodDescription.InGenericShape>
get
in class AbstractList<MethodDescription.InGenericShape>
public int size()
size
in interface Collection<MethodDescription.InGenericShape>
size
in interface List<MethodDescription.InGenericShape>
size
in class AbstractCollection<MethodDescription.InGenericShape>
Copyright © 2014–2020. All rights reserved.