BasicReflectionMatchers

Functions

Link copied to clipboard
public static Matcher<T> hasModifiers<T extends WithModifiers>(Array<Modifier> modifiers)
A matcher matching an object if the object has at least the given modifiers.
Link copied to clipboard
public static Matcher<T> sameType<T extends WithType>(Class<? extends Object> clazz)
public static Matcher<T> sameType<T extends WithType>(TypeLink link)
Link copied to clipboard
public static Matcher<T> sameTypes<T extends WithTypeList>(Array<TypeLink> types)
A matcher matching an object if the object has the same types as given.
Link copied to clipboard
public static Matcher<TypeVariable<? extends Object>> sameTypeVariable(TypeVariable<? extends Object> typeVariable)
A matcher matching a TypeVariable if the TypeVariable is equal to the given one.