public class MethodIterator extends java.lang.Object
Constructor and Description |
---|
MethodIterator(java.lang.Class subjectClass) |
Modifier and Type | Method and Description |
---|---|
boolean |
getToString()
Returns true if the method
public String toString() is part of the interface. |
boolean |
hasNext() |
MethodSignature |
next()
Returns the next method (as a
MethodSignature , returning null when all are
exhausted. |
public MethodIterator(java.lang.Class subjectClass)
public boolean hasNext()
public MethodSignature next()
MethodSignature
, returning null when all are
exhausted. Each method signature is returned exactly once (even if the same method signature
is defined in multiple inherited classes or interfaces). The order in which method signatures
are returned is not specified.java.util.NoSuchElementException
- if there are no more signaturespublic boolean getToString()
public String toString()
is part of the interface.