test_class.declarator: tagExcludingSpanEventListener
test_class.modifier: private
test_class.original_string: private TagExcludingSpanEventListener tagExcludingSpanEventListener;
test_class.type: TagExcludingSpanEventListener
test_class.var_name: tagExcludingSpanEventListener
test_class.declarator: tracingPlugin
test_class.modifier: private
test_class.original_string: private TracingPlugin tracingPlugin;
test_class.type: TracingPlugin
test_class.var_name: tracingPlugin
test_class.file: stagemonitor-tracing/src/test/java/org/stagemonitor/tracing/tagexclude/TagExcludingSpanEventListenerTest.java
test_class.identifier: TagExcludingSpanEventListenerTest
test_case.body: @Test
  	public void testExclude() throws Exception {
  		when(tracingPlugin.getExcludedTags()).thenReturn(Collections.singleton("foo"));
  		assertThat(tagExcludingSpanEventListener.onSetTag("foo", "bar")).isNull();
  		assertThat(tagExcludingSpanEventListener.onSetTag("foo", 1)).isNull();
  	}
test_case.class_method_signature: TagExcludingSpanEventListenerTest.testExclude()
test_case.full_signature: @Test public void testExclude()
test_case.identifier: testExclude
test_case.invocations: thenReturn when getExcludedTags singleton isNull assertThat onSetTag isNull assertThat onSetTag
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testExclude()
focal_class.declarator: tracingPlugin
focal_class.modifier: private final
focal_class.original_string: private final TracingPlugin tracingPlugin;
focal_class.type: TracingPlugin
focal_class.var_name: tracingPlugin
focal_class.file: stagemonitor-tracing/src/main/java/org/stagemonitor/tracing/tagexclude/TagExcludingSpanEventListener.java
focal_class.identifier: TagExcludingSpanEventListener
focal_class.class_method_signature: TagExcludingSpanEventListener.TagExcludingSpanEventListener(TracingPlugin tracingPlugin)
focal_class.full_signature: public  TagExcludingSpanEventListener(TracingPlugin tracingPlugin)
focal_class.identifier: TagExcludingSpanEventListener
focal_class.modifiers: public
focal_class.parameters: (TracingPlugin tracingPlugin)
focal_class.signature:  TagExcludingSpanEventListener(TracingPlugin tracingPlugin)
focal_class.class_method_signature: TagExcludingSpanEventListener.onSetTag(String key, Number value)
focal_class.full_signature: @Override public Number onSetTag(String key, Number value)
focal_class.identifier: onSetTag
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Number value)
focal_class.return: Number
focal_class.signature: Number onSetTag(String key, Number value)
focal_class.class_method_signature: TagExcludingSpanEventListener.onSetTag(String key, String value)
focal_class.full_signature: @Override public String onSetTag(String key, String value)
focal_class.identifier: onSetTag
focal_class.modifiers: @Override public
focal_class.parameters: (String key, String value)
focal_class.return: String
focal_class.signature: String onSetTag(String key, String value)
focal_class.superclass: extends StatelessSpanEventListener
focal_method.body: @Override
  	public Number onSetTag(String key, Number value) {
  		if (tracingPlugin.getExcludedTags().contains(key)) {
  			return null;
  		} else {
  			return value;
  		}
  	}
focal_method.class_method_signature: TagExcludingSpanEventListener.onSetTag(String key, Number value)
focal_method.full_signature: @Override public Number onSetTag(String key, Number value)
focal_method.identifier: onSetTag
focal_method.invocations: contains getExcludedTags
focal_method.modifiers: @Override public
focal_method.parameters: (String key, Number value)
focal_method.return: Number
focal_method.signature: Number onSetTag(String key, Number value)