public static class MethodList.ForLoadedMethods extends MethodList.AbstractBase<MethodDescription.InDefinedShape>
MethodList.AbstractBase<S extends MethodDescription>, MethodList.Empty<S extends MethodDescription>, MethodList.Explicit<S extends MethodDescription>, MethodList.ForLoadedMethods, MethodList.ForTokens, MethodList.TypeSubstitutingmodCount| Constructor and Description |
|---|
ForLoadedMethods(Class<?> type)
Creates a new list for a loaded type.
|
ForLoadedMethods(Constructor<?>[] constructor,
Method[] method)
Creates a method list that represents the given constructors and methods in their given order.
|
ForLoadedMethods(List<? extends Constructor<?>> constructors,
List<? extends Method> methods)
Creates a method list that represents the given constructors and methods in their given order.
|
| Modifier and Type | Method and Description |
|---|---|
MethodDescription.InDefinedShape |
get(int index) |
int |
size() |
asDefined, asSignatureTokenList, asSignatureTokenList, asTokenList, 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 ForLoadedMethods(Class<?> type)
type - The type to be represented by this method list.public ForLoadedMethods(Constructor<?>[] constructor, Method[] method)
constructor - The constructors to be represented by the method list.method - The methods to be represented by the method list.public ForLoadedMethods(List<? extends Constructor<?>> constructors, List<? extends Method> methods)
constructors - The constructors to be represented by the method list.methods - The methods to be represented by the method list.public MethodDescription.InDefinedShape get(int index)
get in interface List<MethodDescription.InDefinedShape>get in class AbstractList<MethodDescription.InDefinedShape>public int size()
size in interface Collection<MethodDescription.InDefinedShape>size in interface List<MethodDescription.InDefinedShape>size in class AbstractCollection<MethodDescription.InDefinedShape>Copyright © 2014–2023. All rights reserved.