public abstract boolean isUnnamed ()

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

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

@jls 7.4.2 Unnamed Packages