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

Method isResolved

src/main/java/org/codehaus/groovy/ast/ClassNode.java:1930–1934  ·  view source on GitHub ↗

Determines whether this ClassNode has been resolved to an actual Java class. A ClassNode is considered resolved if it represents a real Class object loaded at runtime, or if it has been redirected to a resolved ClassNode, or if it represents an array of resolved component types. During early

()

Source from the content-addressed store, hash-verified

1928 * @return {@code true} if this ClassNode has been resolved to a real class; {@code false} if it still represents an unresolved reference
1929 */
1930 public boolean isResolved() {
1931 if (clazz != null) return true;
1932 if (redirect != null) return redirect.isResolved();
1933 return (componentType != null && componentType.isResolved());
1934 }
1935
1936 /**
1937 * Returns the concrete class this classnode relates to. However, this method

Callers 15

findDecompiledMethod · 0.95
visitOverrideMethod · 0.95
getSuperClassMethod · 0.95
getTypeClassMethod · 0.95
addTypeAnnotationMethod · 0.95
generateClassMethod · 0.45
resolveOrFailMethod · 0.45
resolveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected