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

Method asType

src/main/java/org/codehaus/groovy/runtime/NullObject.java:139–142  ·  view source on GitHub ↗

Type conversion method for null. @return null

(final Class c)

Source from the content-addressed store, hash-verified

137 * @return null
138 */
139 public Object asType(final Class c) {
140 if (c.isPrimitive()) throw new IllegalArgumentException("null to " + c);
141 return null;
142 }
143
144 /**
145 * Tests for equal references.

Callers 14

makeBootHandleMethod · 0.45
fallbackMethod · 0.45
wrapMethod · 0.45
TypeTransformersClass · 0.45
applyUnsharpFilterMethod · 0.45
handleBooleanMethod · 0.45
correctWrappingMethod · 0.45
addExceptionHandlerMethod · 0.45
setGuardsMethod · 0.45
setInterceptorMethod · 0.45
detectMethod · 0.45

Calls 1

isPrimitiveMethod · 0.65

Tested by

no test coverage detected