Index
All Classes|All Packages
A
- allocateInstance(Class<?>) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Allocate an object instance, without calling any constructor.
E
- enumerateConstructors(Class<?>) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Enumerate all constructors in the given class, ignoring visibility and bypassing security checks.
- enumerateFields(Class<?>) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Enumerate all fields in the given class, ignoring visibility and bypassing security checks.
- enumerateMethods(Class<?>) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Enumerate all methods in the given class, ignoring visibility and bypassing security checks.
F
- findClass(String) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Finds a class by name (e.g.
- findField(Class<?>, String) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Find a field by name in the given class, ignoring visibility and bypassing security checks.
- findMethod(Class<?>, String, Class<?>...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Find a method by name in the given class, ignoring visibility and bypassing security checks.
G
- getBooleanField(Object, Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a boolean field, ignoring visibility and bypassing security checks.
- getByteField(Object, Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a byte field, ignoring visibility and bypassing security checks.
- getCharField(Object, Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a char field, ignoring visibility and bypassing security checks.
- getDeclaredConstructors(Class<T>) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get declared constructors, ignoring visibility and bypassing security checks.
- getDeclaredFields(Class<?>) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get declared fields, ignoring visibility and bypassing security checks.
- getDeclaredMethods(Class<?>) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get declared methods, ignoring visibility and bypassing security checks.
- getDoubleField(Object, Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a double field, ignoring visibility and bypassing security checks.
- getField(Object, Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of an object field, ignoring visibility and bypassing security checks, boxing the value if necessary.
- getField(String) - Method in class io.github.toolfactory.narcissus.ReflectionCache
-
Get the field of the class that has a given field name.
- getFloatField(Object, Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a float field, ignoring visibility and bypassing security checks.
- getIntField(Object, Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of an int field, ignoring visibility and bypassing security checks.
- getLongField(Object, Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a long field, ignoring visibility and bypassing security checks.
- getMethod(String, Class<?>...) - Method in class io.github.toolfactory.narcissus.ReflectionCache
-
Get a method by name and parameter types.
- getMethods(String) - Method in class io.github.toolfactory.narcissus.ReflectionCache
-
Get all methods in the class for a given method name.
- getObjectField(Object, Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of an object field, ignoring visibility and bypassing security checks.
- getShortField(Object, Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a short field, ignoring visibility and bypassing security checks.
- getStaticBooleanField(Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a static boolean field, ignoring visibility and bypassing security checks.
- getStaticByteField(Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a static byte field, ignoring visibility and bypassing security checks.
- getStaticCharField(Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a static char field, ignoring visibility and bypassing security checks.
- getStaticDoubleField(Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a static double field, ignoring visibility and bypassing security checks.
- getStaticField(Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a static field, ignoring visibility and bypassing security checks, boxing the value if necessary.
- getStaticFloatField(Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a static float field, ignoring visibility and bypassing security checks.
- getStaticIntField(Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a static int field, ignoring visibility and bypassing security checks.
- getStaticLongField(Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a static long field, ignoring visibility and bypassing security checks.
- getStaticObjectField(Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a static object field, ignoring visibility and bypassing security checks.
- getStaticShortField(Field) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Get the value of a static short field, ignoring visibility and bypassing security checks.
I
- invokeBooleanMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static boolean-return-type method, ignoring visibility and bypassing security checks.
- invokeByteMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static byte-return-type method, ignoring visibility and bypassing security checks.
- invokeCharMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static char-return-type method, ignoring visibility and bypassing security checks.
- invokeDoubleMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static double-return-type method, ignoring visibility and bypassing security checks.
- invokeFloatMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static float-return-type method, ignoring visibility and bypassing security checks.
- invokeIntMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static int-return-type method, ignoring visibility and bypassing security checks.
- invokeLongMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static long-return-type method, ignoring visibility and bypassing security checks.
- invokeMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static
Object-return-type method, ignoring visibility and bypassing security checks, boxing the result if necessary. - invokeObjectMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static
Object-return-type method, ignoring visibility and bypassing security checks. - invokeShortMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static short-return-type method, ignoring visibility and bypassing security checks.
- invokeStaticBooleanMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static boolean-return-type method, ignoring visibility and bypassing security checks.
- invokeStaticByteMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static byte-return-type method, ignoring visibility and bypassing security checks.
- invokeStaticCharMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static char-return-type method, ignoring visibility and bypassing security checks.
- invokeStaticDoubleMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static double-return-type method, ignoring visibility and bypassing security checks.
- invokeStaticFloatMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static float-return-type method, ignoring visibility and bypassing security checks.
- invokeStaticIntMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static int-return-type method, ignoring visibility and bypassing security checks.
- invokeStaticLongMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static long-return-type method, ignoring visibility and bypassing security checks.
- invokeStaticMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static
Object-return-type method, ignoring visibility and bypassing security checks, boxing the result if necessary. - invokeStaticObjectMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static
Object-return-type method, ignoring visibility and bypassing security checks. - invokeStaticShortMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static short-return-type method, ignoring visibility and bypassing security checks.
- invokeStaticVoidMethod(Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a static void-return-type method, ignoring visibility and bypassing security checks.
- invokeVoidMethod(Object, Method, Object...) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Invoke a non-static void-return-type method, ignoring visibility and bypassing security checks.
- io.github.toolfactory.narcissus - package io.github.toolfactory.narcissus
L
- libraryLoaded - Static variable in class io.github.toolfactory.narcissus.Narcissus
-
Whether or not the library was successfully loaded.
N
- Narcissus - Class in io.github.toolfactory.narcissus
-
Narcissus.
- Narcissus() - Constructor for class io.github.toolfactory.narcissus.Narcissus
R
- ReflectionCache - Class in io.github.toolfactory.narcissus
-
ReflectionCache -- caches fields and methods of a class.
- ReflectionCache(Class<?>) - Constructor for class io.github.toolfactory.narcissus.ReflectionCache
-
Instantiate a new reflection cache for a class.
- ReflectionCache(String) - Constructor for class io.github.toolfactory.narcissus.ReflectionCache
-
Instantiate a new reflection cache for a named class.
S
- setAccessible(AccessibleObject, boolean) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the private field target.override to the value of flag.
- setAllowedModes(MethodHandles.Lookup, int) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the private field consulter.allowedModes to the value of modes.
- setBooleanField(Object, Field, boolean) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a boolean field, ignoring visibility and bypassing security checks.
- setByteField(Object, Field, byte) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a byte field, ignoring visibility and bypassing security checks.
- setCharField(Object, Field, char) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a char field, ignoring visibility and bypassing security checks.
- setDoubleField(Object, Field, double) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a double field, ignoring visibility and bypassing security checks.
- setField(Object, Field, Object) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of an object field, ignoring visibility and bypassing security checks, unboxing the passed value if necessary.
- setFloatField(Object, Field, float) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a float field, ignoring visibility and bypassing security checks.
- setIntField(Object, Field, int) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of an int field, ignoring visibility and bypassing security checks.
- setLongField(Object, Field, long) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a long field, ignoring visibility and bypassing security checks.
- setObjectField(Object, Field, Object) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a object field, ignoring visibility and bypassing security checks.
- setShortField(Object, Field, short) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a short field, ignoring visibility and bypassing security checks.
- setStaticBooleanField(Field, boolean) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a static boolean field, ignoring visibility and bypassing security checks.
- setStaticByteField(Field, byte) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a static byte field, ignoring visibility and bypassing security checks.
- setStaticCharField(Field, char) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a static char field, ignoring visibility and bypassing security checks.
- setStaticDoubleField(Field, double) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a static double field, ignoring visibility and bypassing security checks.
- setStaticField(Field, Object) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a static field, ignoring visibility and bypassing security checks, unboxing the passed value if necessary.
- setStaticFloatField(Field, float) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a static float field, ignoring visibility and bypassing security checks.
- setStaticIntField(Field, int) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a static int field, ignoring visibility and bypassing security checks.
- setStaticLongField(Field, long) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a static long field, ignoring visibility and bypassing security checks.
- setStaticObjectField(Field, Object) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a static object field, ignoring visibility and bypassing security checks.
- setStaticShortField(Field, short) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Set the value of a static short field, ignoring visibility and bypassing security checks.
- sneakyThrow(Throwable) - Static method in class io.github.toolfactory.narcissus.Narcissus
-
Throw a
Throwablewithout requiring a throws declaration.
All Classes|All Packages