Interface ClassFinder
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ClassFinder
This provides an array backed implementation ofClassFinder
that just returns the explicitly stated classes.find()
static @NotNull ClassFinder
reflective
(@NotNull Class<?> baseClass, @NotNull String... packages) This provides a reflections based implementation ofClassFinder
-
Method Details
-
find
- Returns:
- the classes to be searched for
Interaction
-
reflective
@NotNull static @NotNull ClassFinder reflective(@NotNull @NotNull Class<?> baseClass, @NotNull @NotNull String... packages) This provides a reflections based implementation ofClassFinder
- Parameters:
baseClass
- TheClass
providing the usedClassLoader
packages
- a list of packages that should be scanned
-
explicit
This provides an array backed implementation ofClassFinder
that just returns the explicitly stated classes.- Parameters:
classes
- the classes to be scanned
-