Clarify comment for safe interface iteration.

This commit is contained in:
Andrew Kent 2018-08-14 12:58:13 -07:00
parent 57e85d4a13
commit a7c63b9261
1 changed files with 2 additions and 2 deletions

View File

@ -129,8 +129,8 @@ public class ByteBuddyElementMatchers {
}
/**
* TypeDefinition#getInterfaces() may throw an exception during iteration if an interface is
* absent from the classpath.
* TypeDefinition#getInterfaces() produces an interator which may throw an exception during
* iteration if an interface is absent from the classpath.
*
* <p>This method exists to allow getting interfaces even if the lookup on one fails.
*/