Class AggregateReflectiveSupplier<H extends ReflectiveHandle<?>,O>
java.lang.Object
com.cryptomorin.xseries.reflection.aggregate.AggregateReflectiveSupplier<H,O>
- Type Parameters:
H- the types of handles that are going to be checked.
@Experimental
public class AggregateReflectiveSupplier<H extends ReflectiveHandle<?>,O>
extends Object
A version of
AggregateReflectiveHandle that returns an object associated with a
ReflectiveHandle instead of the handle itself.
Usage
String name = XReflection.any(
XReflection.of(GameProfileCache.class).method().named("getProfile", "a"), "test"
).or(
XReflection.of(GameProfileCache.class).method().named("profile", "b"), "test2"
).get();
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Action performed on all the handles before being checked.
-
Constructor Details
-
AggregateReflectiveSupplier
@Internal public AggregateReflectiveSupplier()UseXReflection.supply(ReflectiveHandle, Object)instead.
-
-
Method Details
-
or
-
or
-
or
-
or
-
modify
Action performed on all the handles before being checked. -
get
-