Package org.allspice.structured.expr

Examples of org.allspice.structured.expr.NewArrayExpr


  public static interface ComplexArrayTest {
    public int[] meth() ;
  }
  public void test1() throws Exception {
    ComplexArrayTest obj = makeObject(ComplexArrayTest.class,
        new NewArrayExpr("int",new FIFO<Expr>(new ConstExpr(Integer.valueOf(2),null)),null,null)) ;
    final int[] arr = obj.meth();
    assertEquals(arr.length,2) ;
  }
View Full Code Here

TOP

Related Classes of org.allspice.structured.expr.NewArrayExpr

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.