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 12
12
import com .github .javaparser .ast .stmt .BlockStmt ;
13
13
import com .github .javaparser .ast .type .ReferenceType ;
14
14
import com .github .javaparser .ast .type .Type ;
15
+ import com .github .javaparser .resolution .MethodAmbiguityException ;
15
16
import com .github .javaparser .resolution .UnsolvedSymbolException ;
16
17
import com .github .javaparser .resolution .types .ResolvedType ;
17
18
import com .github .javaparser .symbolsolver .JavaSymbolSolver ;
@@ -557,7 +558,7 @@ private static String resolveExpression(Expression expression) {
557
558
private static String resolveType (Type type ) {
558
559
try {
559
560
return type .resolve ().describe ();
560
- } catch (UnsolvedSymbolException | IllegalStateException e ) {
561
+ } catch (UnsolvedSymbolException | IllegalStateException | MethodAmbiguityException e ) {
561
562
Log .warn ("Could not resolve " +type .asString ()+": " +e .getMessage ());
562
563
return type .asString ();
563
564
}
You can’t perform that action at this time.
0 commit comments