public class ReflectionUtil extends Object
Modifier and Type | Method and Description |
---|---|
static <V,R> Function<V,R> |
getConstructorAsFunction(Class<V> parameterClass,
Class<R> clazz) |
static org.apache.avro.reflect.FieldAccess |
getFieldAccess() |
protected static Map<TypeVariable<?>,Type> |
resolveTypeVariables(Class<?> iface)
For an interface, get a map of any
TypeVariable s to their actual
types. |
public static org.apache.avro.reflect.FieldAccess getFieldAccess()
protected static Map<TypeVariable<?>,Type> resolveTypeVariables(Class<?> iface)
TypeVariable
s to their actual
types.iface
- interface to resolve types for.TypeVariable
s to actual types.Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.