public final class ExecutablePredicates extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends Executable> |
executableBelongsToClass(Class<?> reference)
Checks if a candidate executable does belong to the specified class.
|
static <T extends Executable> |
executableBelongsToClassAssignableTo(Class<?> reference)
Checks if a candidate executable does belong to a class assignable as the specified class.
|
static <T extends Executable> |
executableHasSameParameterTypesAs(T reference)
Checks if a candidate executable has the same parameter type as the specified reference
executable.
|
static <T extends Executable> |
executableIsEquivalentTo(T reference)
Checks if a candidate executable is equivalent to the specified reference executable.
|
static <T extends Executable> |
executableIsSynthetic()
Checks if a candidate executable is synthetic.
|
public static <T extends Executable> Predicate<T> executableIsSynthetic()
public static <T extends Executable> Predicate<T> executableBelongsToClass(Class<?> reference)
reference
- the class to check against.public static <T extends Executable> Predicate<T> executableBelongsToClassAssignableTo(Class<?> reference)
reference
- the class to check against.public static <T extends Executable> Predicate<T> executableIsEquivalentTo(T reference)
reference
- the executable to check equivalency against.public static <T extends Executable> Predicate<T> executableHasSameParameterTypesAs(T reference)
reference
- the executable to check parameters against.Copyright © 2013-2018–2019 SeedStack. All rights reserved.