コード例 #1
0
 MethodTreeNode getMethodNode(MethodExecutionInput executionInput) {
   String methodName = executionInput.getMethodRef().getMethodName();
   if (!isLeaf())
     for (TreeNode node : getChildren()) {
       MethodTreeNode methodNode = (MethodTreeNode) node;
       if (methodNode.getName().equalsIgnoreCase(methodName)) {
         return methodNode;
       }
     }
   return new MethodTreeNode(this, executionInput);
 }
コード例 #2
0
 MethodTreeNode getMethodNode(MethodExecutionInput executionInput) {
   if (!isLeaf())
     for (TreeNode node : getChildren()) {
       if (node instanceof MethodTreeNode) {
         MethodTreeNode methodNode = (MethodTreeNode) node;
         if (methodNode.getExecutionInput() == executionInput) {
           return methodNode;
         }
       }
     }
   return new MethodTreeNode(this, executionInput);
 }