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

Method isProtected

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

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

()

Source from the content-addressed store, hash-verified

150 * @since 5.0.0
151 */
152 default boolean isProtected() {
153 return (getModifiers() & ACC_PROTECTED) != 0;
154 }
155

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