public boolean isSystemModule ( ) { if ( name == null || name . isEmpty ( ) ) { return false ; } return name . startsWith ( "java." ) || name . startsWith ( "jdk." ) || name . startsWith ( "javafx." ) || name . startsWith ( "oracle." ) ; }
Checks if this module is a system module .