@Override boolean shouldVisit() { if (bindings.isEmpty()) { return false; } RootNode localRoot = root; SourceSection localRootSourceSection = rootSourceSection; int localRootBits = rootBits; for (EventBinding.Source<?> binding : bindings) { if (binding.isInstrumentedRoot(providedTags, localRoot, localRootSourceSection, localRootBits)) { return true; } } return false; }
@Override boolean shouldVisit() { if (bindings.isEmpty()) { return false; } RootNode localRoot = root; SourceSection localRootSourceSection = rootSourceSection; int localRootBits = rootBits; for (EventBinding.Source<?> binding : bindings) { if (binding.isInstrumentedRoot(providedTags, localRoot, localRootSourceSection, localRootBits)) { return true; } } return false; }
/** * Parent must match {@link #filterSourceSection} and child must match {@link #inputFilter}. */ boolean isChildInstrumentedFull(Set<Class<?>> providedTags, RootNode rootNode, Node parent, SourceSection parentSourceSection, Node current, SourceSection currentSourceSection) { if (inputFilter == null) { return false; } else if (rootNode == null) { return false; } else if (!InstrumentationHandler.isInstrumentableNode(parent, parentSourceSection)) { return false; } if (isInstrumentedLeaf(providedTags, parent, parentSourceSection) && inputFilter.isInstrumentedNode(providedTags, current, currentSourceSection)) { return isInstrumentedRoot(providedTags, rootNode, rootNode.getSourceSection(), 0); } return false; }
/** * Parent must match {@link #filterSourceSection} and child must match {@link #inputFilter}. */ boolean isChildInstrumentedFull(Set<Class<?>> providedTags, RootNode rootNode, Node parent, SourceSection parentSourceSection, Node current, SourceSection currentSourceSection) { if (inputFilter == null) { return false; } else if (rootNode == null) { return false; } else if (!InstrumentationHandler.isInstrumentableNode(parent, parentSourceSection)) { return false; } if (isInstrumentedLeaf(providedTags, parent, parentSourceSection) && inputFilter.isInstrumentedNode(providedTags, current, currentSourceSection)) { return isInstrumentedRoot(providedTags, rootNode, rootNode.getSourceSection(), 0); } return false; }
boolean isInstrumentedFull(Set<Class<?>> providedTags, RootNode rootNode, Node node, SourceSection nodeSourceSection) { if (isInstrumentedLeaf(providedTags, node, nodeSourceSection)) { if (rootNode == null) { return false; } return isInstrumentedRoot(providedTags, rootNode, rootNode.getSourceSection(), 0); } return false; }
@Override boolean shouldVisit() { RootNode localRoot = root; SourceSection localRootSourceSection = rootSourceSection; int localRootBits = rootBits; return binding.isInstrumentedRoot(providedTags, localRoot, localRootSourceSection, localRootBits); }
@Override boolean shouldVisit() { RootNode localRoot = root; SourceSection localRootSourceSection = rootSourceSection; int localRootBits = rootBits; return binding.isInstrumentedRoot(providedTags, localRoot, localRootSourceSection, localRootBits); }
boolean isInstrumentedFull(Set<Class<?>> providedTags, RootNode rootNode, Node node, SourceSection nodeSourceSection) { if (isInstrumentedLeaf(providedTags, node, nodeSourceSection)) { if (rootNode == null) { return false; } return isInstrumentedRoot(providedTags, rootNode, rootNode.getSourceSection(), 0); } return false; }