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, real value the field holds.
-
getAndSet
Gets, then sets, the field value- Parameters:
value
- The new value the field will hold.- Returns:
- The previous, real value the field held.
-
set
Sets the field value- Parameters:
value
- The new value the field will hold.- Returns:
- That same, real value, without any conversions.
-
setAndGet
Sets, then gets, the field value- Parameters:
value
- The new value the field will hold.- Returns:
- That same, real value, with all required conversions applied.
-