Interface HasFields
-
- All Known Implementing Classes:
ASMModule,EnumLiteral,Tuple
public interface HasFieldsAbstract definition of type having fields.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectget(AbstractStackFrame frame, java.lang.Object name)Gets a value.voidset(AbstractStackFrame frame, java.lang.Object name, java.lang.Object value)Sets a value to the object.voidunset(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
-
-