methodBuilder.addAllParameters(params); final MethodCall method = methodBuilder.build(); final LoadRunnerMethod lrMethod = reader.getLrSupportedMethod(method.getName()); if(lrMethod == null){
/** * Creates an immutable copy of a {@link MethodCall} value. * Uses accessors to get values to initialize the new immutable instance. * If an instance is already immutable, it is returned as is. * @param instance The instance to copy * @return A copied immutable MethodCall instance */ public static ImmutableMethodCall copyOf(MethodCall instance) { if (instance instanceof ImmutableMethodCall) { return (ImmutableMethodCall) instance; } return ImmutableMethodCall.builder() .from(instance) .build(); }