Searched refs:withTagContext (Results 1 – 11 of 11) sorted by relevance
56 public void withTagContext() { in withTagContext() method in ScopedTagContextsTest59 Scope scope = tagger.withTagContext(scopedTags); in withTagContext()71 Scope scope = tagger.withTagContext(scopedTags); in createBuilderFromCurrentTags()98 Scope scope1 = tagger.withTagContext(scopedTags); in addToCurrentTagsWithBuilder()
71 Scope scopedTags = CurrentTagContextUtils.withTagContext(tagContext); in testWithTagContext()83 Scope scopedTags = CurrentTagContextUtils.withTagContext(tagContext); in testWithTagContextUsingWrap()
279 assertThat(tagger.withTagContext(new SimpleTagContext(TAG1))).isSameAs(NoopScope.getInstance()); in withTagContext_ReturnsNoopScopeWhenTaggingIsDisabled()298 Scope scope = tagger.withTagContext(tagsToSet); in getResultOfWithTagContext()
61 try (Scope scopedTagCtx1 = tagger.withTagContext(tags1)) { in main()66 try (Scope scopedTagCtx2 = tagger.withTagContext(tags2)) { in main()
76 public Scope withTagContext(TagContext tags) { in withTagContext() method in TaggerImpl79 : CurrentTagContextUtils.withTagContext(toTagContextImpl(tags)); in withTagContext()
49 static Scope withTagContext(TagContext tags) { in withTagContext() method in CurrentTagContextUtils
58 return CurrentTagContextUtils.withTagContext(build()); in buildScoped()
85 public abstract Scope withTagContext(TagContext tags); in withTagContext() method in Tagger
142 public Scope withTagContext(TagContext tags) { in withTagContext() method in NoopTags.NoopTagger
96 assertThat(noopTagger.withTagContext(TAG_CONTEXT)).isSameAs(NoopScope.getInstance()); in noopTagger()110 noopTagger.withTagContext(null); in noopTagger_WithTagContext_DisallowsNull()
190 public Scope withTagContext(TagContext tags) { in withTagContext() method in StatsTestUtils.FakeTagger