public static class MethodList.ForLoadedType extends FilterableList.AbstractBase<MethodDescription,MethodList> implements MethodList
MethodList.Empty, MethodList.Explicit, MethodList.ForLoadedTypeFilterableList.AbstractBase<T,S extends FilterableList<T,S>>modCount| Constructor and Description |
|---|
ForLoadedType(Class<?> type)
Creates a new list for a loaded type.
|
ForLoadedType(Constructor<?>[] constructor,
Method[] method)
Creates a method list that represents the given constructors and methods in their given order.
|
ForLoadedType(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 |
get(int index) |
int |
size() |
protected MethodList |
wrap(List<MethodDescription> values)
Represents a list of values as an instance of this instance's list type.
|
filter, 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 ForLoadedType(Class<?> type)
type - The type to be represented by this method list.public ForLoadedType(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 ForLoadedType(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 get(int index)
get in interface List<MethodDescription>get in class AbstractList<MethodDescription>public int size()
size in interface Collection<MethodDescription>size in interface List<MethodDescription>size in class AbstractCollection<MethodDescription>protected MethodList wrap(List<MethodDescription> values)
FilterableList.AbstractBasewrap in class FilterableList.AbstractBase<MethodDescription,MethodList>values - The values to wrap in an instance of this list's type.values.Copyright © 2014–2015. All rights reserved.