Tells whether a given access modifier is public @param mod The access modifier to check @return True if the access modifier is public, false otherwise
(int mod)
| 15 | * @return True if the access modifier is public, false otherwise |
| 16 | */ |
| 17 | public static boolean isPublic(int mod) { |
| 18 | return (mod & ACC_PUBLIC) != 0; |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * Tells whether a given access modifier is protected |
no outgoing calls
no test coverage detected