Fixed handling of constructors with arguments, methods with array return types, and methods with generic return types.