/** * Determines if the method represents a recursion call (i.e. whether the method call is already * in the cache.) * * @return True if the call is part of a recursion */ public boolean isRecursive() { MethodWrapper current = getParent(); while (current != null) { if (getMember().getHandleIdentifier().equals(current.getMember().getHandleIdentifier())) { return true; } current = current.getParent(); } return false; }