[Java] Class ReevaluatingReference<T>
- org.apache.groovy.internal.util.ReevaluatingReference
@Incubating public class ReevaluatingReference<T> extends Object
This class represents a reference to the most actual incarnation of a Metaclass. INTERNAL USE ONLY.
Constructor Summary
Constructor and description |
---|
ReevaluatingReference
(Class clazz, Supplier<T> valueSupplier, Function<T, SwitchPoint> validationSupplier) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public T |
getPayload() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public ReevaluatingReference(Class clazz, Supplier<T> valueSupplier, Function<T, SwitchPoint> validationSupplier)
Method Detail
public T getPayload()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/internal/util/ReevaluatingReference.html