Fixed ArrayIndexOutOfBounds when using code completion on static methods.