📄 classnode.java
字号:
package hong.javanet.util.tree;
public class ClassNode extends TreeNode {
public ClassNode(Class clazz) {
this.setKey(clazz);
this.setParentKey(clazz.getSuperclass());
}
protected TreeNode cloneNode(Object newkey) {
ClassNode node = new ClassNode((Class) newkey);
node.setTree(this.getTree());
node.setOther(this.getOther());
// node.setDataInheritParent(this.getDataInheritParent());
// node.setDataIncludeChildren(this.getDataIncludeChildren());
node.setValue(this.getValue());
// node.setStopToChildred(this.isStopToChildred());
// node.setStopToParent(this.isStopToParent());
return node;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -