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.
|
ByteCodeElement.Token.TokenList<MethodDescription.Token> |
asTokenList(ElementMatcher<? super TypeDescription> matcher)
Transforms the list of method descriptions into a list of detached tokens.
|
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
ByteCodeElement.Token.TokenList<MethodDescription.Token> asTokenList(ElementMatcher<? super TypeDescription> matcher)
TargetType
.matcher
- A matcher that indicates type substitution.MethodList<MethodDescription.InDefinedShape> asDefined()
Copyright © 2014–2020. All rights reserved.