Skip to content

Commit d23d406

Browse files
committed
EDIT: Added additional logging.
1 parent cceec82 commit d23d406

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/java/eme/extractor/JavaTypeExtractor.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)