Uses of Interface
com.cryptomorin.xseries.reflection.ReflectiveHandle
Packages that use ReflectiveHandle
Package
Description
-
Uses of ReflectiveHandle in com.cryptomorin.xseries.reflection
Classes in com.cryptomorin.xseries.reflection that implement ReflectiveHandleMethods in com.cryptomorin.xseries.reflection with type parameters of type ReflectiveHandleModifier and TypeMethodDescriptionstatic <T,H extends ReflectiveHandle<T>>
@NotNull AggregateReflectiveHandle<T, H> XReflection.any(H... handles) static <T,H extends ReflectiveHandle<T>>
@NotNull AggregateReflectiveHandle<T, H> static <H extends ReflectiveHandle<?>,O>
@NotNull AggregateReflectiveSupplier<H, O> static <H extends ReflectiveHandle<?>,O>
@NotNull AggregateReflectiveSupplier<H, O> XReflection.supply(H handle, O object) Methods in com.cryptomorin.xseries.reflection that return ReflectiveHandleModifier and TypeMethodDescriptiondefault @NotNull ReflectiveHandle<T> ReflectiveHandle.cached()ReflectiveHandle.copy()Creates a new handle with the same properties.StaticReflectiveHandle.copy()@NotNull ReflectiveHandle<ReflectedObject> ReflectiveHandle.jvm()UsuallyReflectiveHandles returnMethodHandlewhen possible, however this method returns the raw object using the traditional Java reflection API which can be:FieldMethodConstructorClass (same as its normal ReflectiveHandle)@NotNull ReflectiveHandle<ReflectedObject> StaticReflectiveHandle.jvm()default @NotNull ReflectiveHandle<T> ReflectiveHandle.unwrap()If this handle iscached(), then unwraps the real handle and returns it, otherwise it returns the same object.Methods in com.cryptomorin.xseries.reflection with parameters of type ReflectiveHandleModifier and TypeMethodDescriptionstatic <T,H extends ReflectiveHandle<T>>
@NotNull AggregateReflectiveHandle<T, H> XReflection.any(H... handles) -
Uses of ReflectiveHandle in com.cryptomorin.xseries.reflection.aggregate
Classes in com.cryptomorin.xseries.reflection.aggregate with type parameters of type ReflectiveHandleModifier and TypeClassDescriptionclassAggregateReflectiveHandle<T,H extends ReflectiveHandle<T>> Most reflection APIs already provide a name-based fallback system that can be used (likeDynamicClassHandle.named(String...)) but sometimes the signature of certain JVM declarations just change entirely, that's where this class could be useful.classAggregateReflectiveSupplier<H extends ReflectiveHandle<?>,O> A version ofAggregateReflectiveHandlethat returns an object associated with aReflectiveHandleinstead of the handle itself.Classes in com.cryptomorin.xseries.reflection.aggregate that implement ReflectiveHandleModifier and TypeClassDescriptionclassAggregateReflectiveHandle<T,H extends ReflectiveHandle<T>> Most reflection APIs already provide a name-based fallback system that can be used (likeDynamicClassHandle.named(String...)) but sometimes the signature of certain JVM declarations just change entirely, that's where this class could be useful.Methods in com.cryptomorin.xseries.reflection.aggregate that return ReflectiveHandleModifier and TypeMethodDescription@NotNull ReflectiveHandle<ReflectedObject> AggregateReflectiveHandle.jvm() -
Uses of ReflectiveHandle in com.cryptomorin.xseries.reflection.constraint
Methods in com.cryptomorin.xseries.reflection.constraint with parameters of type ReflectiveHandleModifier and TypeMethodDescriptionClassTypeConstraint.appliesTo(ReflectiveHandle<?> handle, Object jvm) @NotNull ReflectiveConstraint.ResultReflectiveConstraint.appliesTo(@NotNull ReflectiveHandle<?> handle, @NotNull Object jvm) Whether this constraint can be applied and applies to the given item.VisibilityConstraint.appliesTo(ReflectiveHandle<?> handle, Object jvm) ReflectiveConstraintException.create(ReflectiveConstraint constraint, ReflectiveConstraint.Result result, ReflectiveHandle<?> handle, Object jvm) -
Uses of ReflectiveHandle in com.cryptomorin.xseries.reflection.jvm
Classes in com.cryptomorin.xseries.reflection.jvm that implement ReflectiveHandleModifier and TypeClassDescriptionclassA handle for using reflection forConstructor.classA handle for using reflection for enums, which are technically aField.classA handle for using reflection forField.classThis class should not be used directly.classThis class should not be used directly.classA handle for using reflection forMethod.classThis class should not be used directly.Methods in com.cryptomorin.xseries.reflection.jvm that return ReflectiveHandleModifier and TypeMethodDescription@NotNull ReflectiveHandle<ReflectedObject> ConstructorMemberHandle.jvm()@NotNull ReflectiveHandle<ReflectedObject> EnumMemberHandle.jvm()UseEnumMemberHandle.getEnumConstant()instead.@NotNull ReflectiveHandle<ReflectedObject> FieldMemberHandle.jvm()@NotNull ReflectiveHandle<ReflectedObject> MethodMemberHandle.jvm() -
Uses of ReflectiveHandle in com.cryptomorin.xseries.reflection.jvm.classes
Classes in com.cryptomorin.xseries.reflection.jvm.classes that implement ReflectiveHandleModifier and TypeClassDescriptionclassclassclassA class that is known at compile time and can be referenced directly.classA class handle that was parsed from string, the name is known, but it doesn't exist at runtime.Methods in com.cryptomorin.xseries.reflection.jvm.classes that return ReflectiveHandle -
Uses of ReflectiveHandle in com.cryptomorin.xseries.reflection.jvm.objects
Classes in com.cryptomorin.xseries.reflection.jvm.objects that implement ReflectiveHandleMethods in com.cryptomorin.xseries.reflection.jvm.objects that return ReflectiveHandleModifier and TypeMethodDescriptionReflectedObjectHandle.copy()@NotNull ReflectiveHandle<ReflectedObject> ReflectedObjectHandle.jvm() -
Uses of ReflectiveHandle in com.cryptomorin.xseries.reflection.minecraft
Classes in com.cryptomorin.xseries.reflection.minecraft that implement ReflectiveHandleModifier and TypeClassDescriptionclassA specialized type ofDynamicClassHandlewhich currently doesn't have any extra functionalities. -
Uses of ReflectiveHandle in com.cryptomorin.xseries.reflection.proxy.processors
Fields in com.cryptomorin.xseries.reflection.proxy.processors declared as ReflectiveHandleMethods in com.cryptomorin.xseries.reflection.proxy.processors with parameters of type ReflectiveHandleModifier and TypeMethodDescriptionstatic <T extends ReflectiveProxyObject>
TReflectiveHandleProxyProcessor.proxify(@NotNull Class<T> interfaceClass, @NotNull ClassHandle targetClass, @NotNull ReflectiveHandle<?>... handles) Constructors in com.cryptomorin.xseries.reflection.proxy.processors with parameters of type ReflectiveHandleModifierConstructorDescriptionProxyMethodInfo(ReflectiveHandle<?> handle, Method interfaceMethod, MappedType rType, MappedType[] pTypes)