示例
public class
ClassA {
static final void
testMethod () {
}
}
解决方案
从方法声明中除去
final
。
public class
ClassA {
static void
testMethod () {
}
}