private List<VariableScope> getLocalScopes() {
    if (localScopes == null) {
      localScopes = new ArrayList<>();
    }
    return localScopes;
  }
Like RECORDER_SIGNATURE, but for a method that extracts all of the information dynamically from
a class.
src/main/java/com/google/monitoring/runtime/instrumentation/AllocationMethodAdapter.java