static class Compiler.StaticMethodExpr extends Compiler.MethodExpr
Compiler.HostExpr.Parser
Modifier and Type | Field and Description |
---|---|
IPersistentVector |
args |
java.lang.Class |
c |
int |
column |
(package private) static Method |
forNameMethod |
(package private) static Method |
invokeStaticMethodMethod |
int |
line |
java.lang.reflect.Method |
method |
java.lang.String |
methodName |
java.lang.String |
source |
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.StaticMethodExpr(java.lang.String source,
int line,
int column,
Symbol tag,
java.lang.Class c,
java.lang.String methodName,
IPersistentVector args) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEmitIntrinsicPredicate() |
boolean |
canEmitPrimitive() |
void |
emit(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen) |
void |
emitIntrinsicPredicate(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen,
Label falseLabel) |
void |
emitUnboxed(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen) |
java.lang.Object |
eval() |
java.lang.Class |
getJavaClass() |
boolean |
hasJavaClass() |
emitArgsAsArray, emitTypedArgs
emitBoxReturn, emitUnboxArg, tagToClass
public final java.lang.Class c
public final java.lang.String methodName
public final IPersistentVector args
public final java.lang.String source
public final int line
public final int column
public final java.lang.reflect.Method method
public final Symbol tag
static final Method forNameMethod
static final Method invokeStaticMethodMethod
public Compiler.StaticMethodExpr(java.lang.String source, int line, int column, Symbol tag, java.lang.Class c, java.lang.String methodName, IPersistentVector args)
public java.lang.Object eval()
public boolean canEmitPrimitive()
public boolean canEmitIntrinsicPredicate()
public void emitIntrinsicPredicate(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen, Label falseLabel)
public void emitUnboxed(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen)
public void emit(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen)
public boolean hasJavaClass()
public java.lang.Class getJavaClass()