public static IBinding getVariableDeclaration(IVariableBinding var) {
public static IVariableBinding getVariableDeclaration(IVariableBinding var) {
	public static IBinding getVariableDeclaration(IVariableBinding var) {		ITypeBinding declaringClass= var.getDeclaringClass();		if (declaringClass == null) {			return var;		}		if (declaringClass.getTypeDeclaration() == declaringClass) { // test if type is already declaration			return var;		}		IVariableBinding[] genericFields= declaringClass.getTypeDeclaration().getDeclaredFields();		String name= var.getName();		for (int i= 0; i < genericFields.length; i++) {			if (name.equals(genericFields[i].getName())) {				return genericFields[i];			}		}		Assert.isTrue(false, "field does not exist in generic type"); //$NON-NLS-1$		return var;	}