blob: 92dc08fca058945173098d6f5a70d7d168daece3 [file] [log] [blame]
class BugSample<T> implements Iterator<T> {
public boolean hasNext() { throw new UnsupportedOperationException("This method is not available"); }
public void remove() { throw new UnsupportedOperationException("This method is not available"); }
public T next() { throw new UnsupportedOperationException("This method is not available"); }
}
-----
public class BugSample<T> extends groovy.lang.GroovyObjectSupport implements java.util.Iterator<T>, groovy.lang.GroovyObject {
public boolean hasNext() {
return false;
}
public void remove() {
return ;
}
public T next() {
return null;
}
public java.lang.Object getProperty(java.lang.String property) {
return null;
}
public void setProperty(java.lang.String property, java.lang.Object newValue) {
return ;
}
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
return null;
}
public groovy.lang.MetaClass getMetaClass() {
return null;
}
public void setMetaClass(groovy.lang.MetaClass metaClass) {
return ;
}
}
---