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

A

addEnumInstance(Class<T>, T) - Static method in class net.lenni0451.reflect.Enums
Add a new enum value to an enum class.
ADDRESS_SIZE - Static variable in class net.lenni0451.reflect.Objects
 
addToSystemClassPath(URL) - Static method in class net.lenni0451.reflect.ClassLoaders
Add a URL to the system classpath.
Agents - Class in net.lenni0451.reflect
This class contains some useful methods for working with agents.
Agents() - Constructor for class net.lenni0451.reflect.Agents
 
ARRAY_BASE_OFFSET - Static variable in class net.lenni0451.reflect.Objects
 
ARRAY_HEADER_SIZE - Static variable in class net.lenni0451.reflect.Objects
 
ARRAY_INDEX_SCALE - Static variable in class net.lenni0451.reflect.Objects
 
ASMWrapper - Class in net.lenni0451.reflect.wrapper
A wrapper for the java internal ASM library.
ASMWrapper.LabelAccess - Class in net.lenni0451.reflect.wrapper
A wrapper for the ASM label.
ASMWrapper.MethodVisitorAccess - Class in net.lenni0451.reflect.wrapper
A wrapper for the ASM method visitor.

B

by(Class<?>...) - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
Get a constructor by the given parameter types.
by(int) - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
Get a constructor by the given index.
by(String) - Method in class net.lenni0451.reflect.stream.field.FieldStream
Get a field by the given name.
by(int) - Method in class net.lenni0451.reflect.stream.field.FieldStream
Get a field by the given index.
by(String) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Get a method by the given name.
by(Class<?>...) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Get a method by the given parameter types.
by(String, Class<?>...) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Get a method by the given name and parameter types.
by(int) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Get a method by the given index.
byName(String) - Static method in class net.lenni0451.reflect.Classes
Get a class by its name.
byName(String, ClassLoader) - Static method in class net.lenni0451.reflect.Classes
Get a class by its name from a given class loader.
byName(String, boolean, ClassLoader) - Static method in class net.lenni0451.reflect.Classes
Get a class by its name from a given class loader.

C

cast(Object, Class<T>) - Static method in class net.lenni0451.reflect.Objects
Cast the given object to the given class.
cast(Object, Object) - Static method in class net.lenni0451.reflect.Objects
Cast the given object to the given object.
cast(Object, long) - Static method in class net.lenni0451.reflect.Objects
Cast the given object to the given class pointer.
CLASS_InstrumentationImpl - Static variable in class net.lenni0451.reflect.JVMConstants
 
CLASS_INTERNAL_Reflection - Static variable in class net.lenni0451.reflect.JVMConstants
 
CLASS_INTERNAL_Unsafe - Static variable in class net.lenni0451.reflect.JVMConstants
 
CLASS_MethodHandles_Lookup_ClassOption - Static variable in class net.lenni0451.reflect.JVMConstants
 
CLASS_SUN_Reflection - Static variable in class net.lenni0451.reflect.JVMConstants
 
Classes - Class in net.lenni0451.reflect
This class contains some useful methods for working with classes.
Classes() - Constructor for class net.lenni0451.reflect.Classes
 
ClassLoaders - Class in net.lenni0451.reflect
This class contains some useful methods for working with class loaders.
ClassLoaders() - Constructor for class net.lenni0451.reflect.ClassLoaders
 
clazz() - Method in class net.lenni0451.reflect.stream.RStream
 
clearReflectionFilter() - Static method in class net.lenni0451.reflect.JavaBypass
Clear the reflection filter maps.
COMPRESSED_OOPS - Static variable in class net.lenni0451.reflect.Objects
 
Constructors - Class in net.lenni0451.reflect
This class contains some useful methods for working with constructors.
Constructors() - Constructor for class net.lenni0451.reflect.Constructors
 
constructors() - Method in class net.lenni0451.reflect.stream.RStream
 
ConstructorStream - Class in net.lenni0451.reflect.stream.constructor
A stream of all constructors of a class.
ConstructorStream(RStream) - Constructor for class net.lenni0451.reflect.stream.constructor.ConstructorStream
 
ConstructorWrapper - Class in net.lenni0451.reflect.stream.constructor
A wrapper of the Constructor class for easy access to all required methods.
ConstructorWrapper(ConstructorStream, Constructor<?>) - Constructor for class net.lenni0451.reflect.stream.constructor.ConstructorWrapper
 
copy(Object, Object, Field) - Static method in class net.lenni0451.reflect.Fields
Copy the value of the field from one instance to another.
copy(Object) - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
Copy the value of the Field to the given target.
copy(Object, Object) - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
Copy the value of the Field to the given target with the given owner.
copyBoolean(Object, Object, Field) - Static method in class net.lenni0451.reflect.Fields
Copy the boolean value of the field from one instance to another.
copyByte(Object, Object, Field) - Static method in class net.lenni0451.reflect.Fields
Copy the byte value of the field from one instance to another.
copyChar(Object, Object, Field) - Static method in class net.lenni0451.reflect.Fields
Copy the char value of the field from one instance to another.
copyDouble(Object, Object, Field) - Static method in class net.lenni0451.reflect.Fields
Copy the double value of the field from one instance to another.
copyFloat(Object, Object, Field) - Static method in class net.lenni0451.reflect.Fields
Copy the float value of the field from one instance to another.
copyInt(Object, Object, Field) - Static method in class net.lenni0451.reflect.Fields
Copy the int value of the field from one instance to another.
copyLong(Object, Object, Field) - Static method in class net.lenni0451.reflect.Fields
Copy the long value of the field from one instance to another.
copyMemory(Object, Object, long) - Static method in class net.lenni0451.reflect.Objects
Copy the memory from one object to another.
copyMemory(Object, long, Object, long, long) - Static method in class net.lenni0451.reflect.Objects
Copy the memory from one object to another with the given offsets.
copyModule(Class<?>, Class<?>) - Static method in class net.lenni0451.reflect.Modules
Copy the module from one class to another.
copyObject(Object, Object, Field) - Static method in class net.lenni0451.reflect.Fields
Copy the value of the field from one instance to another.
copyShort(Object, Object, Field) - Static method in class net.lenni0451.reflect.Fields
Copy the short value of the field from one instance to another.
create(int, String, String, String, String[]) - Static method in class net.lenni0451.reflect.wrapper.ASMWrapper
Create a new ASM wrapper with the given class properties.
createDummyAgent(Class<?>) - Static method in class net.lenni0451.reflect.Agents
Create a temp empty dummy agent jar for a given class.
createDummyAgent(File, String) - Static method in class net.lenni0451.reflect.Agents
Create an empty dummy agent jar for a given class.

D

defineAnonymousClass(Class<?>, byte[], String...) - Static method in class net.lenni0451.reflect.ClassLoaders
Define an anonymous class.
defineAnonymously(Class<?>) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper
Define the class anonymously.
defineClass(ClassLoader, String, byte[]) - Static method in class net.lenni0451.reflect.ClassLoaders
Define a class using the given class loader.
defineClass(ClassLoader, String, byte[], ProtectionDomain) - Static method in class net.lenni0451.reflect.ClassLoaders
Define a class using the given class loader.
defineClass(ClassLoader, String, byte[], int, int, ProtectionDomain) - Static method in class net.lenni0451.reflect.ClassLoaders
Define a class using the given class loader.
defineMetafactory(Class<?>) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper
Define the class as a strong nestmate (like the LambdaMetafactory).
desc(String) - Static method in class net.lenni0451.reflect.wrapper.ASMWrapper
Get a descriptor for the given class name.
desc(Class<?>) - Static method in class net.lenni0451.reflect.wrapper.ASMWrapper
Get the descriptor for the given class.
desc(Method) - Static method in class net.lenni0451.reflect.wrapper.ASMWrapper
Get the descriptor for the given method.
desc(Class<?>[], Class<?>) - Static method in class net.lenni0451.reflect.wrapper.ASMWrapper
Get the descriptor for the given parameter types and return type.

E

ensureInitialized(Class<?>) - Static method in class net.lenni0451.reflect.Classes
Ensure that a class is initialized.
Enums - Class in net.lenni0451.reflect
This class contains some useful methods for working with enums.
Enums() - Constructor for class net.lenni0451.reflect.Enums
 

F

FIELD_Cass_EnumVars - Static variable in class net.lenni0451.reflect.JVMConstants
 
FIELD_Class_enumConstantDirectory - Static variable in class net.lenni0451.reflect.JVMConstants
 
FIELD_Class_enumConstants - Static variable in class net.lenni0451.reflect.JVMConstants
 
FIELD_Class_module - Static variable in class net.lenni0451.reflect.JVMConstants
 
FIELD_Enum_$VALUES - Static variable in class net.lenni0451.reflect.JVMConstants
 
FIELD_MethodHandles_Lookup_IMPL_LOOKUP - Static variable in class net.lenni0451.reflect.JVMConstants
 
FIELD_Module_EVERYONE_MODULE - Static variable in class net.lenni0451.reflect.JVMConstants
 
FIELD_Reflection_fieldFilterMap - Static variable in class net.lenni0451.reflect.JVMConstants
 
FIELD_Reflection_methodFilterMap - Static variable in class net.lenni0451.reflect.JVMConstants
 
FIELD_URLClassLoader_ucp - Static variable in class net.lenni0451.reflect.JVMConstants
 
FieldAccessor - Class in net.lenni0451.reflect.accessor
Generate a getter/setter instance for a field.
FieldAccessor() - Constructor for class net.lenni0451.reflect.accessor.FieldAccessor
 
Fields - Class in net.lenni0451.reflect
This class contains some useful methods for working with fields.
Fields() - Constructor for class net.lenni0451.reflect.Fields
 
fields() - Method in class net.lenni0451.reflect.stream.RStream
 
FieldStream - Class in net.lenni0451.reflect.stream.field
A stream of all fields of a class and super classes (if wanted).
FieldStream(RStream, boolean) - Constructor for class net.lenni0451.reflect.stream.field.FieldStream
 
FieldWrapper - Class in net.lenni0451.reflect.stream.field
A wrapper of the Field class for easy access to all required methods.
FieldWrapper(FieldStream, Field) - Constructor for class net.lenni0451.reflect.stream.field.FieldWrapper
 
filter(Predicate<ConstructorWrapper>) - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
Filter the methods with the given filter.
filter(Class<?>...) - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
Filter the methods by the given parameter types.
filter(boolean) - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
Filter the constructors by whether they are static.
filter(Predicate<FieldWrapper>) - Method in class net.lenni0451.reflect.stream.field.FieldStream
Filter the fields with the given filter.
filter(Collection<String>) - Method in class net.lenni0451.reflect.stream.field.FieldStream
Filter the fields by the given names.
filter(String...) - Method in class net.lenni0451.reflect.stream.field.FieldStream
Filter the fields by the given names.
filter(Class<?>) - Method in class net.lenni0451.reflect.stream.field.FieldStream
Filter the fields by the given type.
filter(boolean) - Method in class net.lenni0451.reflect.stream.field.FieldStream
Filter the fields by whether tey are static.
filter(Predicate<MethodWrapper>) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Filter the methods with the given filter.
filter(String) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Filter the methods by the given name.
filter(Collection<String>) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Filter the methods by the given names.
filter(String...) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Filter the methods by the given names.
filter(Class<?>...) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Filter the methods by the given parameter types.
filter(boolean) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Filter the methods by whether they are static.
forEach(Consumer<ConstructorWrapper>) - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
Loop through all constructors in this stream.
forEach(Consumer<FieldWrapper>) - Method in class net.lenni0451.reflect.stream.field.FieldStream
Loop through all fields in this stream.
forEach(Consumer<MethodWrapper>) - Method in class net.lenni0451.reflect.stream.method.MethodStream
Loop through all methods in this stream.
forName(String) - Static method in class net.lenni0451.reflect.Classes
Get a class by its name.
forName(String, ClassLoader) - Static method in class net.lenni0451.reflect.Classes
Get a class by its name from a given class loader.
forName(String, boolean, ClassLoader) - Static method in class net.lenni0451.reflect.Classes
Get a class by its name from a given class loader.
fromAddress(long) - Static method in class net.lenni0451.reflect.Objects
Get the object at the given memory address.

G

get(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the value of a field.
get() - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
Get the value of the field.
get(Object) - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
Get the value of the field with the given instance.
getBoolean(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the boolean value of a field.
getByte(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the byte value of a field.
getChar(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the char value of a field.
getDeclaredClass(Class<?>, String) - Static method in class net.lenni0451.reflect.Classes
Get a declared class of a class by its simple name.
getDeclaredClasses(Class<?>) - Static method in class net.lenni0451.reflect.Classes
Get all declared classes of a class.
getDeclaredConstructor(Class<T>, Class<?>...) - Static method in class net.lenni0451.reflect.Constructors
Get a declared constructor of a class by its parameter types.
getDeclaredConstructors(Class<T>) - Static method in class net.lenni0451.reflect.Constructors
Get all declared constructors of a class.
getDeclaredField(Class<?>, String) - Static method in class net.lenni0451.reflect.Fields
Get a declared field of a class by its name.
getDeclaredFields(Class<?>) - Static method in class net.lenni0451.reflect.Fields
Get all declared fields of a class.
getDeclaredMethod(Class<?>, String, Class<?>...) - Static method in class net.lenni0451.reflect.Methods
Get a declared method of a class by its name and parameter types.
getDeclaredMethods(Class<?>) - Static method in class net.lenni0451.reflect.Methods
Get all declared methods of a class.
getDouble(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the double value of a field.
getFloat(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the float value of a field.
getInstrumentation() - Static method in class net.lenni0451.reflect.Agents
Get an instrumentation instance by loading an agent during runtime.
getInt(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the int value of a field.
getInternalUnsafe() - Static method in class net.lenni0451.reflect.JavaBypass
Get the internal unsafe instance.
getKlass(Class<?>) - Static method in class net.lenni0451.reflect.Objects
Get the class pointer of the given class.
getKlass(Object) - Static method in class net.lenni0451.reflect.Objects
Get the class pointer of the given object.
getLoadOpcode(Class<?>) - Static method in class net.lenni0451.reflect.wrapper.ASMWrapper
Get the fitting return opcode for the given type.
getLong(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the long value of a field.
getObject(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the value of a field.
getReturnOpcode(Class<?>) - Static method in class net.lenni0451.reflect.wrapper.ASMWrapper
Get the fitting return opcode for the given type.
getShort(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the short value of a field.
getSystemClassPath() - Static method in class net.lenni0451.reflect.ClassLoaders
Get all URLs of the system classpath.
getTrustedLookup() - Static method in class net.lenni0451.reflect.JavaBypass
Get the trusted lookup instance.
getUnsafe() - Static method in class net.lenni0451.reflect.JavaBypass
Get the unsafe instance.

I

instance(Object, Field) - Static method in class net.lenni0451.reflect.Fields
Get the instance used for getting/setting the value of the field using unsafe.
instance() - Method in class net.lenni0451.reflect.stream.RStream
 
INTERNAL_UNSAFE - Static variable in class net.lenni0451.reflect.JavaBypass
The instance of the internal unsafe class.
invoke(Constructor<T>, Object...) - Static method in class net.lenni0451.reflect.Constructors
Invoke a constructor without any checks.
invoke(Object, Method, Object...) - Static method in class net.lenni0451.reflect.Methods
Invoke a method without any checks.
invoke() - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
Invoke the method without any arguments.
invokeArgs(Object...) - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
Invoke the method with the given arguments.
invokeInstance(Object, Object...) - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
Invoke the method of the given instance with the given arguments.
invokeSuper(I, Class<S>, Method, Object...) - Static method in class net.lenni0451.reflect.Methods
Invoke a super method without any checks.
isAbstract() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Method.
isFinal() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Field, Method.
isNative() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Method.
isNull() - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.LabelAccess
Check if the label is null.
isNull() - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Check if the method visitor is null.
isPrivate() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Field, Constructor, Method.
isProtected() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Field, Constructor, Method.
isPublic() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Field, Constructor, Method.
isStatic() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Field, Method.
isStrict() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Method.
isSynchronized() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Field, Method.
isTransient() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Field.
isVolatile() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
Targets: Field.
iterator() - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
 
iterator() - Method in class net.lenni0451.reflect.stream.field.FieldStream
 
iterator() - Method in class net.lenni0451.reflect.stream.method.MethodStream
 

J

JavaBypass - Class in net.lenni0451.reflect
The main class for bypassing java restrictions.
JavaBypass() - Constructor for class net.lenni0451.reflect.JavaBypass
 
jstream() - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
 
jstream() - Method in class net.lenni0451.reflect.stream.field.FieldStream
 
jstream() - Method in class net.lenni0451.reflect.stream.method.MethodStream
 
JVMConstants - Class in net.lenni0451.reflect
 
JVMConstants() - Constructor for class net.lenni0451.reflect.JVMConstants
 

K

KLASS_OFFSET - Static variable in class net.lenni0451.reflect.Objects
 

L

label() - Method in class net.lenni0451.reflect.wrapper.ASMWrapper
Get a new label.
load(File) - Static method in class net.lenni0451.reflect.Agents
Load an agent from a jar during runtime.
loadInternal(Class<?>) - Static method in class net.lenni0451.reflect.Agents
Create a dummy agent jar for the given class and load it.
loadToFront(URL) - Static method in class net.lenni0451.reflect.ClassLoaders
Load a URL into the context class loader and move it to the front of the classpath.

M

makeDynamicGetter(Class<I>, Field) - Static method in class net.lenni0451.reflect.accessor.FieldAccessor
Create a new dynamic getter instance for the given field.
makeDynamicInvoker(Class<I>, Method) - Static method in class net.lenni0451.reflect.accessor.MethodAccessor
Create a new dynamic invoker instance for the given method.
makeDynamicSetter(Class<I>, Field) - Static method in class net.lenni0451.reflect.accessor.FieldAccessor
Create a new dynamic setter instance for the given field.
makeGetter(Class<I>, Object, Field) - Static method in class net.lenni0451.reflect.accessor.FieldAccessor
Create a new getter instance for the given field.
makeInvoker(Class<I>, Object, Method) - Static method in class net.lenni0451.reflect.accessor.MethodAccessor
Create a new invoker instance for the given method.
makeSetter(Class<?>, Object, Field) - Static method in class net.lenni0451.reflect.accessor.FieldAccessor
Create a new setter instance for the given field.
METHOD_Class_getDeclaredClasses0 - Static variable in class net.lenni0451.reflect.JVMConstants
 
METHOD_Class_getDeclaredConstructors0 - Static variable in class net.lenni0451.reflect.JVMConstants
 
METHOD_Class_getDeclaredFields0 - Static variable in class net.lenni0451.reflect.JVMConstants
 
METHOD_Class_getDeclaredMethods0 - Static variable in class net.lenni0451.reflect.JVMConstants
 
METHOD_ClassLoader_defineClass - Static variable in class net.lenni0451.reflect.JVMConstants
 
METHOD_InstrumentationImpl_loadAgent - Static variable in class net.lenni0451.reflect.JVMConstants
 
METHOD_MethodHandles_Lookup_defineHiddenClass - Static variable in class net.lenni0451.reflect.JVMConstants
 
METHOD_Module_implAddExportsOrOpens - Static variable in class net.lenni0451.reflect.JVMConstants
 
METHOD_Unsafe_defineAnonymousClass - Static variable in class net.lenni0451.reflect.JVMConstants
 
METHOD_URLClassPath_addURL - Static variable in class net.lenni0451.reflect.JVMConstants
 
METHOD_URLClassPath_getURLs - Static variable in class net.lenni0451.reflect.JVMConstants
 
MethodAccessor - Class in net.lenni0451.reflect.accessor
Generate an invoker interface instance for a method.
MethodAccessor() - Constructor for class net.lenni0451.reflect.accessor.MethodAccessor
 
Methods - Class in net.lenni0451.reflect
This class contains some useful methods for working with methods.
Methods() - Constructor for class net.lenni0451.reflect.Methods
 
methods() - Method in class net.lenni0451.reflect.stream.RStream
 
MethodStream - Class in net.lenni0451.reflect.stream.method
A stream of all methods of a class and super classes (if wanted).
MethodStream(RStream, boolean) - Constructor for class net.lenni0451.reflect.stream.method.MethodStream
 
MethodWrapper - Class in net.lenni0451.reflect.stream.method
A wrapper of the Method class for easy access to all required methods.
MethodWrapper(MethodStream, Method) - Constructor for class net.lenni0451.reflect.stream.method.MethodWrapper
 
modifier() - Method in class net.lenni0451.reflect.stream.constructor.ConstructorWrapper
 
modifier() - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
 
modifier() - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
 
ModifierWrapper - Class in net.lenni0451.reflect.stream.general
A wrapper for field/constructor/method modifier for easier usage.
ModifierWrapper(int) - Constructor for class net.lenni0451.reflect.stream.general.ModifierWrapper
 
Modules - Class in net.lenni0451.reflect
This class contains some useful methods for working with modules.
Modules() - Constructor for class net.lenni0451.reflect.Modules
 

N

name() - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
 
name() - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
 
net.lenni0451.reflect - package net.lenni0451.reflect
 
net.lenni0451.reflect.accessor - package net.lenni0451.reflect.accessor
 
net.lenni0451.reflect.stream - package net.lenni0451.reflect.stream
 
net.lenni0451.reflect.stream.constructor - package net.lenni0451.reflect.stream.constructor
 
net.lenni0451.reflect.stream.field - package net.lenni0451.reflect.stream.field
 
net.lenni0451.reflect.stream.general - package net.lenni0451.reflect.stream.general
 
net.lenni0451.reflect.stream.method - package net.lenni0451.reflect.stream.method
 
net.lenni0451.reflect.wrapper - package net.lenni0451.reflect.wrapper
 
newInstance(Class<T>, String, int, Class<?>[], Object[]) - Static method in class net.lenni0451.reflect.Enums
Create a new instance of an enum.
newInstance(Object...) - Method in class net.lenni0451.reflect.stream.constructor.ConstructorWrapper
Create a new instance of the owner class with the given arguments.

O

OBJECT_HEADER_SIZE - Static variable in class net.lenni0451.reflect.Objects
 
Objects - Class in net.lenni0451.reflect
This class contains some methods to do unsafe operations.
Objects() - Constructor for class net.lenni0451.reflect.Objects
 
of(Class<?>) - Static method in class net.lenni0451.reflect.stream.RStream
Get a stream of the given class.
of(Class<?>, Object) - Static method in class net.lenni0451.reflect.stream.RStream
Get a stream of the given class with the given instance.
of(String) - Static method in class net.lenni0451.reflect.stream.RStream
Get a stream of the given class by name.
of(String, Object) - Static method in class net.lenni0451.reflect.stream.RStream
Get the stream of the given class by name with the given instance.
of(Object) - Static method in class net.lenni0451.reflect.stream.RStream
Get the stream of the given instance.
offset(Field) - Static method in class net.lenni0451.reflect.Fields
Get the offset of a field required for getting/setting the value of the field using unsafe.
OOP_SIZE - Static variable in class net.lenni0451.reflect.Objects
 
opcode(String) - Static method in class net.lenni0451.reflect.wrapper.ASMWrapper
Get an opcode by its name.
OPENJ9_RUNTIME - Static variable in class net.lenni0451.reflect.JVMConstants
 
openModule(Class<?>) - Static method in class net.lenni0451.reflect.Modules
Open a module of a class to everyone
This allows the usage of jdk internal classes which are normally protected by restricted module access.
owner() - Method in class net.lenni0451.reflect.stream.constructor.ConstructorWrapper
 
owner() - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
 
owner() - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
 

P

parameterCount() - Method in class net.lenni0451.reflect.stream.constructor.ConstructorWrapper
 
parameterCount() - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
 
parameterTypes() - Method in class net.lenni0451.reflect.stream.constructor.ConstructorWrapper
 
parameterTypes() - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
 
parent() - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
 
parent() - Method in class net.lenni0451.reflect.stream.constructor.ConstructorWrapper
 
parent() - Method in class net.lenni0451.reflect.stream.field.FieldStream
 
parent() - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
 
parent() - Method in class net.lenni0451.reflect.stream.method.MethodStream
 
parent() - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
 

R

raw() - Method in class net.lenni0451.reflect.stream.constructor.ConstructorWrapper
 
raw() - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
 
raw() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
 
raw() - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
 
returnType() - Method in class net.lenni0451.reflect.stream.method.MethodWrapper
 
RStream - Class in net.lenni0451.reflect.stream
Get a stream of all fields, methods or constructors of a class.

S

set(Object, Field, T) - Static method in class net.lenni0451.reflect.Fields
Set the value of a field.
set(Object) - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
Set the value of the Field.
set(Object, Object) - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
Set the value of the Field with the given owner.
setBoolean(Object, Field, boolean) - Static method in class net.lenni0451.reflect.Fields
Set the boolean value of a field.
setByte(Object, Field, byte) - Static method in class net.lenni0451.reflect.Fields
Set the byte value of a field.
setChar(Object, Field, char) - Static method in class net.lenni0451.reflect.Fields
Set the char value of a field.
setDouble(Object, Field, double) - Static method in class net.lenni0451.reflect.Fields
Get the double value of a field.
setFloat(Object, Field, float) - Static method in class net.lenni0451.reflect.Fields
Set the float value of a field.
setInt(Object, Field, int) - Static method in class net.lenni0451.reflect.Fields
Set the int value of a field.
setLong(Object, Field, long) - Static method in class net.lenni0451.reflect.Fields
Set the long value of a field.
setObject(Object, Field, Object) - Static method in class net.lenni0451.reflect.Fields
Set the value of a field.
setShort(Object, Field, short) - Static method in class net.lenni0451.reflect.Fields
Set the short value of a field.
size() - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
 
size() - Method in class net.lenni0451.reflect.stream.field.FieldStream
 
size() - Method in class net.lenni0451.reflect.stream.method.MethodStream
 
slash(String) - Static method in class net.lenni0451.reflect.wrapper.ASMWrapper
Replace all dots with slashes.
slash(Class<?>) - Static method in class net.lenni0451.reflect.wrapper.ASMWrapper
Get the name of the class with slashes instead of dots.

T

toAddress(Object) - Static method in class net.lenni0451.reflect.Objects
Get the memory address of an object.
toByteArray() - Method in class net.lenni0451.reflect.wrapper.ASMWrapper
Get the byte array of the generated class.
TRUSTED_LOOKUP - Static variable in class net.lenni0451.reflect.JavaBypass
The instance of the trusted lookup.
type() - Method in class net.lenni0451.reflect.stream.field.FieldWrapper
 

U

UNSAFE - Static variable in class net.lenni0451.reflect.JavaBypass
The instance of the unsafe class.

V

valueOfIgnoreCase(Class<?>, String) - Static method in class net.lenni0451.reflect.Enums
Get an enum value by its name ignoring the case.
visitEnd() - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit the method end.
visitField(int, String, String, String, Object) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper
Visit a field in the class.
visitFieldInsn(int, String, String, String) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit a field insn node.
visitIincInsn(int, int) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit an iinc insn node.
visitInsn(int) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit an insn node.
visitIntInsn(int, int) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit an int insn node.
visitJumpInsn(int, ASMWrapper.LabelAccess) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit a jump insn node.
visitLabel(ASMWrapper.LabelAccess) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit a label.
visitLdcInsn(Object) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit a ldc insn node.
visitMaxs(int, int) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit the method maxs.
visitMethod(int, String, String, String, String[]) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper
Visit a method in the class.
visitMethodInsn(int, String, String, String, boolean) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit a method insn node.
visitMultiANewArrayInsn(String, int) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit a multi a new array insn.
visitTryCatchBlock(ASMWrapper.LabelAccess, ASMWrapper.LabelAccess, ASMWrapper.LabelAccess, String) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit a try catch block.
visitTypeInsn(int, String) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit a type insn node.
visitVarInsn(int, int) - Method in class net.lenni0451.reflect.wrapper.ASMWrapper.MethodVisitorAccess
Visit a var insn node.

W

withSuper() - Method in class net.lenni0451.reflect.stream.RStream
Include fields and methods from super classes.
A B C D E F G I J K L M N O P R S T U V W 
Skip navigation links