Finds a PropertyNode matching the given name in this ClassNode. This method searches through the properties list, comparing by name. Only direct properties of this class are searched, not inherited ones. @param name the name of the property to find @return the PropertyNode with the
(String name)
| 1055 | * @see #getProperties() |
| 1056 | */ |
| 1057 | public PropertyNode getProperty(String name) { |
| 1058 | return getProperties().stream().filter(pn -> pn.getName().equals(name)).findFirst().orElse(null); |
| 1059 | } |
| 1060 | |
| 1061 | /** |
| 1062 | * Returns all {@link MethodNode}s declared in this ClassNode, including inherited and synthetic methods. |
no test coverage detected