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 29 public abstract class WildCardClassImpl extends MEFactory implements WildCardClass { 30 31 public WildCardClassImpl(StorableClass s) { 32 super(s); 33 } 34 35 39 public WildCard createWildCard() { 40 return create(false, null); 41 } 42 43 private WildCardImpl create(boolean isLower, TypeReference boundName) { 44 WildCardImpl result = (WildCardImpl) create(null); 45 result.setNew(); 46 result.setData(isLower, boundName); 47 return result; 48 } 49 50 public WildCard createWildCard(boolean isLower, TypeReference boundName) { 51 return create(isLower, boundName); 52 } 53 } 54 | Popular Tags |