arez.spy.PropertyAccessor Maven / Gradle / Ivy
package arez.spy;
import grim.annotations.OmitType;
/**
* Returning the value of an ObservableValue.
*
* @param The type of the ObservableValue value.
*/
@OmitType( unless = "arez.enable_property_introspection" )
@FunctionalInterface
public interface PropertyAccessor
{
/**
* Return the value of an ObservableValue.
*
* @return the value of an ObservableValue.
* @throws Throwable if unable to retrieve value.
*/
T get()
throws Throwable;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy