MCPcopy Create free account
hub / github.com/apache/groovy / isPrivate

Method isPrivate

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

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

()

Source from the content-addressed store, hash-verified

140 * @since 5.0.0
141 */
142 default boolean isPrivate() {
143 return (getModifiers() & ACC_PRIVATE) != 0;
144 }
145

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