private static IrDocBasicType fetchBasicType(JavadocTokenStream stream) {
JavadocToken token = stream.peek();
if (token.getKind() == JavadocTokenKind.IDENTIFIER) {
if (BASIC_TYPE_NAMES.containsKey(token.getText())) {
stream.nextToken();
IrBasicTypeKind k = BASIC_TYPE_NAMES.get(token.getText());
IrDocBasicType elem = new IrDocBasicType(k);
setLocation(elem, token, token);
return elem;
}
}