public static MethodTree lookupTree()

in dataenum-processor/src/main/java/com/spotify/dataenum/processor/generator/method/MethodMethods.java [80:89]


    public static MethodTree lookupTree(ExecutableElement methodElement, Trees trees) {
      assert methodElement.getKind() == ElementKind.METHOD;

      AtomicReference<MethodTree> methodRef = new AtomicReference<>();
      new MethodLookup(methodRef::set).scan(trees.getPath(methodElement), null);
      MethodTree method = methodRef.get();
      assert method != null;

      return method;
    }