Add methods for Iterables to ElementFilter.

2013-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* javax/lang/model/util/ElementFilter.java:
	(typesIn(Iterable)): Implemented.
	(constructorsIn(Iterable)): Likewise.
	(fieldsIn(Iterable)): Likewise.
	(methodsIn(Iterable)): Likewise.
	(packagesIn(Iterable)): Likewise.
	(FilteredList(Iterable,ElementKind...)): Fix
	documentation.
	(FilteredIterator): Make non-final so it can
	be subclassed.
	(FilteredIterator.kinds): Make protected, allowing
	access form subclass.
	(FilteredList): New class.
	(FilteredList.elements): The filtered Iterable.
	(FilteredList.kinds): The kinds to allow.
	(FilteredList.FilteredList(Iterable,ElementKind...)):
	New constructor.
	(FilteredList.listIterator(int)): New method.
	(FilteredList.size()): Likewise.
	(FilteredListIterator): New class.
	(FilteredListIterator.listIterator): The underlying
	iterator.
	(FilteredListIterator.index): The position.
	(FilteredListIterator.cache): The cache of elements.
	(FilteredListIterator.FilteredListIterator(iterator,
	index,kinds)): New constructor.
	(FilteredListIterator.next()): New method.
	(FilteredListIterator.add(E)): Likewise.
	(FilteredListIterator.hasPrevious()): Likewise.
	(FilteredListIterator.previous()): Likewise.
	(FilteredListIterator.nextIndex()): Likewise.
	(FilteredListIterator.previousIndex()): Likewise.
	(FilteredListIterator.set(E)): Likewise.
Merge branch 'master' of ../classpath

Conflicts:
	ChangeLog
Fix bad use of gccoptlist in cp-tools.texinfo.

2013-08-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* doc/cp-tools.texinfo:
	Fix bad use of gccoptlist.

Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
Update javax.lang.model, javax.lang.model.element and javax.lang.model.type packages to 1.7.

2013-09-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* javax/lang/model/SourceVersion.java:
	(RELEASE_7): New enum value.
	* javax/lang/model/UnknownEntityException.java:
	New exception class.
	(UnknownEntityException(String)): New constructor.
	* javax/lang/model/element/ElementKind.java:
	(RESOURCE_VARIABLE): New enum value.
	* javax/lang/model/element/ExecutableElement.java:
	Extend mixin interface Parameterizable.
	* javax/lang/model/element/PackageElement.java:
	Extend mixin interface QualifiedNameable.
	* javax/lang/model/element/Parameterizable.java:
	New interface.
	(getTypeParameters()): New method.
	* javax/lang/model/element/QualifiedNameable.java:
	New interface.
	(getQualifiedName()): New method.
	* javax/lang/model/element/TypeElement.java:
	Extend mixin interfaces Parameterizable and QualifiedNameable.
	* javax/lang/model/element/UnknownAnnotationValueException.java:
	Extend UnknownEntityException instead of RuntimeException.
	(UnknownAnnotationValueException(AnnotationValue,Object)):
	Call superclass with error message.
	* javax/lang/model/element/UnknownElementException.java:
	Extend UnknownEntityException instead of RuntimeException.
	(UnknownElementException(Element,Object)): End sentence
	with a full stop, not a comma.
	* javax/lang/model/type/MirroredTypeException.java:
	Extend MirroredTypesException instead of RuntimeException.
	(mirror): Removed.
	(MirroredTypeException(TypeMIrror)): Store mirror using list
	in superclass rather than a local variable.
	(getTypeMirror()): Return first (and only) element from
	getTypeMirrors().
	* javax/lang/model/type/TypeKind.java:
	(UNION): New enum value.
	* javax/lang/model/type/TypeVisitor.java:
	(visitUnion(UnionType,P)): New method.
	* javax/lang/model/type/UnionType.java:
	New interface.
	(getAlternatives()): New method.
	* javax/lang/model/type/UnknownTypeException.java,
	Extend UnknownEntityException instead of RuntimeException.
	(UnknownTypeException(TypeMirror,Object)):
	Call superclass with error message.

Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>