mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
35 lines
699 B
Java
35 lines
699 B
Java
package sample;
|
|
|
|
public class InnerClassEnabled {
|
|
|
|
public int x = 42;
|
|
private int y = 42;
|
|
|
|
public int getX(){
|
|
return x;
|
|
}
|
|
|
|
public void test1(int param) {
|
|
}
|
|
|
|
protected String test2(int param) {
|
|
return "42";
|
|
}
|
|
|
|
@Deprecated
|
|
public String test3(int param) {
|
|
return "42";
|
|
}
|
|
|
|
public static class <warning descr="Required Javadoc is absent">Inner1</warning> {
|
|
}
|
|
|
|
private static class Inner2 {
|
|
}
|
|
|
|
<warning descr="Required tag '@param' is missing for parameter 'x'"><warning descr="Required tag '@param' is missing for parameter 'y'">/**</warning></warning>
|
|
* You have a point.
|
|
*/
|
|
public record Point(int x, int y) {}
|
|
}
|