protected static class ParameterList.ForLoadedExecutable.OfLegacyVmMethod extends ParameterList.AbstractBase<ParameterDescription.InDefinedShape>
java.lang.reflect.Parameter
type is not available.ParameterList.AbstractBase<S extends ParameterDescription>, ParameterList.Empty<S extends ParameterDescription>, ParameterList.Explicit<S extends ParameterDescription>, ParameterList.ForLoadedExecutable<T>, ParameterList.ForTokens, ParameterList.TypeSubstituting
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Method |
method
The represented method.
|
private ParameterDescription.ForLoadedParameter.ParameterAnnotationSource |
parameterAnnotationSource
The parameter annotation source to query.
|
private java.lang.Class<?>[] |
parameterType
An array of this method's parameter types.
|
Modifier | Constructor and Description |
---|---|
protected |
OfLegacyVmMethod(java.lang.reflect.Method method,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Creates a legacy representation of a method's parameters.
|
Modifier and Type | Method and Description |
---|---|
ParameterDescription.InDefinedShape |
get(int index) |
int |
size() |
asDefined, asTokenList, asTypeList, hasExplicitMetaData, wrap
filter, getOnly, subList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
filter, getOnly, subList
private final java.lang.reflect.Method method
private final java.lang.Class<?>[] parameterType
private final ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource
protected OfLegacyVmMethod(java.lang.reflect.Method method, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
method
- The method to represent.parameterAnnotationSource
- The parameter annotation source to query.public ParameterDescription.InDefinedShape get(int index)
get
in interface java.util.List<ParameterDescription.InDefinedShape>
get
in class java.util.AbstractList<ParameterDescription.InDefinedShape>
public int size()
size
in interface java.util.Collection<ParameterDescription.InDefinedShape>
size
in interface java.util.List<ParameterDescription.InDefinedShape>
size
in class java.util.AbstractCollection<ParameterDescription.InDefinedShape>