You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike what is stated in the readme file, JavaType.isArray() do not exist.
So how can I know if a parametter of a method is an array or not?
Because actually the example:
JavaMethod m = cls.getMethods()[0];
JavaParameter o = m.getParameters()[1];
boolean oArray = o.getType().isArray(); // true
won't work as .isArray() do not exist for JavaType...
The text was updated successfully, but these errors were encountered:
Starting with QDox2 the model reflects more the Java API. Based on that, there's no isArray() for Type. Instead you should use the JavaClass, just like Class#isArray
Documentation should be updated...
Unlike what is stated in the readme file, JavaType.isArray() do not exist.
So how can I know if a parametter of a method is an array or not?
Because actually the example:
won't work as
.isArray()
do not exist for JavaType...The text was updated successfully, but these errors were encountered: