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

Method main

src/test/resources/pta/basic/Strings.java:3–16  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

1class Strings {
2
3 public static void main(String[] args) {
4 String s1 = id("aaa");
5
6 A a = new A();
7 a.f = "bbb";
8 String s2 = a.f;
9
10 A.sf = "ccc";
11 String s3 = A.sf;
12
13 String[] arr = new String[10];
14 arr[0] = "ddd";
15 String s4 = arr[0];
16 }
17
18 static String id(String s) {
19 return s;

Callers

nothing calls this directly

Calls 1

idMethod · 0.95

Tested by

no test coverage detected