void () { final GoogleCodeStyleDocString docString = findAndParseGoogleStyleDocString(); assertSize(1, docString.getSections()); final Section returnSection = docString.getSections().get(0); assertEquals("returns", returnSection.getNormalizedTitle()); assertSize(1, returnSection.getFields()); final SectionField return1 = returnSection.getFields().get(0); assertEmpty(return1.getName()); assertEmpty(return1.getDescription()); assertEquals("object", return1.getType()); assertNotNull(return1.getTypeAsSubstring()); assertEquals(20, return1.getTypeAsSubstring().getStartOffset()); assertEquals(26, return1.getTypeAsSubstring().getEndOffset()); }