1 19 package org.netbeans.modules.javacore.jmiimpl.javamodel; 20 21 import org.netbeans.jmi.javamodel.NewArrayExpression; 22 import org.netbeans.jmi.javamodel.NewArrayExpressionClass; 23 import org.netbeans.jmi.javamodel.Expression; 24 import org.netbeans.jmi.javamodel.MultipartId; 25 import org.netbeans.jmi.javamodel.PrimaryExpression; 26 import org.netbeans.mdr.storagemodel.StorableClass; 27 28 29 30 34 public abstract class NewArrayExpressionClassImpl extends MEFactory implements NewArrayExpressionClass { 35 36 37 public NewArrayExpressionClassImpl(StorableClass s) { 38 super(s); 39 } 40 41 45 public NewArrayExpression createNewArrayExpression() { 46 return create(null, null, null, 0); 47 } 48 49 private NewArrayExpressionImpl create(java.util.List dimensions, org.netbeans.jmi.javamodel.ArrayInitialization initializer, MultipartId typeName, int dimCount) { 50 NewArrayExpressionImpl result = (NewArrayExpressionImpl) create(null); 51 result.setNew(); 52 result.setData(dimensions, initializer, typeName, dimCount); 53 return result; 54 } 55 56 public NewArrayExpression createNewArrayExpression(MultipartId typeName, java.util.List dimensions, int dimCount, org.netbeans.jmi.javamodel.ArrayInitialization initializer) { 57 return create(dimensions, initializer, typeName, dimCount); 58 } 59 } 60 | Popular Tags |