Module java.compiler

Class SimpleTypeVisitor7<R,P>

类型参数:
R - 此访问者方法的返回类型。对于不需要返回结果的访问者,请使用Void
P - 此访问者方法的附加参数的类型。对于不需要附加参数的访问者,请使用Void
所有已实现的接口:
TypeVisitor<R,P>
直接已知的子类:
SimpleTypeVisitor8

@SupportedSourceVersion(RELEASE_7) public class SimpleTypeVisitor7<R,P> extends SimpleTypeVisitor6<R,P>
适用于RELEASE_7源版本的默认行为的类型简单访问者。访问与RELEASE_7和更早语言结构对应的方法调用defaultAction,将它们的参数传递给defaultAction的相应参数。
API 注意:
此类中的方法可以根据其一般约定进行重写。
自版本:
1.7
参见:
  • Constructor Details

    • SimpleTypeVisitor7

      @Deprecated(since="12") protected SimpleTypeVisitor7()
      Deprecated.
      Release 7 is obsolete; update to a visitor for a newer release level.
      具体子类的构造函数;使用null作为默认值。
    • SimpleTypeVisitor7

      @Deprecated(since="12") protected SimpleTypeVisitor7(R defaultValue)
      Deprecated.
      Release 7 is obsolete; update to a visitor for a newer release level.
      具体子类的构造函数;使用参数作为默认值。
      参数:
      defaultValue - 赋给SimpleTypeVisitor6.DEFAULT_VALUE的值
  • Method Details