src/main/java/org/mvel2/optimizers/impl/asm/ASMAccessorOptimizer.java
private void createArray(Class componentType, int length) {
      intPush(length);
      if (componentType.isPrimitive()) {
         assert debug("NEWARRAY " + getInternalName(componentType) + " (" + length + ")");
         mv.visitIntInsn(NEWARRAY, toPrimitiveTypeOperand(componentType)); 
      }
      else {
         assert debug("ANEWARRAY " + getInternalName(componentType) + " (" + length + ")");
         mv.visitTypeInsn(ANEWARRAY, getInternalName(componentType));
      }
    }
/**
   * Create an array of any type (primitive or reference)
   * @param componentType The type of array elements
   * @param length The length of the array
   */
Create an array of any type (primitive or reference)
@param componentType The type of array elements
@param length The length of the array
Create an array of any type ( primitive or reference ) @param componentType The type of array elements @param length The length of the array
private void createArray(Class componentType, int length) {
      intPush(length);
      if (componentType.isPrimitive()) {
         assert debug("NEWARRAY " + getInternalName(componentType) + " (" + length + ")");
         mv.visitIntInsn(NEWARRAY, toPrimitiveTypeOperand(componentType)); 
      }
      else {
         assert debug("ANEWARRAY " + getInternalName(componentType) + " (" + length + ")");
         mv.visitTypeInsn(ANEWARRAY, getInternalName(componentType));
      }
    }
private void createArray ( Class componentType , int length ) { intPush ( length ) ; if ( componentType . isPrimitive ( ) ) { assert debug ( "NEWARRAY " + getInternalName ( componentType ) + " (" + length + ")" ) ; mv . visitIntInsn ( NEWARRAY , toPrimitiveTypeOperand ( componentType ) ) ; } else { assert debug ( "ANEWARRAY " + getInternalName ( componentType ) + " (" + length + ")" ) ; mv . visitTypeInsn ( ANEWARRAY , getInternalName ( componentType ) ) ; } }
Create an array of any type (primitive or reference)
 @param componentType The type of array elements
 @param length The length of the array
Create an array of any type ( primitive or reference ) @param componentType The type of array elements @param length The length of the array