public static final class RuntimeType.Verifier extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
check(MethodDescription methodDescription)
Checks if method return values should be assigned by considering the run time type.
|
static boolean |
check(MethodDescription methodDescription,
int parameterIndex)
Checks if a method parameter should be assigned by considering the run time type.
|
public static boolean check(MethodDescription methodDescription)
methodDescription
- The method of interest.true
if the runtime type should be considered for binding the method's return value.public static boolean check(MethodDescription methodDescription, int parameterIndex)
methodDescription
- The method of interest.parameterIndex
- The index of the parameter of interest.true
if the runtime type should be considered for binding this parameter.Copyright © 2014. All rights reserved.