this を返している、またはパラメーターとして受け取っているメソッドを持つ EJB クラスを報告します。

例:


@Stateless
public class ExampleBean {
  private AnotherBean anotherBean;

  public ExampleBean setAnotherBean(AnotherBean anotherBean) {
    this.anotherBean = anotherBean;
    return this; // エラー: ここでは `this` を返すべきではありません
  }
}