MCPcopy Index your code
hub / github.com/apache/groovy / isPackagePrivate

Method isPackagePrivate

src/main/java/groovy/lang/MetaMember.java:58–58  ·  view source on GitHub ↗

Indicates whether this member has package visibility. @return true if no explicit access modifier is present

()

Source from the content-addressed store, hash-verified

56 * @return {@code true} if no explicit access modifier is present
57 */
58 default boolean isPackagePrivate() {
59 //return !isPublic() && !isPrivate() && !isProtected()
60 return (getModifiers() & Modifier.PUBLIC + Modifier.PRIVATE + Modifier.PROTECTED) == 0;
61 }

Callers 2

isPrivateMethod · 0.65
isNonPrivateMethod · 0.65

Implementers 3

MetaMethodsrc/main/java/groovy/lang/MetaMethod.j
MetaPropertysrc/main/java/groovy/lang/MetaProperty
CachedConstructorsrc/main/java/org/codehaus/groovy/refl

Calls

no outgoing calls

Tested by

no test coverage detected