Returns all FieldNodes declared in this ClassNode, including inherited fields. If this node is a proxy (has a redirect), the call is forwarded to the redirect target. The returned list includes fields from this class only, not from super classes. @return an unmodifiable or mutable list of {
()
| 990 | * @see FieldNode |
| 991 | */ |
| 992 | public List<FieldNode> getFields() { |
| 993 | if (redirect != null) |
| 994 | return redirect.getFields(); |
| 995 | lazyClassInit(); |
| 996 | if (fields == null) |
| 997 | fields = new ArrayList<>(); |
| 998 | return fields; |
| 999 | } |
| 1000 | |
| 1001 | /** |
| 1002 | * Returns all {@link PropertyNode}s declared in this ClassNode. If this node is a proxy |