Package eu.bandm.tools.util
Interface StackTraceFilter
- All Superinterfaces:
Predicate<StackTraceElement>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Embedded domain-specific language for matching of stack trace elements.
(For application examples see the source of lljava/live/BaseCompilationContext.)
-
Method Summary
Modifier and TypeMethodDescriptionstatic StackTraceFilter
Lift a predicate on classes to be a predicate on stackframes.Prediacte whether the class is in the given package.Prediacte whether the class is in the given package.inPackageOf
(Class<?> cls) Prediacte whether the class is in the package of the given class.inToplevel
(Predicate<? super Class<?>> pred) Lift a predicate on classes to bw applied on the topmost enclosing class.subclassOf
(Class<?> sup) Prediacte whether the class is a subclass of the given class.
-
Method Details
-
classIs
Lift a predicate on classes to be a predicate on stackframes. -
inToplevel
Lift a predicate on classes to bw applied on the topmost enclosing class. -
inPackage
Prediacte whether the class is in the given package. -
inPackage
Prediacte whether the class is in the given package. -
inPackageOf
Prediacte whether the class is in the package of the given class. -
subclassOf
Prediacte whether the class is a subclass of the given class.
-