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