isSkipped

Checks if the StackTraceElement should be skipped based on the SkipInStackTrace annotation.

Receiver

StackTraceElement The element to check.

Return

true if the StackTraceElement should be skipped, false otherwise.


Checks if the StackFrame should be skipped based on the SkipInStackTrace annotation.

Receiver

StackFrame The frame to check.

Return

true if the StackFrame should be skipped, false otherwise.


internal fun isSkipped(clazz: Class<*>, methodName: String): Boolean(source)

Determines whether a method within the given class should be skipped.

Return

true if the method should be skipped, false otherwise.

Parameters

clazz

The class in which the method is declared.

methodName

The name of the method.