public static class Compiler.NewExpr extends java.lang.Object implements Compiler.Expr
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Compiler.NewExpr.Parser |
Modifier and Type | Field and Description |
---|---|
IPersistentVector |
args |
java.lang.Class |
c |
java.lang.reflect.Constructor |
ctor |
(package private) static Method |
forNameMethod |
(package private) static Method |
invokeConstructorMethod |
Constructor and Description |
---|
Compiler.NewExpr(java.lang.Class c,
IPersistentVector args,
int line,
int column) |
Modifier and Type | Method and Description |
---|---|
void |
emit(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen) |
java.lang.Object |
eval() |
java.lang.Class |
getJavaClass() |
boolean |
hasJavaClass() |
public final IPersistentVector args
public final java.lang.reflect.Constructor ctor
public final java.lang.Class c
static final Method invokeConstructorMethod
static final Method forNameMethod
public Compiler.NewExpr(java.lang.Class c, IPersistentVector args, int line, int column)
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