Module java.compiler

Class SimpleAnnotationValueVisitor9<R,P>

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

@SupportedSourceVersion(RELEASE_14) public class SimpleAnnotationValueVisitor9<R,P> extends SimpleAnnotationValueVisitor8<R,P>
一个简单的注解值访问者,适用于源版本RELEASE_9RELEASE_14的默认行为。访问方法调用defaultAction,将它们的参数传递给defaultAction的相应参数。
API 注意:
可以重写此类中的方法,但需遵守其一般契约。
自版本:
9
参见:
  • Constructor Details

    • SimpleAnnotationValueVisitor9

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

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