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: