File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/com/ibm/northstar Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1212import com .github .javaparser .ast .stmt .BlockStmt ;
1313import com .github .javaparser .ast .type .ReferenceType ;
1414import com .github .javaparser .ast .type .Type ;
15+ import com .github .javaparser .resolution .MethodAmbiguityException ;
1516import com .github .javaparser .resolution .UnsolvedSymbolException ;
1617import com .github .javaparser .resolution .types .ResolvedType ;
1718import com .github .javaparser .symbolsolver .JavaSymbolSolver ;
@@ -557,7 +558,7 @@ private static String resolveExpression(Expression expression) {
557558 private static String resolveType (Type type ) {
558559 try {
559560 return type .resolve ().describe ();
560- } catch (UnsolvedSymbolException | IllegalStateException e ) {
561+ } catch (UnsolvedSymbolException | IllegalStateException | MethodAmbiguityException e ) {
561562 Log .warn ("Could not resolve " +type .asString ()+": " +e .getMessage ());
562563 return type .asString ();
563564 }
You can’t perform that action at this time.
0 commit comments