static class Compiler.StaticFieldExpr extends Compiler.FieldExpr implements Compiler.AssignableExpr
Compiler.HostExpr.Parser| Modifier and Type | Field and Description | 
|---|---|
| java.lang.Class | c | 
| (package private) int | column | 
| java.lang.reflect.Field | field | 
| java.lang.String | fieldName | 
| (package private) int | line | 
| Symbol | tag | 
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.StaticFieldExpr(int line,
                        int column,
                        java.lang.Class c,
                        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 java.lang.String fieldName
public final java.lang.Class c
public final java.lang.reflect.Field field
public final Symbol tag
final int line
final int column
public Compiler.StaticFieldExpr(int line,
                        int column,
                        java.lang.Class c,
                        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