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

Method isGroovy

src/main/java/groovy/inspect/Inspector.java:159–161  ·  view source on GitHub ↗

Indicates whether the inspected type implements GroovyObject. @return true if the inspected type is Groovy-aware

()

Source from the content-addressed store, hash-verified

157 * @return {@code true} if the inspected type is Groovy-aware
158 */
159 public boolean isGroovy() {
160 return GroovyObject.class.isAssignableFrom(getClassUnderInspection());
161 }
162
163 /**
164 * Gets the object being inspected.

Callers 1

getClassPropsMethod · 0.95

Calls 2

isAssignableFromMethod · 0.45

Tested by

no test coverage detected