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

Method main

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

Source from the content-addressed store, hash-verified

1class Array {
2
3 public static void main(String[] args) {
4 A[] arr = new A[10];
5 arr[0] = new A();
6 arr[1] = new A();
7 A a = arr[0];
8 arr.hashCode();
9 B[] barr = new B[10];
10 arrayStore(barr, new A());
11 Object o = barr[0];
12 }
13
14 private static void arrayStore(Object[] a, Object o) {
15 a[0] = o;

Callers

nothing calls this directly

Calls 2

arrayStoreMethod · 0.95
hashCodeMethod · 0.45

Tested by

no test coverage detected