You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
methods like addActualTypeArgument() should throw exception, because this is illegal things to do. But they have some logic currently in CtTypeParameterReferenceImpl.
The text was updated successfully, but these errors were encountered:
I'm not in favor of throwing an exception because it would require client code to add ugly try/catch.
however, you're right, and there should not be no code in CtTypeParameterReference.addActualTypeArgument. We'll try to remove it and replace it by an appropriate comment.
methods like
addActualTypeArgument()
should throw exception, because this is illegal things to do. But they have some logic currently inCtTypeParameterReferenceImpl
.The text was updated successfully, but these errors were encountered: