ITypeBinding typeBinding= ASTResolving.getBindingOfParentType(fOriginalNode); if (fSenderBinding == typeBinding) {
if (newTypeDecl.equals(ASTResolving.findParentType(fOriginalNode))) {
	private int evaluateFieldModifiers(CompilationUnit cu) {		if (fSenderBinding.isInterface()) {			// copy the modifiers for interface members			IVariableBinding[] fields= fSenderBinding.getDeclaredFields();			if (fields.length > 0) {				FieldDeclaration fieldDecl= (FieldDeclaration) cu.findDeclaringNode(fields[0]);				if (fieldDecl != null) {					return fieldDecl.getModifiers();				}			}			return 0;		}		int modifiers= 0;		ITypeBinding typeBinding= ASTResolving.getBindingOfParentType(fOriginalNode);		if (fSenderBinding == typeBinding) {			modifiers |= Modifier.PRIVATE;			if (ASTResolving.isInStaticContext(fOriginalNode)) {				modifiers |= Modifier.STATIC;			}		} else {			modifiers |= Modifier.PUBLIC;			ASTNode parent= fOriginalNode.getParent();				if (parent instanceof QualifiedName) {				Name qualifier= ((QualifiedName)parent).getQualifier();				if (qualifier.resolveBinding().getKind() == IBinding.TYPE) {					modifiers |= Modifier.STATIC;				}			}		}		return modifiers;	}	