From 2a18b487415752a3fdb451ae184c7c77b37f9ae6 Mon Sep 17 00:00:00 2001 From: rfscholte Date: Wed, 12 Oct 2022 09:27:34 +0200 Subject: [PATCH] Update documentation #41 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 42ad6521..a7443ae3 100644 --- a/README.md +++ b/README.md @@ -432,7 +432,7 @@ JavaType nType = n.getType(); // "int"; JavaParameter o = m.getParameters()[1]; String oName = o.getName(); // "objects" JavaType oType = o.getType(); // "java.lang.Object"; -boolean oArray = o.getType().isArray(); // true +boolean oArray = o.getJavaClass().isArray(); // true JavaMethod javaMethod = o.getParentMethod(); ```