use of com.instagram.common.json.annotation.util.TypeUtils in project ig-json-parser by Instagram.
the class JsonAnnotationProcessor method init.
@Override
public synchronized void init(ProcessingEnvironment env) {
super.init(env);
mMessager = env.getMessager();
mElements = env.getElementUtils();
mTypes = env.getTypeUtils();
mFiler = env.getFiler();
mTypeUtils = new TypeUtils(mTypes, mMessager);
Map<String, String> options = env.getOptions();
mGenerateSerializers = toBooleanDefaultTrue(options.get("generateSerializers"));
mOmitSomeMethodBodies = toBooleanDefaultFalse(options.get("com.facebook.buck.java.generating_abi"));
}
Aggregations