code: public static MethodIntrospector instance(ProcessingEnvironment env) {
      try {
        try {
          return JavacMethodIntrospector.instance(env);
        } catch (LinkageError e) {
          return (MethodIntrospector) IntrospectorClassLoader
              .create(MethodIntrospector.class, env)
              .loadClass(JAVAC_METHOD_INTROSPECTOR)
              .getMethod("instance", ProcessingEnvironment.class)
              .invoke(null, env);
        }
      } catch (Exception | LinkageError e) {
        return new NoMethodIntrospector();
      }
    }
docs: Returns a {@link MethodIntrospector} implementation for the given environment.