HashMap<String,BaseType> paramMap,
String paramDeclName,
Type parentType,
ClassFill classFill)
{
TypeVariable aType = (TypeVariable) type;
BaseType actualType = null;
String aTypeName = aType.getName();
if (paramMap != null) {
actualType = (BaseType) paramMap.get(aTypeName);
if (actualType != null)
return actualType;
if (paramDeclName != null) {
aTypeName = paramDeclName + "_" + aType.getName();
actualType = (BaseType) paramMap.get(aTypeName);
}
if (actualType != null)
return actualType;
}
String varName;
if (paramMap != null)
varName = createVarName(paramMap, paramDeclName);
else
varName = aType.getName();
BaseType []baseBounds;
if (aType.getBounds() != null) {
Type []bounds = aType.getBounds();
baseBounds = new BaseType[bounds.length];
for (int i = 0; i < bounds.length; i++) {
// ejb/1243 - Enum