|
|
|
|
|
|
|
|
return matches; |
|
|
return matches; |
|
|
} else if (hasExtraParameter() && kind == AdviceKind.AfterThrowing) { // pr119749 |
|
|
} else if (hasExtraParameter() && kind == AdviceKind.AfterThrowing) { // pr119749 |
|
|
ResolvedType exceptionType = getExtraParameterType().resolve(world); |
|
|
ResolvedType exceptionType = getExtraParameterType().resolve(world); |
|
|
if (!exceptionType.isCheckedException()) { |
|
|
|
|
|
|
|
|
if (!exceptionType.isCheckedException() || exceptionType.getName().equals("java.lang.Exception")) { // pr292239 |
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
UnresolvedType[] shadowThrows = shadow.getSignature().getExceptions(world); |
|
|
UnresolvedType[] shadowThrows = shadow.getSignature().getExceptions(world); |