public abstract boolean isUnnamed ()

Returns true if this is an unnamed module and false otherwise.

Returns:  true if this is an unnamed module and false otherwise

@jls 7.7.5 Unnamed Modules