private void addReference( final TemplateDataDictionary dataDictionary, final GwtType type, final Map<GwtType, JavaType> mirrorTypeMap) { addImport(dataDictionary, mirrorTypeMap.get(type).getFullyQualifiedTypeName()); dataDictionary.setVariable(type.getName(), mirrorTypeMap.get(type).getSimpleTypeName()); }
private void addReference( final TemplateDataDictionary dataDictionary, final GwtType type, final String moduleName) { addImport(dataDictionary, getDestinationJavaType(type, moduleName).getFullyQualifiedTypeName()); dataDictionary.setVariable( type.getName(), getDestinationJavaType(type, moduleName).getSimpleTypeName()); }