MCPcopy Create free account
hub / github.com/spotbugs/spotbugs / Inner

Class Inner

spotbugsTestCases/src/java/InnerIS.java:6–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 private int x;
5
6 class Inner {
7 @ExpectWarning("IMA_INEFFICIENT_MEMBER_ACCESS")
8 public int f() {
9 synchronized (InnerIS.this) {
10 return x;
11 }
12 }
13 }
14
15 public synchronized int get() {
16 return x;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…