Skip navigation links
A B C D E F G I J L M N O P R S T U V 

A

allocateUnsafeInstance() - Method in class top.wavelength.betterreflection.BetterReflectionClass
Allocates an unsafe instance of the class.
allocateUnsafeInstance(Class<?>) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
Allocates an instance of the specified class using Unsafe.
asSubclass(Class<U>) - Method in class top.wavelength.betterreflection.BetterReflectionClass
 

B

basePackage - Variable in class top.wavelength.betterreflection.lookup.ClassFinder
 
BetterReflection - Class in top.wavelength.betterreflection
This class simply caches Reflections.
BetterReflection() - Constructor for class top.wavelength.betterreflection.BetterReflection
 
BetterReflectionClass<T> - Class in top.wavelength.betterreflection
 
BetterReflectionClass(String) - Constructor for class top.wavelength.betterreflection.BetterReflectionClass
 
BetterReflectionClass(BetterReflectionClass<T>) - Constructor for class top.wavelength.betterreflection.BetterReflectionClass
 
BetterReflectionClass(Class<T>) - Constructor for class top.wavelength.betterreflection.BetterReflectionClass
 
betterReflectionSuperClass - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 
BetterReflectionUtils - Class in top.wavelength.betterreflection
 
BetterReflectionUtils() - Constructor for class top.wavelength.betterreflection.BetterReflectionUtils
 

C

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
 
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
 
clasz - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 
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.

D

declaredConstructors - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 
declaredFields - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 
declaredMethods - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 
doParametersMatch(Class<?>[], Class<?>[]) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
 
dumpMethodHeader(Method, boolean, boolean, boolean) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
 
dumpMethodHeaders() - Method in class top.wavelength.betterreflection.BetterReflectionClass
Write the all the method headers into stout
dumpMethodHeaders(boolean) - Method in class top.wavelength.betterreflection.BetterReflectionClass
Write the all the method headers into stout
dumpMethodHeaders(boolean, boolean) - Method in class top.wavelength.betterreflection.BetterReflectionClass
Write the all the method headers into stout
dumpMethodHeaders(boolean, boolean, boolean) - Method in class top.wavelength.betterreflection.BetterReflectionClass
Write the all the method headers into stout

E

EnumBetterReflectionClass<T extends Enum<?>> - Class in top.wavelength.betterreflection
A class that extends BetterReflectionClass and provides additional functionality for enum classes.
EnumBetterReflectionClass(String) - Constructor for class top.wavelength.betterreflection.EnumBetterReflectionClass
Creates a new EnumBetterReflectionClass instance with the given class name.
EnumBetterReflectionClass(BetterReflectionClass<T>) - Constructor for class top.wavelength.betterreflection.EnumBetterReflectionClass
Creates a new EnumBetterReflectionClass instance with the given BetterReflectionClass.
EnumBetterReflectionClass(Class<T>) - Constructor for class top.wavelength.betterreflection.EnumBetterReflectionClass
Creates a new EnumBetterReflectionClass instance with the given class.
enumConstants - Variable in class top.wavelength.betterreflection.EnumBetterReflectionClass
 

F

FIELD - Static variable in class top.wavelength.betterreflection.BetterReflection
 
fields - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 
findClasses() - Method in class top.wavelength.betterreflection.lookup.ClassFinder
Finds classes in a package based on certain criteria.
findClasses() - Method in class top.wavelength.betterreflection.lookup.IdeClassFinder
Finds classes in a package based on certain criteria.
findClasses() - Method in class top.wavelength.betterreflection.lookup.JarClassFinder
Finds classes in a package based on certain criteria.
forName(String) - Static method in class top.wavelength.betterreflection.BetterReflectionClass
 
forNameAsArray(String) - Static method in class top.wavelength.betterreflection.BetterReflectionClass
 

G

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
Deprecated.
This method is deprecated in favour of ClassFinder
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
 
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
 
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
 
getPrimitives() - Static method in class top.wavelength.betterreflection.BetterReflection
 
getProtectionDomain() - Method in class top.wavelength.betterreflection.BetterReflectionClass
 
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
 
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

I

IdeClassFinder<T> - Class in top.wavelength.betterreflection.lookup
IdeClassFinder is a concrete implementation of the ClassFinder abstract class that is used to find classes in a package from an IDE runtime environment based on certain criteria.
IdeClassFinder(String) - Constructor for class top.wavelength.betterreflection.lookup.IdeClassFinder
Constructs an IdeClassFinder object with the given package name parameter.
INSTANCE - Static variable in class top.wavelength.betterreflection.BetterReflection
 
INTEGER_PATTERN - Static variable in class top.wavelength.betterreflection.BetterReflection
 
invokeDeclaredMethod(Object, String, Object...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
 
invokeMethod(Object, String, Object...) - Method in class top.wavelength.betterreflection.BetterReflectionClass
 
invokeMethods(Map<String, Object[]>, Object) - Method in class top.wavelength.betterreflection.BetterReflectionClass
 
isAssignableFrom(Class<?>) - Method in class top.wavelength.betterreflection.BetterReflectionClass
 
isAssignableFrom(BetterReflectionClass) - Method in class top.wavelength.betterreflection.BetterReflectionClass
 
isEnum - Variable in class top.wavelength.betterreflection.BetterReflectionClass
This variable represents whether the class is an enumeration.
isEnum() - Method in class top.wavelength.betterreflection.BetterReflectionClass
 
isEnumWrapped() - Method in class top.wavelength.betterreflection.BetterReflectionClass
 
isInstance(Object) - Method in class top.wavelength.betterreflection.BetterReflectionClass
 
isRecursive() - Method in class top.wavelength.betterreflection.lookup.ClassFinder
Returns whether the ClassFinder instance is set to be recursive or not.
isRunningFromJar() - Method in class top.wavelength.betterreflection.BetterReflectionClass
 
isRunningFromJar(BetterReflectionClass<?>) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
 
isRunningFromJar() - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
 
isRunningOnAndroid() - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
 
isUpToDate() - Static method in class top.wavelength.betterreflection.BetterReflection
Checks whether the current version matches (or is higher) than the latest released version on GitHub.
iterator() - Method in class top.wavelength.betterreflection.lookup.ClassFinder
Returns an iterator over the BetterReflectionClass objects representing the found classes.

J

jar - Variable in class top.wavelength.betterreflection.BetterReflectionClass
JarClassFinder<T> - Class in top.wavelength.betterreflection.lookup
JarClassFinder is a concrete implementation of the ClassFinder abstract class that is used to find classes in a package from a JAR file based on certain criteria.
JarClassFinder(String) - Constructor for class top.wavelength.betterreflection.lookup.JarClassFinder
Constructs a JarClassFinder object with the given package name parameter.
jarFile - Variable in class top.wavelength.betterreflection.BetterReflectionClass
JAVA_CLASS - Static variable in class top.wavelength.betterreflection.BetterReflection
 

L

LAUNCH_JAR_FILE - Static variable in class top.wavelength.betterreflection.BetterReflectionUtils
Caching the jar file on launch to make sure it's not null later.

M

methods - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 

N

name - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 
newInstance() - Method in class top.wavelength.betterreflection.BetterReflectionClass
 

O

ofType(Class<T>) - Method in class top.wavelength.betterreflection.lookup.ClassFinder
Sets the type of the ClassFinder instance.
ofType(BetterReflectionClass<T>) - Method in class top.wavelength.betterreflection.lookup.ClassFinder
Sets the type of the ClassFinder instance.

P

packageName - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 
protectionDomain - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 

R

recursive(boolean) - Method in class top.wavelength.betterreflection.lookup.ClassFinder
Sets the recursive flag of the ClassFinder instance.
ReflectionParameter - Class in top.wavelength.betterreflection
 
ReflectionParameter(Object, Class<?>) - Constructor for class top.wavelength.betterreflection.ReflectionParameter
 
ReflectionParameter(Object) - Constructor for class top.wavelength.betterreflection.ReflectionParameter
 
runningFromJar - Variable in class top.wavelength.betterreflection.BetterReflectionClass

S

scanDirectory(List<File>, String) - Method in class top.wavelength.betterreflection.lookup.IdeClassFinder
Scans the given directories for class files and returns a list of BetterReflectionClass objects.
setFinal(Field, boolean) - Static method in class top.wavelength.betterreflection.BetterReflectionUtils
Version is greater than or equal to 11 Provided by this StackOverflow post:
simpleName - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 
superClass - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 

T

top.wavelength.betterreflection - package top.wavelength.betterreflection
 
top.wavelength.betterreflection.exceptions - package top.wavelength.betterreflection.exceptions
 
top.wavelength.betterreflection.lookup - package top.wavelength.betterreflection.lookup
 
toString(String) - Method in class top.wavelength.betterreflection.EnumBetterReflectionClass
Returns a string representation of the enum constants joined by the specified separator.
toString() - Method in class top.wavelength.betterreflection.EnumBetterReflectionClass
Returns a string representation of the enum constants joined by the default separator ", ".
typeName - Variable in class top.wavelength.betterreflection.BetterReflectionClass
 

U

UNSAFE_CLASS - Static variable in class top.wavelength.betterreflection.BetterReflection
 

V

versionToInts(String) - Static method in class top.wavelength.betterreflection.BetterReflection
 
A B C D E F G I J L M N O P R S T U V 
Skip navigation links

Copyright © 2024. All rights reserved.