MCPcopy Index your code
hub / github.com/java-native-access/jna / apply

Method apply

src/com/sun/jna/Native.java:282–290  ·  view source on GitHub ↗
(Stream<Object> t)

Source from the content-addressed store, hash-verified

280 Method stackFrameGetDeclaringClass = stackframe.getMethod("getDeclaringClass");
281 stackWalkerFilterBuilder = new java.util.function.Function<Stream<Object>, Class<?>>() {
282 @Override
283 public Class<?> apply(Stream<Object> t) {
284 Object stackFrame = t.skip(2).findFirst().get();
285 try {
286 return (Class<?>) stackFrameGetDeclaringClass.invoke(stackFrame);
287 } catch (Throwable ex) {
288 return null;
289 }
290 }
291 };
292
293 } catch (Throwable ex) {

Callers

nothing calls this directly

Calls 2

invokeMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected