664 } 665 } 666 667 @Override 668 public boolean isPartOfThisState(VirtualState state) { 669 if (state == this) { 670 return true; 671 } 672 if (outerFrameState() != null && outerFrameState().isPartOfThisState(state)) { 673 return true; 674 } 675 if (virtualObjectMappings != null) { 676 for (EscapeObjectState objectState : virtualObjectMappings) { 677 if (objectState.isPartOfThisState(state)) { 678 return true; 679 } 680 } 681 } 682 return false; 683 } 684 } | 664 } 665 } 666 667 @Override 668 public boolean isPartOfThisState(VirtualState state) { 669 if (state == this) { 670 return true; 671 } 672 if (outerFrameState() != null && outerFrameState().isPartOfThisState(state)) { 673 return true; 674 } 675 if (virtualObjectMappings != null) { 676 for (EscapeObjectState objectState : virtualObjectMappings) { 677 if (objectState.isPartOfThisState(state)) { 678 return true; 679 } 680 } 681 } 682 return false; 683 } 684 685 public boolean isExceptionHandlingBCI() { 686 return bci == BytecodeFrame.AFTER_EXCEPTION_BCI || bci == BytecodeFrame.UNWIND_BCI; 687 } 688 } |