Adds a PropertyNode to this ClassNode. The property's associated field is also added to the field list, and the property itself is registered in the properties list. The property's declaring class is set to this node's redirect target. @param node the PropertyNode to add, must not b
(PropertyNode node)
| 801 | * @see PropertyNode |
| 802 | */ |
| 803 | public void addProperty(PropertyNode node) { |
| 804 | node.setDeclaringClass(redirect()); |
| 805 | addField(node.getField()); |
| 806 | getProperties().add(node); |
| 807 | } |
| 808 | |
| 809 | /** |
| 810 | * Creates and adds a {@link PropertyNode} to this ClassNode with the specified properties, |