Package org.eclipse.sisu.bean
Class BeanPropertyIterator<T>
- java.lang.Object
-
- org.eclipse.sisu.bean.BeanPropertyIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<BeanProperty<T>>
final class BeanPropertyIterator<T> extends java.lang.Object implements java.util.Iterator<BeanProperty<T>>
Read-onlyIterator
that picks out potential bean properties from declared members.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Iterator<java.lang.reflect.Member>
memberIterator
private BeanProperty<T>
nextProperty
-
Constructor Summary
Constructors Constructor Description BeanPropertyIterator(java.lang.Iterable<java.lang.reflect.Member> members)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
private static boolean
isSetter(java.lang.reflect.Member member)
BeanProperty<T>
next()
void
remove()
-
-
-
Field Detail
-
memberIterator
private final java.util.Iterator<java.lang.reflect.Member> memberIterator
-
nextProperty
private BeanProperty<T> nextProperty
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<T>
-
next
public BeanProperty<T> next()
- Specified by:
next
in interfacejava.util.Iterator<T>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<T>
-
isSetter
private static boolean isSetter(java.lang.reflect.Member member)
-
-