javaparser-symbol-solver-testing/src/test/resources/issue1574/ClassWithOrphanComments.java
raw| 1 | package japa.parser.comments; |
| 2 | |
| 3 | /**Javadoc associated with the class*/ |
| 4 | public class ClassWithOrphanComments { |
| 5 | //a first comment floating in the class |
| 6 | |
| 7 | //comment associated to the method |
| 8 | void foo(){ |
| 9 | /*comment floating inside the method*/ |
| 10 | } |
| 11 | |
| 12 | //a second comment floating in the class |
| 13 | } |
| 14 | |
| 15 | //Orphan comment inside the CompilationUnit |