private boolean isIncluded ( String className ) { if ( includes == null || includes . size ( ) == 0 ) { // generate nothing if no include defined - it makes no sense to generate for all classes from classpath return false ; } return includes . stream ( ) . filter ( pattern -> SelectorUtils . matchPath ( pattern , className , "." , true ) ) . count ( ) > 0 ; }
Check is class is included .