/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ interface LambdaTestI { void abstractFun(int x); } class LambdaTest { void call_lambda_FN(int x) { /* Three methods are auto-generated here: - LambdaTest.callsite_LambdaTest$Lambda$_2_0 - LambdaTest.access_LambdaTest$Lambda$_2_0 - LambdaTest$Lambda$_2_0. and one method is newly defined here: - LambdaTest$Lambda$_2_0.abstractFun */ LambdaTestI fobj = (int y) -> { /* One method is auto-generated here: - lambda$call_lambda$0 */ for (int i = 0; i < y; i++) {} }; fobj.abstractFun(x); } }