@Override
 public synchronized void init(ProcessingEnvironment processingEnv) {
   super.init(processingEnv);
   annoFactory = new AnnotationFactory(this.env);
   READONLY = annoFactory.fromName(ReadOnly.class.getCanonicalName());
   MUTABLE = annoFactory.fromName(Mutable.class.getCanonicalName());
   IMMUTABLE = annoFactory.fromName(Immutable.class.getCanonicalName());
   I = annoFactory.fromName(I.class.getCanonicalName());
   ASSIGNS_FIELDS = annoFactory.fromName(AssignsFields.class.getCanonicalName());
   ASSIGNABLE = annoFactory.fromName(Assignable.class.getCanonicalName());
   PLACE_HOLDER = annoFactory.fromName(IGJPlaceHolder.class.getCanonicalName());
 }
Exemplo n.º 2
0
  @Override
  public void initChecker() {
    super.initChecker();

    KEYFOR = AnnotationUtils.fromClass(processingEnv.getElementUtils(), KeyFor.class);
  }