Bug 24920 quick fix: fooled by additional dimentions in method declarations [quick fix]
public class DD { private int DD()[]{ }; } add return statement - it puts retrun 0 instead of return null
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
}
		return ast.newSimpleType(ast.newSimpleName("Object"));
	}
	
	private int evaluateFieldModifiers(ASTNode newTypeDecl) {
		if (fSenderBinding.isInterface()) {
			
			FieldDeclaration[] fieldDecls= ((TypeDeclaration) newTypeDecl).getFields();
			if (fieldDecls.length > 0) {
				return fieldDecls[0].getModifiers();
			}
			return 0;
		}
		int modifiers= 0;
		if (newTypeDecl.equals(ASTResolving.findParentType(fOriginalNode))) {
			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;