Excellent, thanks. BTW, I found a bug. Your example does not work when there is an underscore in the package name/path. In that case you get an exception like this one:
Exception in thread "main" com.esotericsoftware.yamlbeans.YamlException: Error tokenizing YAML.
at com.esotericsoftware.yamlbeans.YamlReader.read(YamlReader.java:107)
at com.esotericsoftware.yamlbeans.YamlReader.read(YamlReader.java:90)
at com.carbonblack.cbprove.tools.bobobob_bobobob.Application.main(Application.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: com.esotericsoftware.yamlbeans.tokenizer.Tokenizer$TokenizerException: Line 0, column 38: While scanning a tag, expected ' ' but found: '_' (95)
at com.esotericsoftware.yamlbeans.tokenizer.Tokenizer.scanTag(Tokenizer.java:703)
at com.esotericsoftware.yamlbeans.tokenizer.Tokenizer.fetchTag(Tokenizer.java:484)
at com.esotericsoftware.yamlbeans.tokenizer.Tokenizer.fetchMoreTokens(Tokenizer.java:304)
at com.esotericsoftware.yamlbeans.tokenizer.Tokenizer.peekNextToken(Tokenizer.java:120)
at com.esotericsoftware.yamlbeans.tokenizer.Tokenizer.peekNextTokenType(Tokenizer.java:125)
at com.esotericsoftware.yamlbeans.parser.Parser$4.produce(Parser.java:131)
at com.esotericsoftware.yamlbeans.parser.Parser.getNextEvent(Parser.java:80)
at com.esotericsoftware.yamlbeans.YamlReader.read(YamlReader.java:98)
... 7 more