{"action":"opened","issue":{"url":"https://api.github.com/repos/cobertura/cobertura/issues/219","labels_url":"https://api.github.com/repos/cobertura/cobertura/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/cobertura/cobertura/issues/219/comments","events_url":"https://api.github.com/repos/cobertura/cobertura/issues/219/events","html_url":"https://github.com/cobertura/cobertura/issues/219","id":54171152,"number":219,"title":"ParseException Encountered \" \")\" \") \"\"","user":{"login":"GerardPaligot","id":1913901,"avatar_url":"https://avatars.githubusercontent.com/u/1913901?v=3","gravatar_id":"","url":"https://api.github.com/users/GerardPaligot","html_url":"https://github.com/GerardPaligot","followers_url":"https://api.github.com/users/GerardPaligot/followers","following_url":"https://api.github.com/users/GerardPaligot/following{/other_user}","gists_url":"https://api.github.com/users/GerardPaligot/gists{/gist_id}","starred_url":"https://api.github.com/users/GerardPaligot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GerardPaligot/subscriptions","organizations_url":"https://api.github.com/users/GerardPaligot/orgs","repos_url":"https://api.github.com/users/GerardPaligot/repos","events_url":"https://api.github.com/users/GerardPaligot/events{/privacy}","received_events_url":"https://api.github.com/users/GerardPaligot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-13T10:04:06Z","updated_at":"2015-01-13T10:04:06Z","closed_at":null,"body":"Hi all,\r\n\r\nI would like to add coveralls on the java open source project, [Spoon](https://github.com/INRIA/spoon). I added coveralls and cobertura plugins in the pom.xml of the project but when I execute cobertura plugin, I get a `ParseException`:\r\n\r\n```console\r\n[cobertura] WARN  [main] net.sourceforge.cobertura.reporting.ComplexityCalculator - JavaNCSS got an error while parsing the java file /Users/gerard/Documents/workspace/spoon/src/main/java/spoon/support/reflect/reference/CtTypeReferenceImpl.java\r\nParseException in STDIN\r\nLast useful checkpoint: \"spoon.support.reflect.reference.CtTypeReferenceImpl.getActualClass()\"\r\nEncountered \" \")\" \") \"\" at line 111, column 49.\r\nWas expecting one of:\r\n    \"assert\" ...\r\n    \"boolean\" ...\r\n    \"byte\" ...\r\n    \"char\" ...\r\n    \"double\" ...\r\n    \"enum\" ...\r\n    \"false\" ...\r\n    \"float\" ...\r\n    \"int\" ...\r\n    \"long\" ...\r\n    \"new\" ...\r\n    \"null\" ...\r\n    \"short\" ...\r\n    \"super\" ...\r\n    \"this\" ...\r\n    \"true\" ...\r\n    \"void\" ...\r\n    <INTEGER_LITERAL> ...\r\n    <FLOATING_POINT_LITERAL> ...\r\n    <CHARACTER_LITERAL> ...\r\n    <STRING_LITERAL> ...\r\n    <IDENTIFIER> ...\r\n    \"(\" ...\r\n    \"!\" ...\r\n    \"~\" ...\r\n    \"++\" ...\r\n    \"--\" ...\r\n    \"+\" ...\r\n    \"-\" ...\r\n```\r\n\r\nThe line 111 in `CtTypeReferenceImpl.getActualClass()` correspond at  `return (Class<T>) boolean.class;`in the code below.\r\n\r\n```java\r\n@SuppressWarnings(\"unchecked\")\r\npublic Class<T> getActualClass() {\r\n\tif (isPrimitive()) {\r\n\t\tString simpleN = getSimpleName();\r\n\t\tif (simpleN.equals(\"boolean\")) {\r\n\t\t\treturn (Class<T>) boolean.class;\r\n\t\t} else if (simpleN.equals(\"byte\")) {\r\n\t\t\treturn (Class<T>) byte.class;\r\n\t\t} else if (simpleN.equals(\"double\")) {\r\n\t\t\treturn (Class<T>) double.class;\r\n\t\t} else if (simpleN.equals(\"int\")) {\r\n\t\t\treturn (Class<T>) int.class;\r\n\t\t} else if (simpleN.equals(\"short\")) {\r\n\t\t\treturn (Class<T>) short.class;\r\n\t\t} else if (simpleN.equals(\"char\")) {\r\n\t\t\treturn (Class<T>) char.class;\r\n\t\t} else if (simpleN.equals(\"long\")) {\r\n\t\t\treturn (Class<T>) long.class;\r\n\t\t} else if (simpleN.equals(\"float\")) {\r\n\t\t\treturn (Class<T>) float.class;\r\n\t\t} else if (simpleN.equals(\"void\")) {\r\n\t\t\treturn (Class<T>) void.class;\r\n\t\t}\r\n\t}\r\n\treturn findClass();\r\n}\r\n```\r\n\r\nIs this a bug or I made something wrong?\r\n\r\nThanks in advance for your help!"}}