T - The type of method descriptions represented by this list.public interface MethodList<T extends MethodDescription> extends FilterableList<T,MethodList<T>>
| Modifier and Type | Interface and Description |
|---|---|
static class |
MethodList.AbstractBase<S extends MethodDescription>
A base implementation of a
MethodList. |
static class |
MethodList.Empty<S extends MethodDescription>
An implementation of an empty method list.
|
static class |
MethodList.Explicit<S extends MethodDescription>
A method list that is a wrapper for a given list of method descriptions.
|
static class |
MethodList.ForLoadedMethods
A method list implementation that returns all loaded byte code methods (methods and constructors) that
are declared for a given type.
|
static class |
MethodList.ForTokens
A list of method descriptions for a list of detached tokens.
|
static class |
MethodList.TypeSubstituting
A list of method descriptions that yields
MethodDescription.TypeSubstituting. |
| 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.
|
filter, getOnly, subListadd, 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, toArrayparallelStream, removeIf, streamByteCodeElement.Token.TokenList<MethodDescription.Token> asTokenList(ElementMatcher<? super TypeDescription> matcher)
TargetType.matcher - A matcher that indicates type substitution.List<MethodDescription.SignatureToken> asSignatureTokenList()
List<MethodDescription.SignatureToken> asSignatureTokenList(ElementMatcher<? super TypeDescription> matcher, TypeDescription typeDescription)
matcher - A matcher for resolving methods to MethodDescription.Tokens.typeDescription - The type description to resolve the MethodDescription.SignatureTokens to.MethodList<MethodDescription.InDefinedShape> asDefined()
Copyright © 2014–2023. All rights reserved.