模块 java.compiler

类 SimpleAnnotationValueVisitor8<R,P>

类型参数:
R - 此访问者方法的返回类型
P - 此访问者方法的附加参数的类型。
所有已实现的接口:
AnnotationValueVisitor<R,P>
已知子类:
SimpleAnnotationValueVisitor9

@SupportedSourceVersion (RELEASE_8 ) public class SimpleAnnotationValueVisitor8<R,P> extends SimpleAnnotationValueVisitor7 <R,P>
具有适用于 RELEASE_8 源版本的默认行为的注解值的简单访问者。访问方法调用 defaultAction 将其参数传递给 defaultAction 的相应参数。
API 注意:
此类中的方法可能会根据其一般约定被重写。
自从:
1.8
参见:
  • 构造方法详细信息

    • SimpleAnnotationValueVisitor8

      protected SimpleAnnotationValueVisitor8()
      具体子类的构造函数;使用 null 作为默认值。
    • SimpleAnnotationValueVisitor8

      protected SimpleAnnotationValueVisitor8(R  defaultValue)
      具体子类的构造方法;使用参数作为默认值。
      参数:
      defaultValue - 分配给 SimpleAnnotationValueVisitor6.DEFAULT_VALUE 的值