public final class Extractors extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T extends java.lang.reflect.AnnotatedElement & java.lang.reflect.Member> |
checkDeprecation(java.lang.Class<?> caller,
T object) |
static java.util.stream.Stream<java.lang.reflect.Constructor<?>> |
getConstructors(java.lang.Class<?> klass) |
static java.util.stream.Stream<java.lang.reflect.Field> |
getFields(java.lang.Class<?> klass) |
static java.util.stream.Stream<java.lang.reflect.Method> |
getFunctions(java.lang.Class<?> klass) |
static java.util.stream.Stream<java.lang.String> |
getImportedNames(java.lang.Class<?> klass) |
static java.util.stream.Stream<java.lang.reflect.Member> |
getMembers(java.lang.Class<?> klass) |
static java.util.stream.Stream<java.lang.reflect.Method> |
getMethods(java.lang.Class<?> klass) |
static boolean |
isConcrete(java.lang.reflect.Member m) |
static boolean |
isFunction(java.lang.reflect.Method m) |
static java.util.function.Predicate<java.lang.reflect.Member> |
isNamed(java.lang.String name) |
static boolean |
isPublic(java.lang.reflect.Member m) |
static boolean |
isStatic(java.lang.reflect.Member m) |
static java.util.function.Predicate<java.lang.reflect.Method> |
matchFunctionReference(java.lang.String name,
int arity,
boolean varargs) |
public static java.util.stream.Stream<java.lang.reflect.Constructor<?>> getConstructors(java.lang.Class<?> klass)
public static java.util.stream.Stream<java.lang.reflect.Method> getFunctions(java.lang.Class<?> klass)
public static java.util.stream.Stream<java.lang.reflect.Method> getMethods(java.lang.Class<?> klass)
public static java.util.stream.Stream<java.lang.reflect.Field> getFields(java.lang.Class<?> klass)
public static java.util.stream.Stream<java.lang.String> getImportedNames(java.lang.Class<?> klass)
public static java.util.stream.Stream<java.lang.reflect.Member> getMembers(java.lang.Class<?> klass)
public static boolean isPublic(java.lang.reflect.Member m)
public static boolean isStatic(java.lang.reflect.Member m)
public static boolean isConcrete(java.lang.reflect.Member m)
public static boolean isFunction(java.lang.reflect.Method m)
public static java.util.function.Predicate<java.lang.reflect.Member> isNamed(java.lang.String name)
public static java.util.function.Predicate<java.lang.reflect.Method> matchFunctionReference(java.lang.String name, int arity, boolean varargs)
public static <T extends java.lang.reflect.AnnotatedElement & java.lang.reflect.Member> T checkDeprecation(java.lang.Class<?> caller, T object)