Uses of Class
com.luchersol.core.util.Checker
Packages that use Checker
Package
Description
Core utility classes and base abstractions for the Checker framework.
-
Uses of Checker in com.luchersol.core.util
Subclasses with type arguments of type Checker in com.luchersol.core.utilModifier and TypeClassDescriptionclassChecker<T>Main entry point for object validation and type checking.Methods in com.luchersol.core.util that return CheckerModifier and TypeMethodDescriptionstatic <T> Checker<T> Checker.check(T object) Creates a newCheckerfor the given object and name.static <T> Checker<T> Creates a newCheckerfor the given object and name.Checker<?> AbstractChecker.checkProperty(String propertyPath, Object... args) Caution: Be careful with class types when using this method.Checker<?> Ensures that the methods are invoked using the desired classes.Checker<?> AbstractChecker.checkProperty(String propertyPath, Map<String, Object> args) Checks a property or method using a map of named arguments.<R> Checker<R> AbstractChecker.checkProperty(Function<? super T, ? extends R> extractor, String propertyName) Evaluates a property of the current object using the provided extractor function and returns aCheckerfor further validation.Checker<?> AbstractChecker.end()Ends the current checker and returns the previous checker in the chain.Checker.isCollection()Checks if the object is a Collection.<C> Checker<C> Checker.isInstance(Class<C> clazz) Checks if the object is an instance of the given class.Checker.isNumber()Checks if the object is a Number.Checker.self()Returns thisChecker<T>instance (for fluent API).AbstractChecker.toChecker()Converts the current checker instance to aCheckerof the same type.