public static boolean isDefaultModifier(Set<Modifier> modifiers) {
    return !modifiers.contains(Modifier.PUBLIC) && !modifiers.contains(Modifier.PROTECTED) && !modifiers.contains(Modifier.PRIVATE);
  }
public static boolean isDefaultModifier ( Set < Modifier > modifiers ) { return ! modifiers . contains ( Modifier . PUBLIC ) && ! modifiers . contains ( Modifier . PROTECTED ) && ! modifiers . contains ( Modifier . PRIVATE ) ; }
@param modifiers Set of modifiers
@return true if this element has default visibility