public static < T extends Executable > Predicate < T > executableIsSynthetic ( ) { return candidate -> candidate != null && candidate . isSynthetic ( ) ; }
Checks if a candidate executable is synthetic .