- CannotReadJarException - Exception in top.wavelength.betterreflection.exceptions
-
- CannotReadJarException(String) - Constructor for exception top.wavelength.betterreflection.exceptions.CannotReadJarException
-
- canonicalName - Variable in class top.wavelength.betterreflection.BetterReflectionClass
-
- cast(Object) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- CLASS - Static variable in class top.wavelength.betterreflection.BetterReflectionUtils
-
- ClassDumper<T> - Class in top.wavelength.betterreflection.dumper.implementation
-
The ClassDumper class is responsible for dumping the information related to a class.
- ClassDumper(ConstructorDumper, FieldDumper, MethodDumper) - Constructor for class top.wavelength.betterreflection.dumper.implementation.ClassDumper
-
Constructs an instance of ClassDumper with the specified constructorDumper, fieldDumper, and methodDumper
- ClassDumper() - Constructor for class top.wavelength.betterreflection.dumper.implementation.ClassDumper
-
Default constructor for ClassDumper.
- ClassFinder<T> - Class in top.wavelength.betterreflection.lookup
-
An abstract class for finding classes in a package based on certain criteria.
- ClassFinder(String) - Constructor for class top.wavelength.betterreflection.lookup.ClassFinder
-
Constructs a ClassFinder object with the given base package parameter.
- ClassFinderFactory - Class in top.wavelength.betterreflection.lookup
-
The ClassFinderFactory class provides factory methods to create instances of ClassFinder, which is used to find classes in a package based on certain criteria.
- ClassFinderFactory() - Constructor for class top.wavelength.betterreflection.lookup.ClassFinderFactory
-
- classLoader(ClassLoader) - Method in class top.wavelength.betterreflection.lookup.ClassFinder
-
Sets the class loader that will be used to load the classes for this ClassFinder instance.
- clasz - Variable in class top.wavelength.betterreflection.BetterReflectionClass
-
- ConstructorDumper - Class in top.wavelength.betterreflection.dumper.implementation
-
The ConstructorDumper class is responsible for dumping the information related to a constructor.
- ConstructorDumper() - Constructor for class top.wavelength.betterreflection.dumper.implementation.ConstructorDumper
-
- constructors - Variable in class top.wavelength.betterreflection.BetterReflectionClass
-
- contains(String) - Method in class top.wavelength.betterreflection.EnumBetterReflectionClass
-
Checks if the given value exists in the enum constants of the containing class.
- create(String, BetterReflectionClass<?>, BetterReflectionClass<T>) - Static method in class top.wavelength.betterreflection.lookup.ClassFinderFactory
-
Creates a ClassFinder object based on the given base package and package class.
- create(String, BetterReflectionClass<?>) - Static method in class top.wavelength.betterreflection.lookup.ClassFinderFactory
-
Creates a ClassFinder object based on the given base package and package class.
- create(String, BetterReflectionClass<?>, Class<T>) - Static method in class top.wavelength.betterreflection.lookup.ClassFinderFactory
-
Creates a ClassFinder object based on the given base package and package class.
- generateMethodHeader(Method, boolean, boolean, boolean) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getArray(Object...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getArrayClass() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getArrayClassIf(boolean) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getBetterReflectionArrayClass() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getBetterReflectionClass(String) - Method in class top.wavelength.betterreflection.BetterReflection
-
- getBetterReflectionClass(Class<T>) - Method in class top.wavelength.betterreflection.BetterReflection
-
- getBetterReflectionClasses() - Method in class top.wavelength.betterreflection.BetterReflection
-
- getBetterReflectionSuperClass() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getCallerClass(int) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
Returns the class of the calling method's caller.
- getCallerClass() - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
Returns the class of the calling method's caller.
- getCallerClassName(int) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
Returns the fully qualified class name of the calling method's caller.
- getCallerClassName() - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
Returns the fully qualified class name of the calling method's caller.
- getCanonicalName() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getClasses(Object...) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getClasses(Map<Integer, Class<?>>, Object...) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getClassesFromNameBeginning(String, String) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
This method will use
BetterReflectionUtils.getClassesInPackage(String) to find all the
classes in the specified package, it will then return a list of all the
classes that start with beginning
For example:
getClassesFromNameBeginning("me.wavelength.betterreflection", "BetterReflection")
Will return a list with the following classes: [ "BetterReflection", "BetterReflectionClass", "BetterReflectionUtils" ]
- getClassesInPackage(String) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getClassLoader() - Method in class top.wavelength.betterreflection.lookup.ClassFinder
-
Retrieves the class loader currently set for this ClassFinder instance.
- getClasz() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getConstructor(Object...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getConstructor(Class<?>...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getConstructor(Class<?>[], Constructor<?>[]) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getConstructors() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getCurrentJar(BetterReflectionClass<?>) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getCurrentJar() - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getCurrentJarFile(BetterReflectionClass<?>) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getCurrentJarFile() - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getDeclaredConstructor(Object...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getDeclaredConstructor(Class<?>...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getDeclaredConstructors() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getDeclaredField(String) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getDeclaredFields() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getDeclaredFieldValue(Object, String) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getDeclaredMethod(String, Object...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getDeclaredMethod(String, Class<?>...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getDeclaredMethods() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getDirectoriesFromPackageName(String) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
This should only be invoked when launching on an IDE
- getEnumConstants() - Method in class top.wavelength.betterreflection.EnumBetterReflectionClass
-
- getField(String) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getField(String, Field[]) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getFields() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getFieldValue(BetterReflectionClass<?>, Object, String) - Static method in class top.wavelength.betterreflection.BetterReflection
-
- getIfPresent(String) - Method in class top.wavelength.betterreflection.EnumBetterReflectionClass
-
Retrieves the enum constant associated with the specified value,
or an empty Optional if the value is null, empty, or does not exist in the enum constants of the containing class.
- getJar() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getJarFile() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getJarFile() - Method in class top.wavelength.betterreflection.lookup.ClassFinder
-
Retrieves the jar file currently set for this ClassFinder instance.
- getJavaVersion() - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
Gets the System property "java.version"
- getLatestVersion() - Static method in class top.wavelength.betterreflection.BetterReflection
-
- getMethod(String, Object...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getMethod(String, Class<?>...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getMethod(String, Class<?>[], Method[]) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getMethods() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getName() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getName(Class<?>) - Method in enum top.wavelength.betterreflection.dumper.TypeDisplayNameFormat
-
Returns the name of the given type based on the specified TypeDisplayNameFormat.
- getName(Method) - Method in enum top.wavelength.betterreflection.dumper.TypeDisplayNameFormat
-
Returns the name of the given method's return type based on the specified TypeDisplayNameFormat.
- getName(Field) - Method in enum top.wavelength.betterreflection.dumper.TypeDisplayNameFormat
-
Returns the name of the given field's type.
- getName(Parameter) - Method in enum top.wavelength.betterreflection.dumper.TypeDisplayNameFormat
-
Returns the name of the given parameter's type based on the specified TypeDisplayNameFormat.
- getOrDefault(String, T) - Method in class top.wavelength.betterreflection.EnumBetterReflectionClass
-
Retrieves the enum constant associated with the specified value, or returns the default value if the value is null, empty, or does not exist in the enum constants of the containing
class.
- getOrNull(String) - Method in class top.wavelength.betterreflection.EnumBetterReflectionClass
-
Retrieves the enum constant associated with the specified value,
or returns null if the value is null, empty, or does not exist in the enum constants
of the containing class.
- getPackageName() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getParameterTypeDisplay() - Method in class top.wavelength.betterreflection.dumper.implementation.ConstructorDumper
-
Gets the display format for the parameter types of the Constructor.
- getParameterTypeDisplay() - Method in class top.wavelength.betterreflection.dumper.implementation.MethodDumper
-
Gets the display format for the parameter types of the Method.
- getPrimitives() - Static method in class top.wavelength.betterreflection.BetterReflection
-
- getProtectionDomain() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getReturnTypeDisplay() - Method in class top.wavelength.betterreflection.dumper.implementation.MethodDumper
-
Gets the display format for the return type of the Method.
- getSimpleName() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getSuperclass() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getType() - Method in class top.wavelength.betterreflection.lookup.ClassFinder
-
Retrieves the type of the ClassFinder instance.
- getType() - Method in class top.wavelength.betterreflection.ReflectionParameter
-
- getTypeDisplay() - Method in class top.wavelength.betterreflection.dumper.implementation.FieldDumper
-
Gets the display format for the type of the Field.
- getTypeName() - Method in class top.wavelength.betterreflection.BetterReflectionClass
-
- getTypes(Object...) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getTypes(Map<Integer, Class<?>>, Object...) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
-
- getValue() - Method in class top.wavelength.betterreflection.ReflectionParameter
-
- getVersion() - Static method in class top.wavelength.betterreflection.BetterReflection
-
Returns the current version