public List<? extends TypeMirror> getInterfaces() {
ReferenceBinding binding = (ReferenceBinding)_binding;
if (null == binding.superInterfaces() || binding.superInterfaces().length == 0) {
return Collections.emptyList();
}
List<TypeMirror> interfaces = new ArrayList<TypeMirror>(binding.superInterfaces().length);
for (ReferenceBinding interfaceBinding : binding.superInterfaces()) {
TypeMirror interfaceType = _env.getFactory().newTypeMirror(interfaceBinding);
if (interfaceType.getKind() == TypeKind.ERROR) {
if (this._env.getSourceVersion().compareTo(SourceVersion.RELEASE_6) > 0) {
// for jdk 7 and above, add error types