MCPcopy Create free account
hub / github.com/LFYSec/MScan / main

Method main

src/test/resources/pta/invokedynamic/Function.java:5–13  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

3public class Function {
4
5 public static void main(String[] args) {
6 BinaryOperator<Long> functionAdd = (x, y) -> x + y;
7 Long result = functionAdd.apply(1L, 2L);
8 System.out.println(result);
9
10 BinaryOperator<Long> function = (Long x, Long y) -> x + y;
11 Long result2 = function.apply(1L, 2L);
12 System.out.println(result2);
13 }
14
15}

Callers

nothing calls this directly

Calls 1

applyMethod · 0.65

Tested by

no test coverage detected