Bug 89513 [code manipulation] generate delegate methods: inconsistent for generic types
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java
return null;
						}
					} else if (!unit.equals(field.getCompilationUnit())) {
						
						return null;
					}
					try {
						final IType type= field.getDeclaringType();
						if (type.isInterface()) {
							return null;
						}
					} catch (JavaModelException exception) {
						JavaPlugin.log(exception);
						return null;
					}
					result[index]= field;
				} else {
					return null;
				}
			}
			return result;
		}
		return null;
	}
	private boolean hasNonErasableType(IField field) throws JavaModelException {
		String signature= field.getTypeSignature();
		if (Signature.getTypeSignatureKind(signature) == Signature.CLASS_TYPE_SIGNATURE) {
			IType declaring= field.getDeclaringType();
			ITypeParameter[] parameters= declaring.getTypeParameters();
			for (int index= 0; index < parameters.length; index++) {