private List<FunctionDefAdapter> getMethods(ClassTreeNode parent) {
List<FunctionDefAdapter> methods = new ArrayList<FunctionDefAdapter>();
for (Object obj : checked) {
if (obj instanceof FunctionTreeNode) {
FunctionTreeNode method = (FunctionTreeNode) obj;
if (method.getParent() == parent) {
methods.add(method.getAdapter());
}
}
}
return methods;