Interface HasFields
- All Known Implementing Classes:
ASMModule
,EnumLiteral
,Tuple
public interface HasFields
Abstract definition of type having fields.
-
Method Summary
Modifier and TypeMethodDescriptionget
(AbstractStackFrame frame, Object name) Gets a value.void
set
(AbstractStackFrame frame, Object name, Object value) Sets a value to the object.void
unset
(AbstractStackFrame frame, Object name) Unsets a value to the object.
-
Method Details
-
set
Sets a value to the object.- Parameters:
frame
- the frame contextname
- the value namevalue
- the value
-
unset
Unsets a value to the object.- Parameters:
frame
- the frame contextname
- the value name
-
get
Gets a value.- Parameters:
frame
- the frame contextname
- the value name- Returns:
- the value
-