Package bridge
Class Invocation.Accessor
java.lang.Object
bridge.Invocation.Accessor
- Enclosing class:
- Invocation
A class that is used to execute field invocations
-
Method Summary
Modifier and TypeMethodDescription<@Polymorphic T>
Tget()
Gets the field value<@Polymorphic T>
TGets, then sets, the field value<T> T
set
(T value) Sets the field value<@Polymorphic T>
TSets, then gets, the field value
-
Method Details
-
get
Gets the field value- Returns:
- The current value the field holds
-
getAndSet
Gets, then sets, the field value- Parameters:
value
- The new value the field will hold- Returns:
- The previous value the field held
-
set
Sets the field value- Parameters:
value
- The new value the field will hold- Returns:
- That same value (without any conversions)
-
setAndGet
Sets, then gets, the field value- Parameters:
value
- The new value the field will hold- Returns:
- That same value (with all required conversions applied)
-