1 19 package org.netbeans.modules.javacore.jmiimpl.javamodel; 20 21 import org.netbeans.jmi.javamodel.*; 22 import org.netbeans.mdr.storagemodel.StorableClass; 23 24 25 26 30 public abstract class ArrayReferenceClassImpl extends MEFactory implements ArrayReferenceClass { 31 32 33 public ArrayReferenceClassImpl(StorableClass s) { 34 super(s); 35 } 36 37 41 public ArrayReference createArrayReference() { 42 return create(null, null, 0); 43 } 44 45 private ArrayReferenceImpl create(String name, MultipartId parent, int dimCount) { 46 ArrayReferenceImpl result = (ArrayReferenceImpl) create(null); 47 result.setNew(); 48 result.setData(name, parent, dimCount); 49 return result; 50 } 51 52 public ArrayReference createArrayReference(String name, MultipartId parent, int dimCount) { 53 return create(name, parent, dimCount); 54 } 55 } 56 | Popular Tags |