File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/main/java/eme/extractor Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,11 @@ public void extractExternalTypes(Set<String> externalTypes) throws JavaModelExce
5757 logger .info ("Parsing external types..." );
5858 for (String typeName : externalTypes ) { // for every potential external type
5959 if (!model .contains (typeName )) { // if is not a model type:
60- IType iType = project .findType (typeName ); // try to find IType
61- if (iType != null ) { // if IType was found:
62- model .addExternal (extractType (iType )); // add to model.
60+ IType type = project .findType (typeName ); // try to find IType
61+ if (type != null ) { // if IType was found:
62+ ExtractedType extractedType = extractType (type );
63+ logger .info ("Resolved external " + extractedType .toString ());
64+ model .addExternal (extractedType ); // add to model.
6365 }
6466 }
6567 }
You can’t perform that action at this time.
0 commit comments