- Fields - Class in net.lenni0451.reflect
-
- 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
-
An easy-to-use stream to filter out the fields you want to access
- FieldStream(RStream, boolean) - Constructor for class net.lenni0451.reflect.stream.field.FieldStream
-
- FieldWrapper - Class in net.lenni0451.reflect.stream.field
-
Wrap a Field for easy access
- 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 constructors by the given predicate
- filter(Class<?>...) - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
-
Filter the constructors by the given parameter types
- filter(boolean) - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
-
Filter out all static/non-static constructors
- filter(Predicate<FieldWrapper>) - Method in class net.lenni0451.reflect.stream.field.FieldStream
-
Filter the fields by the given predicate
- filter(Class<?>) - Method in class net.lenni0451.reflect.stream.field.FieldStream
-
Filter out all fields whose type is not the given Class
- filter(boolean) - Method in class net.lenni0451.reflect.stream.field.FieldStream
-
Filter out all static/non-static fields
- filter(Predicate<MethodWrapper>) - Method in class net.lenni0451.reflect.stream.method.MethodStream
-
Filter the methods by the given predicate
- filter(String) - Method in class net.lenni0451.reflect.stream.method.MethodStream
-
Filter the methods by the given name
- 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 out all static/non-static methods
- forEach(Consumer<ConstructorWrapper>) - Method in class net.lenni0451.reflect.stream.constructor.ConstructorStream
-
- forEach(Consumer<FieldWrapper>) - Method in class net.lenni0451.reflect.stream.field.FieldStream
-
- forEach(Consumer<MethodWrapper>) - Method in class net.lenni0451.reflect.stream.method.MethodStream
-
- forName(String) - Static method in class net.lenni0451.reflect.Classes
-
Get a class by its name
Basically a wrapper for Class.forName(String) but without direct exceptions
- forName(ClassLoader, String) - Static method in class net.lenni0451.reflect.Classes
-
Get a class by its name from a given class loader
- forName(ClassLoader, String, boolean) - Static method in class net.lenni0451.reflect.Classes
-
Get a class by its name from a given class loader
Basically a wrapper for Class.forName(String, boolean, ClassLoader) but without direct exceptions
- get(Object, Field) - Static method in class net.lenni0451.reflect.Fields
-
Get the value of a field
This is a wrapper method for the above methods automatically selecting the correct one based on the field type
- 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 owner
- get() - Method in class net.lenni0451.reflect.stream.utils.Lazy
-
- getBoolean(Object, Field) - Static method in class net.lenni0451.reflect.Fields
-
- getByte(Object, Field) - Static method in class net.lenni0451.reflect.Fields
-
- getChar(Object, Field) - Static method in class net.lenni0451.reflect.Fields
-
- getDeclaredClass(Class<?>, String) - Static method in class net.lenni0451.reflect.Classes
-
Get a declared class by its 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 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
-
- getFloat(Object, Field) - Static method in class net.lenni0451.reflect.Fields
-
- getInstrumentation() - Static method in class net.lenni0451.reflect.Agents
-
Get an instrumentation instance by loading an agent
The loaded agent stores the instrumentation instance in a static field which is accessed by reflection
This solves many problems which can occur with class loaders
- getInt(Object, Field) - Static method in class net.lenni0451.reflect.Fields
-
- getLong(Object, Field) - Static method in class net.lenni0451.reflect.Fields
-
- getObject(Object, Field) - Static method in class net.lenni0451.reflect.Fields
-
- getShort(Object, Field) - Static method in class net.lenni0451.reflect.Fields
-
- 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
- instance(Object, Field) - Static method in class net.lenni0451.reflect.Fields
-
Get the instance used for getting and setting the value of the field
Only exists to make the below code smaller
- instance() - Method in class net.lenni0451.reflect.stream.RStream
-
Get the instance of the
RStream instance
- 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 args
- 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 with the give arguments and instance
- 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
-
Get if the modifier contains the abstract modifier
Targets: Method
- isFinal() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
-
Get if the modifier contains the final modifier
Targets: Field, Method
- isNative() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
-
Get if the modifier contains the native modifier
Targets: Method
- isPrivate() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
-
Get if the modifier contains the private modifier
Targets: Field, Method, Constructor
- isProtected() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
-
Get if the modifier contains the protected modifier
Targets: Field, Method, Constructor
- isPublic() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
-
Get if the modifier contains the public modifier
Targets: Field, Method, Constructor
- isStatic() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
-
Get if the modifier contains the static modifier
Targets: Field, Method
- isStrict() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
-
Get if the modifier contains the strict modifier
Targets: Method
- isSynchronized() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
-
Get if the modifier contains the synchronized modifier
Targets: Method
- isTransient() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
-
Get if the modifier contains the transient modifier
Targets: Field
- isVolatile() - Method in class net.lenni0451.reflect.stream.general.ModifierWrapper
-
Get if the modifier contains the volatile modifier
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
-