Package com.vaadin.flow.internal
Class StackTraceUtil
java.lang.Object
com.vaadin.flow.internal.StackTraceUtil
Helpers for finding the application code in a stack trace.
For internal use only. May be renamed or removed in a future release.
- Since:
- 25.4
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisApplicationClass(String className) Checks whether the given class is application code rather than one of the framework, JDK or dependency injection container classes that sit between application code and the API it calls.
-
Method Details
-
isApplicationClass
Checks whether the given class is application code rather than one of the framework, JDK or dependency injection container classes that sit between application code and the API it calls. A stack trace points at the code that made a call through its first frame of an application class.Only the framework packages that application code calls directly are excluded, so framework code that runs on its own, such as the router, counts as application code.
- Parameters:
className- the fully qualified name of the class, notnull- Returns:
trueif the class is application code,falseotherwise
-