public static boolean isPackagePrivate ( Element element ) { if ( isPublic ( element ) ) { return false ; } else if ( isProtected ( element ) ) { return false ; } else if ( isPrivate ( element ) ) { return false ; } return true ; }
Tests if the given element has the package - private visibility .