static class Compiler.StaticInvokeExpr extends java.lang.Object implements Compiler.Expr, Compiler.MaybePrimitiveExpr
Modifier and Type | Field and Description |
---|---|
IPersistentVector |
args |
java.lang.Class[] |
paramclasses |
Type[] |
paramtypes |
java.lang.Class |
retClass |
Symbol |
tag |
Type |
target |
boolean |
variadic |
Constructor and Description |
---|
Compiler.StaticInvokeExpr(Type target,
java.lang.Class retClass,
java.lang.Class[] paramclasses,
Type[] paramtypes,
boolean variadic,
IPersistentVector args,
Symbol tag) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEmitPrimitive() |
void |
emit(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen) |
void |
emitUnboxed(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen) |
java.lang.Object |
eval() |
java.lang.Class |
getJavaClass() |
private Type |
getReturnType() |
boolean |
hasJavaClass() |
static Compiler.Expr |
parse(Var v,
ISeq args,
Symbol tag) |
public final Type target
public final java.lang.Class retClass
public final java.lang.Class[] paramclasses
public final Type[] paramtypes
public final IPersistentVector args
public final boolean variadic
public final Symbol tag
Compiler.StaticInvokeExpr(Type target, java.lang.Class retClass, java.lang.Class[] paramclasses, Type[] paramtypes, boolean variadic, IPersistentVector args, Symbol tag)
public java.lang.Object eval()
eval
in interface Compiler.Expr
public void emit(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen)
emit
in interface Compiler.Expr
public boolean hasJavaClass()
hasJavaClass
in interface Compiler.Expr
public java.lang.Class getJavaClass()
getJavaClass
in interface Compiler.Expr
public boolean canEmitPrimitive()
canEmitPrimitive
in interface Compiler.MaybePrimitiveExpr
public void emitUnboxed(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen)
emitUnboxed
in interface Compiler.MaybePrimitiveExpr
private Type getReturnType()
public static Compiler.Expr parse(Var v, ISeq args, Symbol tag)