static class Compiler.InstanceFieldExpr extends Compiler.FieldExpr implements Compiler.AssignableExpr
Compiler.HostExpr.Parser| Modifier and Type | Field and Description | 
|---|---|
| int | column | 
| java.lang.reflect.Field | field | 
| java.lang.String | fieldName | 
| (package private) static Method | invokeNoArgInstanceMember | 
| int | line | 
| (package private) static Method | setInstanceFieldMethod | 
| Symbol | tag | 
| Compiler.Expr | target | 
| java.lang.Class | targetClass | 
BOOLEAN_TYPE, booleanValueMethod, BYTE_TYPE, byteValueMethod, byteValueOfMethod, CHAR_TYPE, charValueMethod, charValueOfMethod, DOUBLE_TYPE, doubleValueMethod, doubleValueOfMethod, FLOAT_TYPE, floatValueMethod, floatValueOfMethod, fromDoubleMethod, fromIntMethod, fromLongMethod, INTEGER_TYPE, intValueMethod, intValueOfMethod, LONG_TYPE, longValueMethod, longValueOfMethod, NUMBER_TYPE, SHORT_TYPE, shortValueMethod, shortValueOfMethod| Constructor and Description | 
|---|
| Compiler.InstanceFieldExpr(int line,
                          int column,
                          Compiler.Expr target,
                          java.lang.String fieldName,
                          Symbol tag) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canEmitPrimitive() | 
| void | emit(Compiler.C context,
    Compiler.ObjExpr objx,
    GeneratorAdapter gen) | 
| void | emitAssign(Compiler.C context,
          Compiler.ObjExpr objx,
          GeneratorAdapter gen,
          Compiler.Expr val) | 
| void | emitUnboxed(Compiler.C context,
           Compiler.ObjExpr objx,
           GeneratorAdapter gen) | 
| java.lang.Object | eval() | 
| java.lang.Object | evalAssign(Compiler.Expr val) | 
| java.lang.Class | getJavaClass() | 
| boolean | hasJavaClass() | 
emitBoxReturn, emitUnboxArg, tagToClasspublic final Compiler.Expr target
public final java.lang.Class targetClass
public final java.lang.reflect.Field field
public final java.lang.String fieldName
public final int line
public final int column
public final Symbol tag
static final Method invokeNoArgInstanceMember
static final Method setInstanceFieldMethod
public Compiler.InstanceFieldExpr(int line,
                          int column,
                          Compiler.Expr target,
                          java.lang.String fieldName,
                          Symbol tag)
public java.lang.Object eval()
eval in interface Compiler.Exprpublic boolean canEmitPrimitive()
canEmitPrimitive in interface Compiler.MaybePrimitiveExprpublic void emitUnboxed(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen)
emitUnboxed in interface Compiler.MaybePrimitiveExprpublic void emit(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen)
emit in interface Compiler.Exprpublic boolean hasJavaClass()
hasJavaClass in interface Compiler.Exprpublic java.lang.Class getJavaClass()
getJavaClass in interface Compiler.Exprpublic java.lang.Object evalAssign(Compiler.Expr val)
evalAssign in interface Compiler.AssignableExprpublic void emitAssign(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen, Compiler.Expr val)
emitAssign in interface Compiler.AssignableExpr