public final class Extractors extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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.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 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> 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 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)