public class GroovyClassValueJava7<T>
extends ClassValue
implements GroovyClassValue
GroovyClassValue implementation that simply delegates to Java 7's java.lang.ClassValue
| Constructor and description |
|---|
GroovyClassValueJava7(ComputeValue<T> computeValue)Creates a class value that computes a missing entry with computeValue.
|
Creates a class value that computes a missing entry with computeValue.
The callback is stored and invoked from computeValue(Class) for a class
that has no cached entry. It is not called for this constructor.
computeValue - callback that produces the value for a classCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.