@Test public void testGetUser() throws Exception { }
public synchronized User getUser() { if (this.user == null) { this.user = User.getUser(Thread.currentThread().getThreadGroup()); } return this.user; }
KernelThread { public synchronized User getUser() { if (this.user == null) { this.user = User.getUser(Thread.currentThread().getThreadGroup()); } return this.user; } }
KernelThread { public synchronized User getUser() { if (this.user == null) { this.user = User.getUser(Thread.currentThread().getThreadGroup()); } return this.user; } KernelThread(Thread thread); }
KernelThread { public synchronized User getUser() { if (this.user == null) { this.user = User.getUser(Thread.currentThread().getThreadGroup()); } return this.user; } KernelThread(Thread thread); Thread getThread(); synchronized boolean isPrivileged(); static KernelThread getKernelThread(Thread t); static KernelThread currentKernelThread(); static void initSysCalls(List<Class> classes); synchronized User getUser(); synchronized void setUser(User user); static void doSysCall(Object obj, Method methodToCall, Object... args); final static Method getSysCallMethod(Class targetClass, String name); final synchronized String getCurrentDirectory(); final synchronized void setCurrentDirectory(String currentDirectory); }
KernelThread { public synchronized User getUser() { if (this.user == null) { this.user = User.getUser(Thread.currentThread().getThreadGroup()); } return this.user; } KernelThread(Thread thread); Thread getThread(); synchronized boolean isPrivileged(); static KernelThread getKernelThread(Thread t); static KernelThread currentKernelThread(); static void initSysCalls(List<Class> classes); synchronized User getUser(); synchronized void setUser(User user); static void doSysCall(Object obj, Method methodToCall, Object... args); final static Method getSysCallMethod(Class targetClass, String name); final synchronized String getCurrentDirectory(); final synchronized void setCurrentDirectory(String currentDirectory);  }