List of usage examples for java.util.function Function getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.agiso.core.i18n.util.I18nUtils.java
@SuppressWarnings("unchecked") public static <T, R extends Serializable> String getCode(Function<T, R> f) throws IntrospectionException { final Class<?>[] arguments = TypeResolver.resolveRawArguments(Function.class, f.getClass()); return getCode((Class<T>) arguments[0], f); }