protected String getEffectiveMapType(GenClass context, EGenericType eGenericType, GenClass genClass) { if (getEffectiveComplianceLevel().getValue() >= GenJDKLevel.JDK50 && eGenericType.getETypeArguments().size() == 2) { String mapType = getEffectiveMapType(); String keyType = getTypeArgument(context, eGenericType.getETypeArguments().get(0), true, false); String valueType = getTypeArgument(context, eGenericType.getETypeArguments().get(1), true, false); mapType += "<" + keyType + ", " + valueType + ">"; return mapType; } else { return getEffectiveMapType(context, genClass); } }
protected String getEffectiveMapType(GenClass context, EGenericType eGenericType, GenClass genClass) { if (getEffectiveComplianceLevel().getValue() >= GenJDKLevel.JDK50 && eGenericType.getETypeArguments().size() == 2) { String mapType = getEffectiveMapType(); String keyType = getTypeArgument(context, eGenericType.getETypeArguments().get(0), true, false); String valueType = getTypeArgument(context, eGenericType.getETypeArguments().get(1), true, false); mapType += "<" + keyType + ", " + valueType + ">"; return mapType; } else { return getEffectiveMapType(context, genClass); } }
protected String getEffectiveMapType(GenClass context, GenClass genClass) { String mapType = getEffectiveMapType(); if (getEffectiveComplianceLevel().getValue() >= GenJDKLevel.JDK50) { String keyType = genClass.getMapEntryKeyFeature().getType(context); String valueType = genClass.getMapEntryValueFeature().getType(context); mapType += "<" + keyType + ", " + valueType + ">"; } return mapType; }
protected String getEffectiveMapType(GenClass context, GenClass genClass) { String mapType = getEffectiveMapType(); if (getEffectiveComplianceLevel().getValue() >= GenJDKLevel.JDK50) { String keyType = genClass.getMapEntryKeyFeature().getType(context); String valueType = genClass.getMapEntryValueFeature().getType(context); mapType += "<" + keyType + ", " + valueType + ">"; } return mapType; }