| Modifier and Type | Method and Description |
|---|---|
MethodParameterInfo |
MethodParameterInfo.asMethodParameter() |
MethodParameterInfo |
MethodInfo.asMethodParameter() |
MethodParameterInfo |
RecordComponentInfo.asMethodParameter() |
MethodParameterInfo |
TypeTarget.asMethodParameter() |
MethodParameterInfo |
AnnotationTarget.asMethodParameter()
Casts and returns this target as a
MethodParameterInfo if it is of kind METHOD_PARAMETER |
MethodParameterInfo |
FieldInfo.asMethodParameter() |
MethodParameterInfo |
ClassInfo.asMethodParameter() |
static MethodParameterInfo |
MethodParameterInfo.create(MethodInfo method,
short parameter)
Constructs a new mock method parameter info
|
| Modifier and Type | Method and Description |
|---|---|
List<MethodParameterInfo> |
MethodInfo.parameters()
Returns a list of parameters declared on this method, in declaration order.
|
| Modifier and Type | Method and Description |
|---|---|
static EquivalenceKey.MethodParameterEquivalenceKey |
EquivalenceKey.of(MethodParameterInfo parameter)
Returns an equivalence key for given method parameter.
|
Copyright © 2018–2022. All rights reserved.