@Override public synchronized void init(ProcessingEnvironment env) { super.init(env); this.typeUtils = new TypeUtils(env); this.metadataStore = new MetadataStore(env); this.metadataCollector = new MetadataCollector(env, this.metadataStore.readMetadata()); try { this.fieldValuesParser = new JavaCompilerFieldValuesParser(env); } catch (Throwable ex) { this.fieldValuesParser = FieldValuesParser.NONE; logWarning("Field value processing of @ConfigurationProperty meta-data is " + "not supported"); } }
@Override protected FieldValuesParser createProcessor(ProcessingEnvironment env) { try { return new JavaCompilerFieldValuesParser(env); } catch (Throwable ex) { assumeNoException(ex); throw new IllegalStateException(); } }