raven-compiler/src/main/java/org/raven/compiler/Method.java
/**
     * Instantiate a new object
     *
     * @param owner  The class type
     * @param params The constructor parameters
     */
Instantiate a new object
@param owner  The class type
@param params The constructor parameters
Instantiate a new object @param owner The class type @param params The constructor parameters
private void newObject(final String owner, final Expression[] params) {
        Type type = Type.getType("L" + owner + ";");
        visitListDef(new ListDef(params));
        visitTypeInsn(CHECKCAST, getName(TList.class));
        String name = owner.substring(1 + owner.lastIndexOf("/"));
        mv.visitInvokeDynamicInsn("new" + name, "(Lorg/raven/core/wrappers/TList;)Lorg/raven/core/wrappers/TObject;",
                CONSTRUCTOR_BOOTSTRAP, type, params.length);
    }
private void newObject ( final String owner , final Expression [ ] params ) { Type type = Type . getType ( "L" + owner + ";" ) ; visitListDef ( new ListDef ( params ) ) ; visitTypeInsn ( CHECKCAST , getName ( TList . class ) ) ; String name = owner . substring ( 1 + owner . lastIndexOf ( "/" ) ) ; mv . visitInvokeDynamicInsn ( "new" + name , "(Lorg/raven/core/wrappers/TList;)Lorg/raven/core/wrappers/TObject;" , CONSTRUCTOR_BOOTSTRAP , type , params . length ) ; }
Instantiate a new object
 @param owner  The class type
 @param params The constructor parameters
Instantiate a new object @param owner The class type @param params The constructor parameters