Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/java-native-access/jna
/ returnCallingClass
Method
returnCallingClass
test/com/sun/jna/DirectTest.java:155–157 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
153
}
154
155
private
Class<?> returnCallingClass() {
156
return
Native.getCallingClass();
157
}
158
159
public
void
testFindCallingClass() {
160
assertEquals(
"Wrong calling class detected"
,
Callers
1
testFindCallingClass
Method · 0.95
Calls
1
getCallingClass
Method · 0.95
Tested by
no test coverage detected