package net.ranides.assira.reflection;

import lombok.experimental.UtilityClass;
import net.ranides.assira.annotations.Meta;
import net.ranides.assira.reflection.impl.LMethodFactory;

/**
 * Utility class for inspecting lambda expressions.
 */
@UtilityClass
public class LambdaReflect {

    /**
     * Collect information for lambda expression
     * @param object object
     * @return IMethod
     */
    @Meta.UnstableAPI
    public static IMethod typeinfo(Object object) {
        return LMethodFactory.typeinfo(object);
    }

}
