getClasses

public static Array<Class<? extends Object>> getClasses(String packageName, boolean recursive)(source)

Scans all classes accessible from the context class loader which belong to the given package and optionally subpackages.

Return

the found classes

Parameters

packageName

The base package name

recursive

whether to scan recursively

Throws

if an I/O Exception occurs


public static Array<Class<? extends Object>> getClasses(String packageName)(source)

Scans all classes accessible from the context class loader which belong to the given package. (non-recursive)

Return

the found classes

Parameters

packageName

The base package name

Throws

if an I/O Exception occurs