/*
file header comment
*/
package test;
/*
outer class comment
*/
//outer class
//consequent EOL comments
import java.util.List;
/*
outer class comment
*/
//outer class
//consequent EOL comments
/*
before class comment
*/
class Test {
/*
dangling multiline commnent
*/
/*
field comment
*/
int field;
/*
method comment
*/
void foo() {
/*
method var comment
*/
final int i = 42;
}
/*
inner class comment
*/
class Inner {
/*
inner class method comment
*/
void foo() {
class MethodInner {
/*
method inside class declared in method comment
*/
void foo() {
}
}
}
}
}
/*
after class comment
*/
// after class
//consequent EOL comments