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

Method isPublic

src/main/java/org/codehaus/groovy/ast/Variable.java:162–162  ·  view source on GitHub ↗

Returns true if this variable is declared with the public modifier. @return true if public @since 5.0.0

()

Source from the content-addressed store, hash-verified

160 * @since 5.0.0
161 */
162 default boolean isPublic() {
163 return (getModifiers() & ACC_PUBLIC) != 0;
164 }
165

Callers 15

checkAccessibleMethod · 0.65
getValueMethod · 0.65
skipMethodMethod · 0.65
isVisibleNestedClassMethod · 0.65
isMemberAccessibleMethod · 0.65
MixinInMetaClassMethod · 0.65
addWeakerAccessErrorMethod · 0.65

Implementers 5

PropertyNodesrc/main/java/org/codehaus/groovy/ast/
Parametersrc/main/java/org/codehaus/groovy/ast/
DynamicVariablesrc/main/java/org/codehaus/groovy/ast/
FieldNodesrc/main/java/org/codehaus/groovy/ast/
VariableExpressionsrc/main/java/org/codehaus/groovy/ast/

Calls

no outgoing calls

Tested by

no test coverage detected