| 22 | import java.util.List; |
| 23 | |
| 24 | public class Probe { |
| 25 | |
| 26 | private final List<String> inputArguments; |
| 27 | |
| 28 | private final String[] classpath; |
| 29 | |
| 30 | public Probe() { |
| 31 | RuntimeMXBean runtimeMxBean = ManagementFactory.getRuntimeMXBean(); |
| 32 | this.inputArguments = runtimeMxBean.getInputArguments(); |
| 33 | this.classpath = runtimeMxBean.getClassPath().split(":"); |
| 34 | } |
| 35 | |
| 36 | public List<String> getInputArguments() { |
| 37 | return this.inputArguments; |
| 38 | } |
| 39 | |
| 40 | public String[] getClassPath() { |
| 41 | return this.classpath; |
| 42 | } |
| 43 | |
| 44 | } |
nothing calls this directly
no outgoing calls
no test coverage detected