void () { final GoogleCodeStyleDocString docString = findAndParseGoogleStyleDocString(); assertSize(1, docString.getSections()); final Section paramSection = docString.getSections().get(0); assertEquals("parameters", paramSection.getNormalizedTitle()); assertSize(1, paramSection.getFields()); final SectionField param1 = paramSection.getFields().get(0); assertEquals("x", param1.getName()); assertEmpty(param1.getDescription()); assertEmpty(param1.getType()); assertNotNull(param1.getTypeAsSubstring()); assertEquals(26, param1.getTypeAsSubstring().getStartOffset()); assertEquals(26, param1.getTypeAsSubstring().getEndOffset()); }