S
- The type of method descriptions represented by this list.public abstract static class MethodList.AbstractBase<S extends MethodDescription> extends FilterableList.AbstractBase<S,MethodList<S>> implements MethodList<S>
MethodList
.MethodList.AbstractBase<S extends MethodDescription>, MethodList.Empty<S extends MethodDescription>, MethodList.Explicit<S extends MethodDescription>, MethodList.ForLoadedMethods, MethodList.ForTokens, MethodList.TypeSubstituting
modCount
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
MethodList<MethodDescription.InDefinedShape> |
asDefined()
Returns this list of these method descriptions resolved to their defined shape.
|
List<MethodDescription.SignatureToken> |
asSignatureTokenList()
Returns a list of signature tokens for this list of methods.
|
List<MethodDescription.SignatureToken> |
asSignatureTokenList(ElementMatcher<? super TypeDescription> matcher,
TypeDescription typeDescription)
Returns a list of signature tokens for this list of methods.
|
ByteCodeElement.Token.TokenList<MethodDescription.Token> |
asTokenList(ElementMatcher<? super TypeDescription> matcher)
Transforms the list of method descriptions into a list of detached tokens.
|
protected MethodList<S> |
wrap(List<S> values)
Represents a list of values as an instance of this instance's list type.
|
filter, getOnly, subList
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
filter, getOnly, subList
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected MethodList<S> wrap(List<S> values)
FilterableList.AbstractBase
wrap
in class FilterableList.AbstractBase<S extends MethodDescription,MethodList<S extends MethodDescription>>
values
- The values to wrap in an instance of this list's type.values
.public ByteCodeElement.Token.TokenList<MethodDescription.Token> asTokenList(ElementMatcher<? super TypeDescription> matcher)
TargetType
.asTokenList
in interface MethodList<S extends MethodDescription>
matcher
- A matcher that indicates type substitution.public List<MethodDescription.SignatureToken> asSignatureTokenList()
asSignatureTokenList
in interface MethodList<S extends MethodDescription>
public List<MethodDescription.SignatureToken> asSignatureTokenList(ElementMatcher<? super TypeDescription> matcher, TypeDescription typeDescription)
asSignatureTokenList
in interface MethodList<S extends MethodDescription>
matcher
- A matcher for resolving methods to MethodDescription.Token
s.typeDescription
- The type description to resolve the MethodDescription.SignatureToken
s to.public MethodList<MethodDescription.InDefinedShape> asDefined()
asDefined
in interface MethodList<S extends MethodDescription>
Copyright © 2014–1970. All rights reserved.