From 79875d1498f3a47b700bccaf4d4b474557a09758 Mon Sep 17 00:00:00 2001 From: Nicolas Guichard Date: Wed, 10 Jan 2024 16:39:35 +0100 Subject: [PATCH] semanticdb-javac: set kind to Variable for local variables --- .../semanticdb_javac/SemanticdbVisitor.java | 4 +++ .../com/airbnb/epoxy/AsyncEpoxyDiffer.java | 10 ++++++ .../com/airbnb/epoxy/BaseEpoxyAdapter.java | 8 +++++ .../generated/com/airbnb/epoxy/Carousel.java | 17 ++++++++++ .../com/airbnb/epoxy/ControllerHelper.java | 3 ++ .../airbnb/epoxy/ControllerHelperLookup.java | 5 +++ .../com/airbnb/epoxy/DebugTimer.java | 1 + .../com/airbnb/epoxy/DiffHelper.java | 31 +++++++++++++++++++ .../com/airbnb/epoxy/DiffPayload.java | 12 +++++++ .../com/airbnb/epoxy/EpoxyAdapter.java | 16 ++++++++++ .../com/airbnb/epoxy/EpoxyAsyncUtil.java | 1 + .../com/airbnb/epoxy/EpoxyController.java | 20 ++++++++++++ .../airbnb/epoxy/EpoxyControllerAdapter.java | 12 +++++++ .../epoxy/EpoxyItemSpacingDecorator.java | 21 +++++++++++++ .../com/airbnb/epoxy/EpoxyModel.java | 8 +++++ .../com/airbnb/epoxy/EpoxyModelGroup.java | 8 +++++ .../airbnb/epoxy/EpoxyModelTouchCallback.java | 13 ++++++++ .../com/airbnb/epoxy/EpoxyTouchHelper.java | 6 ++++ .../generated/com/airbnb/epoxy/IdUtils.java | 3 ++ .../com/airbnb/epoxy/ListenersUtils.java | 3 ++ .../generated/com/airbnb/epoxy/ModelList.java | 13 ++++++++ .../com/airbnb/epoxy/ModelState.java | 1 + .../epoxy/QuantityStringResAttribute.java | 2 ++ .../com/airbnb/epoxy/SimpleEpoxyModel.java | 2 ++ .../com/airbnb/epoxy/StringAttributeData.java | 2 ++ .../generated/com/airbnb/epoxy/UpdateOp.java | 1 + .../com/airbnb/epoxy/UpdateOpHelper.java | 3 ++ .../com/airbnb/epoxy/ViewHolderState.java | 12 +++++++ .../com/airbnb/epoxy/ViewTypeManager.java | 5 +++ ...rappedEpoxyModelCheckedChangeListener.java | 3 ++ .../main/java/minimized/AnonymousClasses.java | 1 + .../src/main/java/minimized/Arrays.java | 4 +++ .../src/main/java/minimized/Enums.java | 1 + .../src/main/java/minimized/Fields.java | 3 ++ .../java/minimized/ForComprehensions.java | 3 ++ .../src/main/java/minimized/InnerClasses.java | 4 +++ .../src/main/java/minimized/Methods.java | 5 +++ .../src/main/java/minimized/Primitives.java | 9 ++++++ .../src/main/java/minimized/SubClasses.java | 1 + .../src/main/java/minimized/TabIndented.java | 1 + 40 files changed, 278 insertions(+) diff --git a/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbVisitor.java b/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbVisitor.java index 4de9daf5..cebd32f9 100644 --- a/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbVisitor.java +++ b/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbVisitor.java @@ -177,6 +177,10 @@ private void emitSymbolInformation(Element sym, Tree tree) { .collect(Collectors.joining(", ")); if (!args.isEmpty()) builder.setDisplayName(sym.getSimpleName().toString() + "(" + args + ")"); + break; + case LOCAL_VARIABLE: + builder.setKind(Kind.LOCAL); + break; } Semanticdb.SymbolInformation info = builder.build(); diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyDiffer.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyDiffer.java index 44351705..bc84590f 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyDiffer.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyDiffer.java @@ -261,12 +261,14 @@ public synchronized boolean forceListOverride(@Nullable List> newL // display_name interruptedDiff // signature_documentation java final boolean interruptedDiff // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#forceListOverride(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#cancelDiff(). int generation = generationTracker.incrementAndGetNextScheduled(); // ^^^^^^^^^^ definition local 6 // display_name generation // signature_documentation java int generation // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#forceListOverride(). +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#generationTracker. // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#incrementAndGetNextScheduled(). tryLatchList(newList, generation); @@ -309,6 +311,7 @@ public void submitList(@Nullable final List> newList) { // display_name runGeneration // signature_documentation java final int runGeneration // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#submitList(). +// kind Variable @Nullable final List> previousList; // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^ reference semanticdb maven jdk 11 java/util/List# @@ -317,6 +320,7 @@ public void submitList(@Nullable final List> newList) { // display_name previousList // signature_documentation java @Nullable\nfinal List> previousList // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#submitList(). +// kind Variable synchronized (this) { // Incrementing generation means any currently-running diffs are discarded when they finish @@ -355,6 +359,7 @@ public void submitList(@Nullable final List> newList) { // display_name result // signature_documentation java DiffResult result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#submitList(). +// kind Variable if (previousList != null && !previousList.isEmpty()) { // ^^^^^^^^^^^^ reference local 9 // ^^^^^^^^^^^^ reference local 9 @@ -393,6 +398,7 @@ public void submitList(@Nullable final List> newList) { // display_name wrappedCallback // signature_documentation java final DiffCallback wrappedCallback // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#submitList(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#``(). // ^^^^^^^^^^^^ reference local 9 // ^^^^^^^ reference local 7 @@ -418,6 +424,7 @@ public void run() { // display_name result // signature_documentation java unresolved_type result // enclosing_symbol local 13 +// kind Variable // ^^^^^^^^ reference semanticdb maven . . DiffUtil# // ^^^^^^^^^^^^^ reference semanticdb maven . . DiffUtil#calculateDiff# // ^^^^^^^^^^^^^^^ reference local 11 @@ -482,6 +489,7 @@ public void run() { // display_name dispatchResult // signature_documentation java final boolean dispatchResult // enclosing_symbol local 19 +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#tryLatchList(). // ^^^^^^^ reference local 16 // ^^^^^^^^^^^^^ reference local 15 @@ -604,6 +612,7 @@ synchronized boolean finishMaxGeneration() { // display_name isInterrupting // signature_documentation java boolean isInterrupting // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#finishMaxGeneration(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#hasUnfinishedGeneration(). maxFinishedGeneration = maxScheduledGeneration; // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#maxFinishedGeneration. @@ -636,6 +645,7 @@ synchronized boolean finishGeneration(int runGeneration) { // display_name isLatestGeneration // signature_documentation java boolean isLatestGeneration // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#finishGeneration(). +// kind Variable maxScheduledGeneration == runGeneration && runGeneration > maxFinishedGeneration; // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#maxScheduledGeneration. // ^^^^^^^^^^^^^ reference local 24 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyAdapter.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyAdapter.java index b515a2cd..ba15453f 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyAdapter.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyAdapter.java @@ -270,6 +270,7 @@ public EpoxyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onCreateViewHolder(). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#viewTypeManager. // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getModelForViewType(). // ^^^^^^^^ reference local 4 @@ -279,6 +280,7 @@ public EpoxyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { // display_name view // signature_documentation java unresolved_type view // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onCreateViewHolder(). +// kind Variable // ^^^^^ reference local 5 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#buildView(). // ^^^^^^ reference local 3 @@ -342,6 +344,7 @@ public void onBindViewHolder(EpoxyViewHolder holder, int position, List // display_name modelToShow // signature_documentation java EpoxyModel modelToShow // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(+1). +// kind Variable // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelForPosition(). // ^^^^^^^^ reference local 10 @@ -351,6 +354,7 @@ public void onBindViewHolder(EpoxyViewHolder holder, int position, List // display_name previouslyBoundModel // signature_documentation java EpoxyModel previouslyBoundModel // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(+1). +// kind Variable if (diffPayloadsEnabled()) { // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#diffPayloadsEnabled(). previouslyBoundModel = DiffPayload.getModelFromPayload(payloads, getItemId(position)); @@ -576,6 +580,7 @@ public void onViewRecycled(EpoxyViewHolder holder) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewRecycled(). +// kind Variable // ^^^^^^ reference local 26 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). holder.unbind(); @@ -728,6 +733,7 @@ public void onSaveInstanceState(Bundle outState) { // display_name holder // signature_documentation java EpoxyViewHolder holder // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onSaveInstanceState(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#boundViewHolders. viewHolderState.save(holder); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#viewHolderState. @@ -813,6 +819,7 @@ protected int getModelPosition(EpoxyModel model) { // display_name size // signature_documentation java int size // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). for (int i = 0; i < size; i++) { @@ -820,6 +827,7 @@ protected int getModelPosition(EpoxyModel model) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). +// kind Variable // ^ reference local 39 // ^^^^ reference local 38 // ^ reference local 39 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Carousel.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Carousel.java index 5cec7e99..29e50b14 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Carousel.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Carousel.java @@ -247,6 +247,7 @@ protected void init() { // display_name defaultSpacingDp // signature_documentation java int defaultSpacingDp // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#init(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getDefaultSpacingBetweenItemsDp(). if (defaultSpacingDp >= 0) { @@ -276,6 +277,7 @@ && getPaddingBottom() == 0) { // display_name snapHelperFactory // signature_documentation java SnapHelperFactory snapHelperFactory // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#init(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getSnapHelperFactory(). if (snapHelperFactory != null) { // ^^^^^^^^^^^^^^^^^ reference local 10 @@ -439,6 +441,7 @@ public void setInitialPrefetchItemCount(int numItemsToPrefetch) { // display_name prefetchCount // signature_documentation java int prefetchCount // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setInitialPrefetchItemCount(). +// kind Variable // ^^^^^^^^^^^^^^^^^^ reference local 14 // ^^^^^^^^^^^^^^^^^^ reference local 14 @@ -448,6 +451,7 @@ public void setInitialPrefetchItemCount(int numItemsToPrefetch) { // display_name layoutManager // signature_documentation java unresolved_type layoutManager // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setInitialPrefetchItemCount(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getLayoutManager# if (layoutManager instanceof LinearLayoutManager) { // ^^^^^^^^^^^^^ reference local 16 @@ -481,6 +485,7 @@ public void onChildAttachedToWindow(View child) { // display_name childLayoutParams // signature_documentation java unresolved_type childLayoutParams // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). +// kind Variable // ^^^^^ reference local 17 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . View#getLayoutParams# child.setTag(R.id.epoxy_recycler_view_child_initial_size_id, childLayoutParams.width); @@ -497,6 +502,7 @@ public void onChildAttachedToWindow(View child) { // display_name itemSpacingPx // signature_documentation java int itemSpacingPx // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getSpacingDecorator# // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getSpacingDecorator#getPxBetweenItems# int spaceBetweenItems = 0; @@ -504,6 +510,7 @@ public void onChildAttachedToWindow(View child) { // display_name spaceBetweenItems // signature_documentation java int spaceBetweenItems // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). +// kind Variable if (itemSpacingPx > 0) { // ^^^^^^^^^^^^^ reference local 19 // The item decoration space is not counted in the width of the view @@ -518,6 +525,7 @@ public void onChildAttachedToWindow(View child) { // display_name isScrollingHorizontally // signature_documentation java boolean isScrollingHorizontally // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getLayoutManager# // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getLayoutManager#canScrollHorizontally# int itemSizeInScrollingDirection = @@ -525,6 +533,7 @@ public void onChildAttachedToWindow(View child) { // display_name itemSizeInScrollingDirection // signature_documentation java int itemSizeInScrollingDirection // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). +// kind Variable (int) ((getSpaceForChildren(isScrollingHorizontally) - spaceBetweenItems) // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getSpaceForChildren(). @@ -618,6 +627,7 @@ private static int getTotalWidthPx(View view) { // display_name metrics // signature_documentation java unresolved_type metrics // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#getTotalWidthPx(). +// kind Variable // ^^^^ reference local 24 // ^^^^^^^^^^ reference semanticdb maven . . View#getContext# // ^^^^^^^^^^^^ reference semanticdb maven . . View#getContext#getResources# @@ -662,6 +672,7 @@ private static int getTotalHeightPx(View view) { // display_name metrics // signature_documentation java unresolved_type metrics // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#getTotalHeightPx(). +// kind Variable // ^^^^ reference local 26 // ^^^^^^^^^^ reference semanticdb maven . . View#getContext# // ^^^^^^^^^^^^ reference semanticdb maven . . View#getContext#getResources# @@ -690,6 +701,7 @@ public void onChildDetachedFromWindow(View child) { // display_name initialWidth // signature_documentation java Object initialWidth // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildDetachedFromWindow(). +// kind Variable // ^^^^^ reference local 28 // ^^^^^^ reference semanticdb maven . . View#getTag# // ^ reference semanticdb maven . . R/ @@ -706,6 +718,7 @@ public void onChildDetachedFromWindow(View child) { // display_name params // signature_documentation java unresolved_type params // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildDetachedFromWindow(). +// kind Variable // ^^^^^ reference local 28 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . View#getLayoutParams# params.width = (int) initialWidth; @@ -789,6 +802,7 @@ public void setPaddingRes(@DimenRes int paddingRes) { // display_name px // signature_documentation java int px // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setPaddingRes(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#resToPx# // ^^^^^^^^^^ reference local 32 setPadding(px, px, px, px); @@ -831,6 +845,7 @@ public void setPaddingDp(@Dimension(unit = Dimension.DP) int paddingDp) { // display_name px // signature_documentation java int px // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setPaddingDp(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#dpToPx# // ^^^^^^^^^ reference local 34 // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#NO_VALUE_SET. @@ -1401,6 +1416,7 @@ public boolean equals(Object o) { // display_name padding // signature_documentation java Padding padding // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#equals(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding# // ^ reference local 64 @@ -1447,6 +1463,7 @@ public int hashCode() { // display_name result // signature_documentation java int result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#hashCode(). +// kind Variable // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#left. result = 31 * result + top; // ^^^^^^ reference local 66 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelper.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelper.java index eda8ba18..b82bb679 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelper.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelper.java @@ -49,6 +49,7 @@ protected void validateModelHashCodesHaveNotChanged(T controller) { // display_name currentModels // signature_documentation java List> currentModels // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelper#validateModelHashCodesHaveNotChanged(). +// kind Variable // ^^^^^^^^^^ reference local 0 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#getAdapter(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCopyOfModels(). @@ -58,6 +59,7 @@ protected void validateModelHashCodesHaveNotChanged(T controller) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelper#validateModelHashCodesHaveNotChanged(). +// kind Variable // ^ reference local 2 // ^^^^^^^^^^^^^ reference local 1 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -68,6 +70,7 @@ protected void validateModelHashCodesHaveNotChanged(T controller) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelper#validateModelHashCodesHaveNotChanged(). +// kind Variable // ^^^^^^^^^^^^^ reference local 1 // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^ reference local 2 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelperLookup.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelperLookup.java index 85e4cb39..143962a7 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelperLookup.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelperLookup.java @@ -79,6 +79,7 @@ static ControllerHelper getHelperForController(EpoxyController controller) { // display_name constructor // signature_documentation java Constructor constructor // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#getHelperForController(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). // ^^^^^^^^^^ reference local 0 // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Object#getClass(). @@ -126,6 +127,7 @@ static ControllerHelper getHelperForController(EpoxyController controller) { // display_name cause // signature_documentation java Throwable cause // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#getHelperForController(). +// kind Variable // ^ reference local 4 // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/InvocationTargetException#getCause(). if (cause instanceof RuntimeException) { @@ -167,6 +169,7 @@ private static Constructor findConstructorForClass(Class controllerClass) // display_name helperCtor // signature_documentation java Constructor helperCtor // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#BINDINGS. // ^^^ reference semanticdb maven jdk 11 java/util/Map#get(). // ^^^^^^^^^^^^^^^ reference local 6 @@ -185,6 +188,7 @@ private static Constructor findConstructorForClass(Class controllerClass) // display_name clsName // signature_documentation java String clsName // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). +// kind Variable // ^^^^^^^^^^^^^^^ reference local 6 // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Class#getName(). if (clsName.startsWith("android.") || clsName.startsWith("java.")) { @@ -202,6 +206,7 @@ private static Constructor findConstructorForClass(Class controllerClass) // display_name bindingClass // signature_documentation java Class bindingClass // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). +// kind Variable // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Class#forName(). // ^^^^^^^ reference local 8 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DebugTimer.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DebugTimer.java index 44e71d40..bff53dc0 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DebugTimer.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DebugTimer.java @@ -106,6 +106,7 @@ public void stop() { // display_name durationMs // signature_documentation java float durationMs // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DebugTimer#stop(). +// kind Variable // ^^^^^^ reference semanticdb maven jdk 11 java/lang/System# // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/System#nanoTime(). // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DebugTimer#startTime. diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffHelper.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffHelper.java index ec922cdd..b1b588af 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffHelper.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffHelper.java @@ -233,6 +233,7 @@ void notifyModelChanges() { // display_name updateOpHelper // signature_documentation java UpdateOpHelper updateOpHelper // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#notifyModelChanges(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#``(). buildDiff(updateOpHelper); @@ -270,6 +271,7 @@ private void notifyChanges(UpdateOpHelper opHelper) { // display_name op // signature_documentation java UpdateOp op // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#notifyChanges(). +// kind Variable // ^^^^^^^^ reference local 3 // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#opList. switch (op.type) { @@ -379,6 +381,7 @@ private UpdateOpHelper buildDiff(UpdateOpHelper updateOpHelper) { // display_name hasInsertions // signature_documentation java boolean hasInsertions // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#buildDiff(). +// kind Variable oldStateList.size() - updateOpHelper.getNumRemovals() != currentStateList.size(); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. // ^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#size(). @@ -443,6 +446,7 @@ private void prepareStateForDiff() { // display_name tempList // signature_documentation java ArrayList tempList // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. oldStateList = currentStateList; // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. @@ -459,6 +463,7 @@ private void prepareStateForDiff() { // display_name tempMap // signature_documentation java Map tempMap // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateMap. oldStateMap = currentStateMap; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateMap. @@ -475,6 +480,7 @@ private void prepareStateForDiff() { // display_name modelState // signature_documentation java ModelState modelState // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. modelState.pair = null; // ^^^^^^^^^^ reference local 9 @@ -486,6 +492,7 @@ private void prepareStateForDiff() { // display_name modelCount // signature_documentation java int modelCount // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#adapter. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -499,6 +506,7 @@ private void prepareStateForDiff() { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). +// kind Variable // ^ reference local 11 // ^^^^^^^^^^ reference local 10 // ^ reference local 11 @@ -526,6 +534,7 @@ private ModelState createStateForPosition(int position) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#adapter. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). @@ -539,6 +548,7 @@ private ModelState createStateForPosition(int position) { // display_name state // signature_documentation java ModelState state // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#build(). // ^^^^^ reference local 13 @@ -551,6 +561,7 @@ private ModelState createStateForPosition(int position) { // display_name previousValue // signature_documentation java ModelState previousValue // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#currentStateMap. // ^^^ reference semanticdb maven jdk 11 java/util/Map#put(). // ^^^^^ reference local 14 @@ -563,6 +574,7 @@ private ModelState createStateForPosition(int position) { // display_name previousPosition // signature_documentation java int previousPosition // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). +// kind Variable // ^^^^^^^^^^^^^ reference local 15 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#position. EpoxyModel previousModel = adapter.getCurrentModels().get(previousPosition); @@ -571,6 +583,7 @@ private ModelState createStateForPosition(int position) { // display_name previousModel // signature_documentation java EpoxyModel previousModel // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#adapter. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). @@ -611,6 +624,7 @@ private void collectRemovals(UpdateOpHelper helper) { // display_name state // signature_documentation java ModelState state // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectRemovals(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. // Update the position of the item to take into account previous removals, // so that future operations will reference the correct position @@ -672,6 +686,7 @@ private void collectInsertions(UpdateOpHelper helper) { // display_name oldItemIterator // signature_documentation java Iterator oldItemIterator // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectInsertions(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#iterator(). @@ -681,6 +696,7 @@ private void collectInsertions(UpdateOpHelper helper) { // display_name itemToInsert // signature_documentation java ModelState itemToInsert // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectInsertions(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#currentStateList. if (itemToInsert.pair != null) { // ^^^^^^^^^^^^ reference local 22 @@ -692,6 +708,7 @@ private void collectInsertions(UpdateOpHelper helper) { // display_name nextOldItem // signature_documentation java ModelState nextOldItem // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectInsertions(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#getNextItemWithPair(). // ^^^^^^^^^^^^^^^ reference local 21 if (nextOldItem != null) { @@ -733,6 +750,7 @@ private void collectChanges(UpdateOpHelper helper) { // display_name newItem // signature_documentation java ModelState newItem // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectChanges(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#currentStateList. ModelState previousItem = newItem.pair; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# @@ -740,6 +758,7 @@ private void collectChanges(UpdateOpHelper helper) { // display_name previousItem // signature_documentation java ModelState previousItem // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectChanges(). +// kind Variable // ^^^^^^^ reference local 25 // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#pair. if (previousItem == null) { @@ -754,6 +773,7 @@ private void collectChanges(UpdateOpHelper helper) { // display_name modelChanged // signature_documentation java boolean modelChanged // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectChanges(). +// kind Variable if (immutableModels) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#immutableModels. // Make sure that the old model hasn't changed, otherwise comparing it with the new one @@ -823,6 +843,7 @@ private void collectMoves(UpdateOpHelper helper) { // display_name oldItemIterator // signature_documentation java Iterator oldItemIterator // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#iterator(). ModelState nextOldItem = null; @@ -831,6 +852,7 @@ private void collectMoves(UpdateOpHelper helper) { // display_name nextOldItem // signature_documentation java ModelState nextOldItem // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). +// kind Variable for (ModelState newItem : currentStateList) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# @@ -838,6 +860,7 @@ private void collectMoves(UpdateOpHelper helper) { // display_name newItem // signature_documentation java ModelState newItem // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#currentStateList. if (newItem.pair == null) { // ^^^^^^^ reference local 31 @@ -929,6 +952,7 @@ private void collectMoves(UpdateOpHelper helper) { // display_name newItemDistance // signature_documentation java int newItemDistance // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). +// kind Variable // ^^^^^^^ reference local 31 // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#pair. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#position. @@ -939,6 +963,7 @@ private void collectMoves(UpdateOpHelper helper) { // display_name oldItemDistance // signature_documentation java int oldItemDistance // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). +// kind Variable // ^^^^^^^^^^^ reference local 30 // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#pair. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#position. @@ -1037,6 +1062,7 @@ private void updateItemPosition(ModelState item, List moveOps) { // display_name size // signature_documentation java int size // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). +// kind Variable // ^^^^^^^ reference local 35 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -1045,6 +1071,7 @@ private void updateItemPosition(ModelState item, List moveOps) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). +// kind Variable // ^^^^ reference local 34 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#lastMoveOp. // ^ reference local 37 @@ -1056,6 +1083,7 @@ private void updateItemPosition(ModelState item, List moveOps) { // display_name moveOp // signature_documentation java UpdateOp moveOp // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). +// kind Variable // ^^^^^^^ reference local 35 // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^ reference local 37 @@ -1064,6 +1092,7 @@ private void updateItemPosition(ModelState item, List moveOps) { // display_name fromPosition // signature_documentation java int fromPosition // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). +// kind Variable // ^^^^^^ reference local 38 // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#positionStart. int toPosition = moveOp.itemCount; @@ -1071,6 +1100,7 @@ private void updateItemPosition(ModelState item, List moveOps) { // display_name toPosition // signature_documentation java int toPosition // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). +// kind Variable // ^^^^^^ reference local 38 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#itemCount. @@ -1127,6 +1157,7 @@ private ModelState getNextItemWithPair(Iterator iterator) { // display_name nextItem // signature_documentation java ModelState nextItem // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#getNextItemWithPair(). +// kind Variable while (nextItem == null && iterator.hasNext()) { // ^^^^^^^^ reference local 42 // ^^^^^^^^ reference local 41 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffPayload.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffPayload.java index e1f3b96d..a429c0a5 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffPayload.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffPayload.java @@ -71,6 +71,7 @@ public class DiffPayload { // display_name modelCount // signature_documentation java int modelCount // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#``(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -96,6 +97,7 @@ public class DiffPayload { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#``(). +// kind Variable // ^^^^^^ reference local 0 modelsById.put(model.id(), model); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. @@ -160,6 +162,7 @@ public static EpoxyModel getModelFromPayload(List payloads, long mode // display_name payload // signature_documentation java Object payload // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#getModelFromPayload(). +// kind Variable // ^^^^^^^^ reference local 4 DiffPayload diffPayload = (DiffPayload) payload; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload# @@ -167,6 +170,7 @@ public static EpoxyModel getModelFromPayload(List payloads, long mode // display_name diffPayload // signature_documentation java DiffPayload diffPayload // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#getModelFromPayload(). +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload# // ^^^^^^^ reference local 6 @@ -189,6 +193,7 @@ public static EpoxyModel getModelFromPayload(List payloads, long mode // display_name modelForId // signature_documentation java EpoxyModel modelForId // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#getModelFromPayload(). +// kind Variable // ^^^^^^^^^^^ reference local 7 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#get(). @@ -229,6 +234,7 @@ boolean equalsForTesting(DiffPayload that) { // display_name thisSize // signature_documentation java int thisSize // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#size(). int thatSize = that.modelsById.size(); @@ -236,6 +242,7 @@ boolean equalsForTesting(DiffPayload that) { // display_name thatSize // signature_documentation java int thatSize // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^ reference local 9 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#size(). @@ -251,6 +258,7 @@ boolean equalsForTesting(DiffPayload that) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^ reference local 12 // ^^^^^^^^ reference local 10 // ^ reference local 12 @@ -259,6 +267,7 @@ boolean equalsForTesting(DiffPayload that) { // display_name thisKey // signature_documentation java long thisKey // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#keyAt(). // ^ reference local 12 @@ -267,6 +276,7 @@ boolean equalsForTesting(DiffPayload that) { // display_name thatKey // signature_documentation java long thatKey // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^ reference local 9 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#keyAt(). @@ -284,6 +294,7 @@ boolean equalsForTesting(DiffPayload that) { // display_name thisModel // signature_documentation java EpoxyModel thisModel // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#valueAt(). // ^ reference local 12 @@ -293,6 +304,7 @@ boolean equalsForTesting(DiffPayload that) { // display_name thatModel // signature_documentation java EpoxyModel thatModel // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^ reference local 9 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#valueAt(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAdapter.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAdapter.java index ef10b276..da163579 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAdapter.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAdapter.java @@ -146,6 +146,7 @@ EpoxyModel getModelForPosition(int position) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getModelForPosition(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^^^^^^^^ reference local 0 @@ -234,6 +235,7 @@ protected void notifyModelChanged(EpoxyModel model, @Nullable Object payload) // display_name index // signature_documentation java int index // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelChanged(+1). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^ reference local 3 if (index != -1) { @@ -264,6 +266,7 @@ protected void addModel(EpoxyModel modelToAdd) { // display_name initialSize // signature_documentation java int initialSize // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModel(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -302,6 +305,7 @@ protected void addModels(EpoxyModel... modelsToAdd) { // display_name initialSize // signature_documentation java int initialSize // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). int numModelsToAdd = modelsToAdd.length; @@ -309,6 +313,7 @@ protected void addModels(EpoxyModel... modelsToAdd) { // display_name numModelsToAdd // signature_documentation java int numModelsToAdd // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(). +// kind Variable // ^^^^^^^^^^^ reference local 8 // ^^^^^^ reference semanticdb maven . . Array#length. @@ -357,6 +362,7 @@ protected void addModels(Collection> modelsToAdd) { // display_name initialSize // signature_documentation java int initialSize // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(+1). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -402,6 +408,7 @@ protected void insertModelBefore(EpoxyModel modelToInsert, EpoxyModel mode // display_name targetIndex // signature_documentation java int targetIndex // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelBefore(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^^^^^^^^^^^^^^^ reference local 14 if (targetIndex == -1) { @@ -452,6 +459,7 @@ protected void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel model // display_name modelIndex // signature_documentation java int modelIndex // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelAfter(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^^^^^^^^^^^^^^ reference local 17 if (modelIndex == -1) { @@ -466,6 +474,7 @@ protected void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel model // display_name targetIndex // signature_documentation java int targetIndex // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelAfter(). +// kind Variable // ^^^^^^^^^^ reference local 18 pauseModelListNotifications(); // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#pauseModelListNotifications(). @@ -503,6 +512,7 @@ protected void removeModel(EpoxyModel model) { // display_name index // signature_documentation java int index // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeModel(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^ reference local 20 if (index != -1) { @@ -537,6 +547,7 @@ protected void removeAllModels() { // display_name numModelsRemoved // signature_documentation java int numModelsRemoved // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllModels(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -577,6 +588,7 @@ protected void removeAllAfterModel(EpoxyModel model) { // display_name modelsToRemove // signature_documentation java List> modelsToRemove // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllAfterModel(). +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getAllModelsAfter(). // ^^^^^ reference local 23 int numModelsRemoved = modelsToRemove.size(); @@ -584,6 +596,7 @@ protected void removeAllAfterModel(EpoxyModel model) { // display_name numModelsRemoved // signature_documentation java int numModelsRemoved // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllAfterModel(). +// kind Variable // ^^^^^^^^^^^^^^ reference local 24 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). int initialModelCount = models.size(); @@ -591,6 +604,7 @@ protected void removeAllAfterModel(EpoxyModel model) { // display_name initialModelCount // signature_documentation java int initialModelCount // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllAfterModel(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -779,6 +793,7 @@ protected void showModels(Iterable> models, boolean show) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+3). +// kind Variable // ^^^^^^ reference local 34 showModel(model, show); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(). @@ -905,6 +920,7 @@ protected List> getAllModelsAfter(EpoxyModel model) { // display_name index // signature_documentation java int index // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getAllModelsAfter(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^ reference local 41 if (index == -1) { diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAsyncUtil.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAsyncUtil.java index 996c8077..dfc62c92 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAsyncUtil.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAsyncUtil.java @@ -206,6 +206,7 @@ public static Looper buildBackgroundLooper(String threadName) { // display_name handlerThread // signature_documentation java unresolved_type handlerThread // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#buildBackgroundLooper(). +// kind Variable // ^^^^^^^^^^ reference local 3 handlerThread.start(); // ^^^^^^^^^^^^^ reference local 4 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyController.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyController.java index 6918e374..04f934c1 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyController.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyController.java @@ -720,6 +720,7 @@ private int getExpectedModelCount() { // display_name currentModelCount // signature_documentation java int currentModelCount // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#getExpectedModelCount(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getItemCount(). return currentModelCount != 0 ? currentModelCount : 25; @@ -770,6 +771,7 @@ int getFirstIndexOfModelInBuildingList(EpoxyModel model) { // display_name size // signature_documentation java int size // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#getFirstIndexOfModelInBuildingList(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelsBeingBuilt. // ^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#size(). for (int i = 0; i < size; i++) { @@ -777,6 +779,7 @@ int getFirstIndexOfModelInBuildingList(EpoxyModel model) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#getFirstIndexOfModelInBuildingList(). +// kind Variable // ^ reference local 11 // ^^^^ reference local 10 // ^ reference local 11 @@ -811,11 +814,13 @@ boolean isModelAddedMultipleTimes(EpoxyModel model) { // display_name modelCount // signature_documentation java int modelCount // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#isModelAddedMultipleTimes(). +// kind Variable int size = modelsBeingBuilt.size(); // ^^^^ definition local 14 // display_name size // signature_documentation java int size // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#isModelAddedMultipleTimes(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelsBeingBuilt. // ^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#size(). for (int i = 0; i < size; i++) { @@ -823,6 +828,7 @@ boolean isModelAddedMultipleTimes(EpoxyModel model) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#isModelAddedMultipleTimes(). +// kind Variable // ^ reference local 15 // ^^^^ reference local 14 // ^ reference local 15 @@ -914,6 +920,7 @@ private void runInterceptors() { // display_name callback // signature_documentation java ModelInterceptorCallback callback // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#runInterceptors(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelInterceptorCallbacks. callback.onInterceptorsStarted(this); // ^^^^^^^^ reference local 19 @@ -931,6 +938,7 @@ private void runInterceptors() { // display_name interceptor // signature_documentation java Interceptor interceptor // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#runInterceptors(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#interceptors. interceptor.intercept(modelsBeingBuilt); // ^^^^^^^^^^^ reference local 20 @@ -950,6 +958,7 @@ private void runInterceptors() { // display_name callback // signature_documentation java ModelInterceptorCallback callback // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#runInterceptors(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelInterceptorCallbacks. callback.onInterceptorsFinished(this); // ^^^^^^^^ reference local 21 @@ -1138,6 +1147,7 @@ protected void add(@NonNull EpoxyModel... modelsToAdd) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(+1). +// kind Variable // ^^^^^^^^^^^ reference local 26 add(model); // ^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(). @@ -1176,6 +1186,7 @@ protected void add(@NonNull List> modelsToAdd) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(+2). +// kind Variable // ^^^^^^^^^^^ reference local 28 add(model); // ^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(). @@ -1340,6 +1351,7 @@ private void filterDuplicatesIfNeeded(List> models) { // display_name modelIds // signature_documentation java Set modelIds // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^^ reference semanticdb maven jdk 11 java/util/HashSet#``(+3). // ^^^^^^ reference local 33 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -1351,6 +1363,7 @@ private void filterDuplicatesIfNeeded(List> models) { // display_name modelIterator // signature_documentation java ListIterator> modelIterator // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^ reference local 33 // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/List#listIterator(). while (modelIterator.hasNext()) { @@ -1362,6 +1375,7 @@ private void filterDuplicatesIfNeeded(List> models) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^^^^^^^^ reference local 35 // ^^^^ reference semanticdb maven jdk 11 java/util/ListIterator#next(). if (!modelIds.add(model.id())) { @@ -1374,6 +1388,7 @@ private void filterDuplicatesIfNeeded(List> models) { // display_name indexOfDuplicate // signature_documentation java int indexOfDuplicate // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^^^^^^^^ reference local 35 // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator#previousIndex(). modelIterator.remove(); @@ -1385,6 +1400,7 @@ private void filterDuplicatesIfNeeded(List> models) { // display_name indexOfOriginal // signature_documentation java int indexOfOriginal // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). // ^^^^^^ reference local 33 // ^^^^^ reference local 36 @@ -1394,6 +1410,7 @@ private void filterDuplicatesIfNeeded(List> models) { // display_name originalModel // signature_documentation java EpoxyModel originalModel // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^ reference local 33 // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^^^^^^^^^^^^^^^ reference local 38 @@ -1445,6 +1462,7 @@ private int findPositionOfDuplicate(List> models, EpoxyModel du // display_name size // signature_documentation java int size // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). +// kind Variable // ^^^^^^ reference local 40 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). for (int i = 0; i < size; i++) { @@ -1452,6 +1470,7 @@ private int findPositionOfDuplicate(List> models, EpoxyModel du // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). +// kind Variable // ^ reference local 43 // ^^^^ reference local 42 // ^ reference local 43 @@ -1461,6 +1480,7 @@ private int findPositionOfDuplicate(List> models, EpoxyModel du // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). +// kind Variable // ^^^^^^ reference local 40 // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^ reference local 43 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyControllerAdapter.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyControllerAdapter.java index aa511b00..106a0c05 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyControllerAdapter.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyControllerAdapter.java @@ -213,6 +213,7 @@ void setModels(@NonNull ControllerModelList models) { // display_name currentModels // signature_documentation java List> currentModels // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setModels(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). if (!currentModels.isEmpty() && currentModels.get(0).isDebugValidationEnabled()) { // ^^^^^^^^^^^^^ reference local 4 @@ -225,6 +226,7 @@ void setModels(@NonNull ControllerModelList models) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setModels(). +// kind Variable // ^ reference local 5 // ^^^^^^^^^^^^^ reference local 4 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -235,6 +237,7 @@ void setModels(@NonNull ControllerModelList models) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setModels(). +// kind Variable // ^^^^^^^^^^^^^ reference local 4 // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^ reference local 5 @@ -303,6 +306,7 @@ public void onResult(@NonNull DiffResult result) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onResult(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#modelBuildListeners. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). // ^ reference local 8 @@ -589,6 +593,7 @@ public EpoxyModel getModelById(long id) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelById(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). if (model.id() == id) { // ^^^^^ reference local 23 @@ -621,6 +626,7 @@ public int getModelPosition(@NonNull EpoxyModel targetModel) { // display_name size // signature_documentation java int size // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelPosition(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). for (int i = 0; i < size; i++) { @@ -628,6 +634,7 @@ public int getModelPosition(@NonNull EpoxyModel targetModel) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelPosition(). +// kind Variable // ^ reference local 26 // ^^^^ reference local 25 // ^ reference local 26 @@ -637,6 +644,7 @@ public int getModelPosition(@NonNull EpoxyModel targetModel) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelPosition(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^ reference local 26 @@ -691,6 +699,7 @@ void moveModel(int fromPosition, int toPosition) { // display_name updatedList // signature_documentation java ArrayList> updatedList // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#moveModel(). +// kind Variable // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(+2). // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). @@ -717,6 +726,7 @@ void moveModel(int fromPosition, int toPosition) { // display_name interruptedDiff // signature_documentation java boolean interruptedDiff // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#moveModel(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#differ. // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#forceListOverride(). // ^^^^^^^^^^^ reference local 30 @@ -749,6 +759,7 @@ void notifyModelChanged(int position) { // display_name updatedList // signature_documentation java ArrayList> updatedList // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#notifyModelChanged(). +// kind Variable // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(+2). // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). @@ -767,6 +778,7 @@ void notifyModelChanged(int position) { // display_name interruptedDiff // signature_documentation java boolean interruptedDiff // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#notifyModelChanged(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#differ. // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#forceListOverride(). // ^^^^^^^^^^^ reference local 33 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyItemSpacingDecorator.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyItemSpacingDecorator.java index f587a2c9..731b8ef4 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyItemSpacingDecorator.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyItemSpacingDecorator.java @@ -204,6 +204,7 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s // display_name position // signature_documentation java int position // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^ reference local 4 // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView#getChildAdapterPosition# // ^^^^ reference local 3 @@ -222,6 +223,7 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s // display_name layout // signature_documentation java unresolved_type layout // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^ reference local 4 // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView#getLayoutManager# calculatePositionDetails(parent, position, layout); @@ -235,24 +237,28 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s // display_name left // signature_documentation java boolean left // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useLeftPadding(). boolean right = useRightPadding(); // ^^^^^ definition local 9 // display_name right // signature_documentation java boolean right // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useRightPadding(). boolean top = useTopPadding(); // ^^^ definition local 10 // display_name top // signature_documentation java boolean top // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useTopPadding(). boolean bottom = useBottomPadding(); // ^^^^^^ definition local 11 // display_name bottom // signature_documentation java boolean bottom // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useBottomPadding(). if (shouldReverseLayout(layout, horizontallyScrolling)) { @@ -266,6 +272,7 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s // display_name temp // signature_documentation java boolean temp // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^ reference local 8 left = right; // ^^^^ reference local 8 @@ -279,6 +286,7 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s // display_name temp // signature_documentation java boolean temp // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^ reference local 10 top = bottom; // ^^^ reference local 10 @@ -296,6 +304,7 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s // display_name padding // signature_documentation java int padding // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#pxBetweenItems. outRect.right = right ? padding : 0; // ^^^^^^^ reference local 2 @@ -343,6 +352,7 @@ private void calculatePositionDetails(RecyclerView parent, int position, LayoutM // display_name itemCount // signature_documentation java int itemCount // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^^^ reference local 15 // ^^^^^^^^^^ reference semanticdb maven . . RecyclerView#getAdapter# // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView#getAdapter#getItemCount# @@ -374,6 +384,7 @@ private void calculatePositionDetails(RecyclerView parent, int position, LayoutM // display_name grid // signature_documentation java unresolved_type grid // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . GridLayoutManager# // ^^^^^^ reference local 17 final SpanSizeLookup spanSizeLookup = grid.getSpanSizeLookup(); @@ -382,6 +393,7 @@ private void calculatePositionDetails(RecyclerView parent, int position, LayoutM // display_name spanSizeLookup // signature_documentation java final unresolved_type spanSizeLookup // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^ reference local 19 // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . GridLayoutManager#getSpanSizeLookup# int spanSize = spanSizeLookup.getSpanSize(position); @@ -389,6 +401,7 @@ private void calculatePositionDetails(RecyclerView parent, int position, LayoutM // display_name spanSize // signature_documentation java int spanSize // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^^^^^^^^^^^ reference local 20 // ^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup#getSpanSize# // ^^^^^^^^ reference local 16 @@ -397,6 +410,7 @@ private void calculatePositionDetails(RecyclerView parent, int position, LayoutM // display_name spanCount // signature_documentation java int spanCount // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^ reference local 19 // ^^^^^^^^^^^^ reference semanticdb maven . . GridLayoutManager#getSpanCount# int spanIndex = spanSizeLookup.getSpanIndex(position, spanCount); @@ -404,6 +418,7 @@ private void calculatePositionDetails(RecyclerView parent, int position, LayoutM // display_name spanIndex // signature_documentation java int spanIndex // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^^^^^^^^^^^ reference local 20 // ^^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup#getSpanIndex# // ^^^^^^^^ reference local 16 @@ -453,6 +468,7 @@ private static boolean shouldReverseLayout(LayoutManager layout, boolean horizon // display_name reverseLayout // signature_documentation java boolean reverseLayout // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#shouldReverseLayout(). +// kind Variable layout instanceof LinearLayoutManager && ((LinearLayoutManager) layout).getReverseLayout(); // ^^^^^^ reference local 24 // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . LinearLayoutManager# @@ -464,6 +480,7 @@ private static boolean shouldReverseLayout(LayoutManager layout, boolean horizon // display_name rtl // signature_documentation java boolean rtl // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#shouldReverseLayout(). +// kind Variable // ^^^^^^ reference local 24 // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . LayoutManager#getLayoutDirection# // ^^^^^^^^^^ reference semanticdb maven . . ViewCompat# @@ -584,11 +601,13 @@ private static boolean isInFirstRow(int position, SpanSizeLookup spanSizeLookup, // display_name totalSpan // signature_documentation java int totalSpan // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInFirstRow(). +// kind Variable for (int i = 0; i <= position; i++) { // ^ definition local 32 // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInFirstRow(). +// kind Variable // ^ reference local 32 // ^^^^^^^^ reference local 28 // ^ reference local 32 @@ -635,11 +654,13 @@ private static boolean isInLastRow(int position, int itemCount, SpanSizeLookup s // display_name totalSpan // signature_documentation java int totalSpan // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInLastRow(). +// kind Variable for (int i = itemCount - 1; i >= position; i--) { // ^ definition local 38 // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInLastRow(). +// kind Variable // ^^^^^^^^^ reference local 34 // ^ reference local 38 // ^^^^^^^^ reference local 33 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModel.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModel.java index 97fedeeb..34b333f1 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModel.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModel.java @@ -537,6 +537,7 @@ public EpoxyModel id(@Nullable Number... ids) { // display_name result // signature_documentation java long result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+2). +// kind Variable if (ids != null) { // ^^^ reference local 16 for (@Nullable Number id : ids) { @@ -546,6 +547,7 @@ public EpoxyModel id(@Nullable Number... ids) { // display_name id // signature_documentation java @Nullable\nNumber id // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+2). +// kind Variable // ^^^ reference local 16 result = 31 * result + hashLong64Bit(id == null ? 0 : id.hashCode()); // ^^^^^^ reference local 17 @@ -588,6 +590,7 @@ public EpoxyModel id(long id1, long id2) { // display_name result // signature_documentation java long result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+3). +// kind Variable // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/IdUtils#hashLong64Bit(). // ^^^ reference local 19 result = 31 * result + hashLong64Bit(id2); @@ -663,6 +666,7 @@ public EpoxyModel id(@Nullable CharSequence key, @Nullable CharSequence... ot // display_name result // signature_documentation java long result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+5). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). // ^^^ reference local 23 if (otherKeys != null) { @@ -673,6 +677,7 @@ public EpoxyModel id(@Nullable CharSequence key, @Nullable CharSequence... ot // display_name otherKey // signature_documentation java CharSequence otherKey // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+5). +// kind Variable // ^^^^^^^^^ reference local 24 result = 31 * result + hashString64Bit(otherKey); // ^^^^^^ reference local 25 @@ -721,6 +726,7 @@ public EpoxyModel id(@Nullable CharSequence key, long id) { // display_name result // signature_documentation java long result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+6). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). // ^^^ reference local 27 result = 31 * result + hashLong64Bit(id); @@ -1176,6 +1182,7 @@ public boolean equals(Object o) { // display_name that // signature_documentation java EpoxyModel that // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#equals(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference local 46 @@ -1212,6 +1219,7 @@ public int hashCode() { // display_name result // signature_documentation java int result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCode(). +// kind Variable // ^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id. // ^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id. result = 31 * result + getViewType(); diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelGroup.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelGroup.java index 484579d1..bf981263 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelGroup.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelGroup.java @@ -232,12 +232,14 @@ private EpoxyModelGroup(@LayoutRes int layoutRes, List> models) { // display_name saveState // signature_documentation java boolean saveState // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+2). +// kind Variable for (EpoxyModel model : models) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 7 // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+2). +// kind Variable // ^^^^^^ reference local 5 if (model.shouldSaveViewState()) { // ^^^^^ reference local 7 @@ -473,6 +475,7 @@ public void bind(@NonNull ModelGroupHolder holder, @NonNull EpoxyModel previo // display_name previousGroup // signature_documentation java final EpoxyModelGroup previousGroup // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+2). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup# // ^^^^^^^^^^^^^^^^^^^^ reference local 24 @@ -519,6 +522,7 @@ public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex // display_name previousModel // signature_documentation java EpoxyModel previousModel // enclosing_symbol local 27 +// kind Variable // ^^^^^^^^^^^^^ reference local 25 // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#models. // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). @@ -736,6 +740,7 @@ private void iterateModels(ModelGroupHolder holder, IterateModelsCallback callba // display_name modelCount // signature_documentation java int modelCount // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -744,6 +749,7 @@ private void iterateModels(ModelGroupHolder holder, IterateModelsCallback callba // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). +// kind Variable // ^ reference local 50 // ^^^^^^^^^^ reference local 49 // ^ reference local 50 @@ -952,6 +958,7 @@ public boolean equals(Object o) { // display_name that // signature_documentation java EpoxyModelGroup that // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#equals(). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup# // ^ reference local 61 @@ -976,6 +983,7 @@ public int hashCode() { // display_name result // signature_documentation java int result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#hashCode(). +// kind Variable // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#super. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCode(). result = 31 * result + models.hashCode(); diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelTouchCallback.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelTouchCallback.java index f8ae6734..bfb581aa 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelTouchCallback.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelTouchCallback.java @@ -144,6 +144,7 @@ protected int getMovementFlags(RecyclerView recyclerView, EpoxyViewHolder viewHo // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#getMovementFlags(). +// kind Variable // ^^^^^^^^^^ reference local 3 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). @@ -155,6 +156,7 @@ protected int getMovementFlags(RecyclerView recyclerView, EpoxyViewHolder viewHo // display_name isOtherCallbackActive // signature_documentation java boolean isOtherCallbackActive // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#getMovementFlags(). +// kind Variable holderBeingDragged == null // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#holderBeingDragged. && holderBeingSwiped == null @@ -265,6 +267,7 @@ protected boolean onMove(RecyclerView recyclerView, EpoxyViewHolder viewHolder, // display_name fromPosition // signature_documentation java int fromPosition // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). +// kind Variable // ^^^^^^^^^^ reference local 11 // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getAdapterPosition# int toPosition = target.getAdapterPosition(); @@ -272,6 +275,7 @@ protected boolean onMove(RecyclerView recyclerView, EpoxyViewHolder viewHolder, // display_name toPosition // signature_documentation java int toPosition // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). +// kind Variable // ^^^^^^ reference local 12 // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getAdapterPosition# controller.moveModel(fromPosition, toPosition); @@ -286,6 +290,7 @@ protected boolean onMove(RecyclerView recyclerView, EpoxyViewHolder viewHolder, // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). +// kind Variable // ^^^^^^^^^^ reference local 11 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). if (!isTouchableModel(model)) { @@ -362,6 +367,7 @@ protected void onSwiped(EpoxyViewHolder viewHolder, int direction) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwiped(). +// kind Variable // ^^^^^^^^^^ reference local 20 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). View view = viewHolder.itemView; @@ -370,6 +376,7 @@ protected void onSwiped(EpoxyViewHolder viewHolder, int direction) { // display_name view // signature_documentation java unresolved_type view // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwiped(). +// kind Variable // ^^^^^^^^^^ reference local 20 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#itemView# int position = viewHolder.getAdapterPosition(); @@ -377,6 +384,7 @@ protected void onSwiped(EpoxyViewHolder viewHolder, int direction) { // display_name position // signature_documentation java int position // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwiped(). +// kind Variable // ^^^^^^^^^^ reference local 20 // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getAdapterPosition# @@ -461,6 +469,7 @@ protected void onSelectedChanged(@Nullable EpoxyViewHolder viewHolder, int actio // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSelectedChanged(). +// kind Variable // ^^^^^^^^^^ reference local 29 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). if (!isTouchableModel(model)) { @@ -829,6 +838,7 @@ protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). +// kind Variable // ^^^^^^^^^^ reference local 53 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). if (!isTouchableModel(model)) { @@ -847,6 +857,7 @@ protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder // display_name itemView // signature_documentation java unresolved_type itemView // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). +// kind Variable // ^^^^^^^^^^ reference local 53 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#itemView# @@ -855,6 +866,7 @@ protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder // display_name swipeProgress // signature_documentation java float swipeProgress // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). +// kind Variable if (Math.abs(dX) > Math.abs(dY)) { // ^^^^ reference semanticdb maven jdk 11 java/lang/Math# // ^^^ reference semanticdb maven jdk 11 java/lang/Math#abs(+2). @@ -881,6 +893,7 @@ protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder // display_name clampedProgress // signature_documentation java float clampedProgress // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). +// kind Variable // ^^^^ reference semanticdb maven jdk 11 java/lang/Math# // ^^^ reference semanticdb maven jdk 11 java/lang/Math#max(+2). // ^^^^ reference semanticdb maven jdk 11 java/lang/Math# diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelper.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelper.java index 24d9215e..013dd7c9 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelper.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelper.java @@ -358,6 +358,7 @@ public DragBuilder4 withTarget(Class targetModelCla // display_name targetClasses // signature_documentation java List> targetClasses // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#withTarget(). +// kind Variable // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(). targetClasses.add(targetModelClass); // ^^^^^^^^^^^^^ reference local 10 @@ -557,6 +558,7 @@ public ItemTouchHelper andCallbacks(final DragCallbacks callbacks) { // display_name itemTouchHelper // signature_documentation java unresolved_type itemTouchHelper // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#andCallbacks(). +// kind Variable new ItemTouchHelper(new EpoxyModelTouchCallback(controller, targetModelClass) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] @@ -604,6 +606,7 @@ protected boolean isTouchableModel(EpoxyModel model) { // display_name isTargetType // signature_documentation java boolean isTargetType // enclosing_symbol local 26 +// kind Variable // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#targetModelClasses. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). ? super.isTouchableModel(model) @@ -1120,6 +1123,7 @@ public SwipeBuilder3 withTarget(Class targetModelCl // display_name targetClasses // signature_documentation java List> targetClasses // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#withTarget(). +// kind Variable // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(). targetClasses.add(targetModelClass); // ^^^^^^^^^^^^^ reference local 65 @@ -1303,6 +1307,7 @@ public ItemTouchHelper andCallbacks(final SwipeCallbacks callbacks) { // display_name itemTouchHelper // signature_documentation java unresolved_type itemTouchHelper // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#andCallbacks(). +// kind Variable new ItemTouchHelper(new EpoxyModelTouchCallback(null, targetModelClass) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] @@ -1349,6 +1354,7 @@ protected boolean isTouchableModel(EpoxyModel model) { // display_name isTargetType // signature_documentation java boolean isTargetType // enclosing_symbol local 80 +// kind Variable // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#targetModelClasses. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). ? super.isTouchableModel(model) diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/IdUtils.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/IdUtils.java index a1b64b9d..b3a52c66 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/IdUtils.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/IdUtils.java @@ -83,11 +83,13 @@ public static long hashString64Bit(@Nullable CharSequence str) { // display_name result // signature_documentation java long result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). +// kind Variable final int len = str.length(); // ^^^ definition local 3 // display_name len // signature_documentation java final int len // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). +// kind Variable // ^^^ reference local 1 // ^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence#length(). for (int i = 0; i < len; i++) { @@ -95,6 +97,7 @@ public static long hashString64Bit(@Nullable CharSequence str) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). +// kind Variable // ^ reference local 4 // ^^^ reference local 3 // ^ reference local 4 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ListenersUtils.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ListenersUtils.java index 0e6dc227..7d7ddb6e 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ListenersUtils.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ListenersUtils.java @@ -54,6 +54,7 @@ static EpoxyViewHolder getEpoxyHolderForChildView(View v) { // display_name recyclerView // signature_documentation java unresolved_type recyclerView // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ListenersUtils#getEpoxyHolderForChildView(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ListenersUtils#findParentRecyclerView(). // ^ reference local 0 if (recyclerView == null) { @@ -67,6 +68,7 @@ static EpoxyViewHolder getEpoxyHolderForChildView(View v) { // display_name viewHolder // signature_documentation java unresolved_type viewHolder // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ListenersUtils#getEpoxyHolderForChildView(). +// kind Variable // ^^^^^^^^^^^^ reference local 1 // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView#findContainingViewHolder# // ^ reference local 0 @@ -111,6 +113,7 @@ private static RecyclerView findParentRecyclerView(@Nullable View v) { // display_name parent // signature_documentation java unresolved_type parent // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ListenersUtils#findParentRecyclerView(). +// kind Variable // ^ reference local 3 // ^^^^^^^^^ reference semanticdb maven . . View#getParent# if (parent instanceof RecyclerView) { diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelList.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelList.java index 520f4b0e..ead85d29 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelList.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelList.java @@ -245,6 +245,7 @@ public EpoxyModel set(int index, EpoxyModel element) { // display_name previousModel // signature_documentation java EpoxyModel previousModel // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#set(). +// kind Variable // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#super. // ^^^ reference semanticdb maven jdk 11 java/util/ArrayList#set(). // ^^^^^ reference local 10 @@ -427,6 +428,7 @@ public boolean remove(Object o) { // display_name index // signature_documentation java int index // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#remove(+1). +// kind Variable // ^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#indexOf(). // ^ reference local 20 @@ -527,12 +529,14 @@ public boolean removeAll(Collection collection) { // display_name result // signature_documentation java boolean result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#removeAll(). +// kind Variable Iterator it = iterator(); // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^ definition local 26 // display_name it // signature_documentation java Iterator it // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#removeAll(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#iterator(). while (it.hasNext()) { // ^^ reference local 26 @@ -577,12 +581,14 @@ public boolean retainAll(Collection collection) { // display_name result // signature_documentation java boolean result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#retainAll(). +// kind Variable Iterator it = iterator(); // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^ definition local 29 // display_name it // signature_documentation java Iterator it // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#retainAll(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#iterator(). while (it.hasNext()) { // ^^ reference local 29 @@ -687,6 +693,7 @@ public EpoxyModel next() { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#next(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. cursor = i + 1; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. @@ -873,6 +880,7 @@ public EpoxyModel previous() { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#previous(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. if (i < 0) { // ^ reference local 34 @@ -950,6 +958,7 @@ public void add(EpoxyModel e) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#add(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. ModelList.this.add(i, e); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList# @@ -1235,6 +1244,7 @@ public int previousIndex() { // display_name previous // signature_documentation java int previous // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#previousIndex(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#iterator. // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator#previousIndex(). if (previous >= start) { @@ -1396,6 +1406,7 @@ public boolean addAll(int location, Collection> collecti // display_name result // signature_documentation java boolean result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#addAll(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#addAll(+1). // ^^^^^^^^ reference local 54 @@ -1448,6 +1459,7 @@ public boolean addAll(@NonNull Collection> collection) { // display_name result // signature_documentation java boolean result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#addAll(+1). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#addAll(+1). // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#offset. @@ -1595,6 +1607,7 @@ public EpoxyModel remove(int location) { // display_name result // signature_documentation java EpoxyModel result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#remove(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#remove(). // ^^^^^^^^ reference local 61 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelState.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelState.java index df9858ef..0d801d62 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelState.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelState.java @@ -86,6 +86,7 @@ static ModelState build(EpoxyModel model, int position, boolean immutableMode // display_name state // signature_documentation java ModelState state // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelState#build(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#``(). state.lastMoveOp = 0; diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/QuantityStringResAttribute.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/QuantityStringResAttribute.java index 0ce6c8a3..cf9fb8c8 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/QuantityStringResAttribute.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/QuantityStringResAttribute.java @@ -187,6 +187,7 @@ public boolean equals(Object o) { // display_name that // signature_documentation java QuantityStringResAttribute that // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#equals(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute# // ^ reference local 6 @@ -224,6 +225,7 @@ public int hashCode() { // display_name result // signature_documentation java int result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#hashCode(). +// kind Variable // ^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#id. result = 31 * result + quantity; // ^^^^^^ reference local 8 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyModel.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyModel.java index b8cede93..90b3fbf7 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyModel.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyModel.java @@ -228,6 +228,7 @@ public boolean equals(Object o) { // display_name that // signature_documentation java SimpleEpoxyModel that // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#equals(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel# // ^ reference local 8 @@ -268,6 +269,7 @@ public int hashCode() { // display_name result // signature_documentation java int result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#hashCode(). +// kind Variable // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#super. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCode(). result = 31 * result + layoutRes; diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/StringAttributeData.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/StringAttributeData.java index bad334f8..324a3b17 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/StringAttributeData.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/StringAttributeData.java @@ -352,6 +352,7 @@ public boolean equals(Object o) { // display_name that // signature_documentation java StringAttributeData that // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#equals(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData# // ^ reference local 10 @@ -405,6 +406,7 @@ public int hashCode() { // display_name result // signature_documentation java int result // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#hashCode(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#string. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#string. // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Object#hashCode(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOp.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOp.java index b28f2ebf..afb6e55b 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOp.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOp.java @@ -137,6 +137,7 @@ static UpdateOp instance(@Type int type, int positionStart, int itemCount, // display_name op // signature_documentation java UpdateOp op // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOp#instance(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#``(). op.type = type; diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOpHelper.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOpHelper.java index bbe733a9..8c5dfe60 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOpHelper.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOpHelper.java @@ -161,6 +161,7 @@ void add(int startPosition, int itemCount) { // display_name batchWithLast // signature_documentation java boolean batchWithLast // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#add(+1). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#isLastOp(). // ^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#ADD. && (lastOp.contains(startPosition) || lastOp.positionEnd() == startPosition); @@ -300,6 +301,7 @@ void remove(int startPosition, int itemCount) { // display_name batchWithLast // signature_documentation java boolean batchWithLast // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#remove(+1). +// kind Variable if (isLastOp(REMOVE)) { // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#isLastOp(). // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#REMOVE. @@ -473,6 +475,7 @@ void move(int from, int to) { // display_name op // signature_documentation java UpdateOp op // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#move(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#instance(). // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#MOVE. diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewHolderState.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewHolderState.java index cd3d000c..51926581 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewHolderState.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewHolderState.java @@ -122,6 +122,7 @@ public void writeToParcel(Parcel dest, int flags) { // display_name size // signature_documentation java final int size // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#writeToParcel(). +// kind Variable // ^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#size(). dest.writeInt(size); // ^^^^ reference local 1 @@ -132,6 +133,7 @@ public void writeToParcel(Parcel dest, int flags) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#writeToParcel(). +// kind Variable // ^ reference local 4 // ^^^^ reference local 3 // ^ reference local 4 @@ -209,6 +211,7 @@ public void save(Collection holders) { // display_name holder // signature_documentation java EpoxyViewHolder holder // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(). +// kind Variable // ^^^^^^^ reference local 6 save(holder); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(+1). @@ -244,6 +247,7 @@ public void save(EpoxyViewHolder holder) { // display_name state // signature_documentation java ViewState state // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(+1). +// kind Variable // ^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#get(). // ^^^^^^ reference local 8 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getItemId# @@ -294,6 +298,7 @@ public void restore(EpoxyViewHolder holder) { // display_name state // signature_documentation java ViewState state // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#restore(). +// kind Variable // ^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#get(). // ^^^^^^ reference local 10 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getItemId# @@ -361,6 +366,7 @@ private ViewState(int size, int[] keys, Parcelable[] values) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#``(+1). +// kind Variable // ^ reference local 15 // ^^^^ reference local 12 // ^ reference local 15 @@ -388,6 +394,7 @@ public void save(View view) { // display_name originalId // signature_documentation java int originalId // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#save(). +// kind Variable // ^^^^ reference local 16 // ^^^^^ reference semanticdb maven . . View#getId# setIdIfNoneExists(view); @@ -418,6 +425,7 @@ public void restore(View view) { // display_name originalId // signature_documentation java int originalId // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#restore(). +// kind Variable // ^^^^ reference local 18 // ^^^^^ reference semanticdb maven . . View#getId# setIdIfNoneExists(view); @@ -495,12 +503,14 @@ public void writeToParcel(Parcel parcel, int flags) { // display_name size // signature_documentation java int size // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). +// kind Variable // ^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#size(). int[] keys = new int[size]; // ^^^^ definition local 24 // display_name keys // signature_documentation java int[] keys // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). +// kind Variable // ^^^^ reference local 23 Parcelable[] values = new Parcelable[size]; // ^^^^^^^^^^ reference semanticdb maven . . Parcelable# @@ -508,6 +518,7 @@ public void writeToParcel(Parcel parcel, int flags) { // display_name values // signature_documentation java unresolved_type[] values // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . Parcelable# // ^^^^ reference local 23 for (int i = 0; i < size; ++i) { @@ -515,6 +526,7 @@ public void writeToParcel(Parcel parcel, int flags) { // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). +// kind Variable // ^ reference local 26 // ^^^^ reference local 23 // ^ reference local 26 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewTypeManager.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewTypeManager.java index a5e4f4c3..3f1cd2fd 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewTypeManager.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewTypeManager.java @@ -102,6 +102,7 @@ static int getViewType(EpoxyModel model) { // display_name defaultViewType // signature_documentation java int defaultViewType // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewType(). +// kind Variable // ^^^^^ reference local 1 // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getViewType(). if (defaultViewType != 0) { @@ -118,6 +119,7 @@ static int getViewType(EpoxyModel model) { // display_name modelClass // signature_documentation java Class modelClass // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewType(). +// kind Variable // ^^^^^ reference local 1 // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Object#getClass(). @@ -127,6 +129,7 @@ static int getViewType(EpoxyModel model) { // display_name viewType // signature_documentation java Integer viewType // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewType(). +// kind Variable // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#VIEW_TYPE_MAP. // ^^^ reference semanticdb maven jdk 11 java/util/Map#get(). // ^^^^^^^^^^ reference local 3 @@ -203,6 +206,7 @@ && getViewType(lastModelForViewTypeLookup) == viewType) { // display_name model // signature_documentation java EpoxyModel model // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getModelForViewType(). +// kind Variable // ^^^^^^^ reference local 5 // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). if (getViewType(model) == viewType) { @@ -221,6 +225,7 @@ && getViewType(lastModelForViewTypeLookup) == viewType) { // display_name hiddenEpoxyModel // signature_documentation java HiddenEpoxyModel hiddenEpoxyModel // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getModelForViewType(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel#``(). if (viewType == hiddenEpoxyModel.getViewType()) { // ^^^^^^^^ reference local 6 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener.java index 44fa60ef..6ad592e3 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener.java @@ -95,6 +95,7 @@ public void onCheckedChanged(CompoundButton button, boolean isChecked) { // display_name epoxyHolder // signature_documentation java EpoxyViewHolder epoxyHolder // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#onCheckedChanged(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ListenersUtils# // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ListenersUtils#getEpoxyHolderForChildView(). // ^^^^^^ reference local 1 @@ -114,6 +115,7 @@ public void onCheckedChanged(CompoundButton button, boolean isChecked) { // display_name adapterPosition // signature_documentation java final int adapterPosition // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#onCheckedChanged(). +// kind Variable // ^^^^^^^^^^^ reference local 3 // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getAdapterPosition# if (adapterPosition != RecyclerView.NO_POSITION) { @@ -167,6 +169,7 @@ public boolean equals(Object o) { // display_name that // signature_documentation java WrappedEpoxyModelCheckedChangeListener that // enclosing_symbol semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#equals(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener# // ^ reference local 5 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnonymousClasses.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnonymousClasses.java index bd6c5d9c..e7dcdf46 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnonymousClasses.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnonymousClasses.java @@ -34,6 +34,7 @@ public static int app(int n) { // display_name fn // signature_documentation java Function fn // enclosing_symbol semanticdb maven . . minimized/AnonymousClasses#app(). +// kind Variable new Function() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/function/Function# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Arrays.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Arrays.java index 1c562c29..1be452b4 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Arrays.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Arrays.java @@ -20,23 +20,27 @@ public static String app() { // display_name a // signature_documentation java int[] a // enclosing_symbol semanticdb maven . . minimized/Arrays#app(). +// kind Variable String[] b = {"1", "2", "3"}; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^ definition local 1 // display_name b // signature_documentation java String[] b // enclosing_symbol semanticdb maven . . minimized/Arrays#app(). +// kind Variable int[][] c = {{1}, {2}, {3}}; // ^ definition local 2 // display_name c // signature_documentation java int[][] c // enclosing_symbol semanticdb maven . . minimized/Arrays#app(). +// kind Variable String[][] d = {{"1"}, {"2"}, {"3"}}; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^ definition local 3 // display_name d // signature_documentation java String[][] d // enclosing_symbol semanticdb maven . . minimized/Arrays#app(). +// kind Variable return b[0] + a[0] + c[1][0] + d[1][0]; // ^ reference local 1 // ^ reference local 0 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Enums.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Enums.java index a86cbeae..4b7e459c 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Enums.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Enums.java @@ -71,6 +71,7 @@ public static String app() { // display_name all // signature_documentation java String all // enclosing_symbol semanticdb maven . . minimized/Enums#app(). +// kind Variable // ^^^^^^ reference semanticdb maven jdk 11 java/util/Arrays# // ^^^^^^ reference semanticdb maven jdk 11 java/util/Arrays#stream(). // ^^^^^^ reference semanticdb maven . . minimized/Enums#values(). diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Fields.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Fields.java index d1d34b8f..f7acf356 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Fields.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Fields.java @@ -90,6 +90,7 @@ public static String app() { // display_name fields // signature_documentation java Fields fields // enclosing_symbol semanticdb maven . . minimized/Fields#app(). +// kind Variable // ^^^^^^ reference semanticdb maven . . minimized/Fields#``(). InnerFields innerFields = fields.new InnerFields(); // ^^^^^^^^^^^ reference semanticdb maven . . minimized/Fields#InnerFields# @@ -97,6 +98,7 @@ public static String app() { // display_name innerFields // signature_documentation java InnerFields innerFields // enclosing_symbol semanticdb maven . . minimized/Fields#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^^^^^ reference semanticdb maven . . minimized/Fields#InnerFields#``(). InnerStaticFields innerStaticFields = new InnerStaticFields(); @@ -105,6 +107,7 @@ public static String app() { // display_name innerStaticFields // signature_documentation java InnerStaticFields innerStaticFields // enclosing_symbol semanticdb maven . . minimized/Fields#app(). +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/Fields#InnerStaticFields#``(). return String.valueOf(fields.privateField) // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ForComprehensions.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ForComprehensions.java index ca70ac31..82a0d54b 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ForComprehensions.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ForComprehensions.java @@ -34,6 +34,7 @@ public static int app(int n) { // display_name integers // signature_documentation java List integers // enclosing_symbol semanticdb maven . . minimized/ForComprehensions#app(). +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collections# // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collections#singletonList(). // ^ reference local 0 @@ -42,11 +43,13 @@ public static int app(int n) { // display_name result // signature_documentation java int result // enclosing_symbol semanticdb maven . . minimized/ForComprehensions#app(). +// kind Variable for (int i : integers) { // ^ definition local 3 // display_name i // signature_documentation java int i // enclosing_symbol semanticdb maven . . minimized/ForComprehensions#app(). +// kind Variable // ^^^^^^^^ reference local 1 result += i; // ^^^^^^ reference local 2 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/InnerClasses.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/InnerClasses.java index 24505c9e..3a913002 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/InnerClasses.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/InnerClasses.java @@ -303,6 +303,7 @@ public static void testAnon() { // display_name fn // signature_documentation java InnerInterface fn // enclosing_symbol semanticdb maven . . minimized/InnerClasses#testAnon(). +// kind Variable new InnerInterface() { // ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerInterface# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# @@ -345,6 +346,7 @@ public static String app() { // display_name a // signature_documentation java int a // enclosing_symbol semanticdb maven . . minimized/InnerClasses#app(). +// kind Variable InnerStaticClass.innerStaticMethod(); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerStaticClass# // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerStaticClass#innerStaticMethod(). @@ -354,6 +356,7 @@ public static String app() { // display_name innerClasses // signature_documentation java InnerClasses innerClasses // enclosing_symbol semanticdb maven . . minimized/InnerClasses#app(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#``(). // ^ reference local 11 InnerClass innerClass = innerClasses.new InnerClass(a); @@ -362,6 +365,7 @@ public static String app() { // display_name innerClass // signature_documentation java InnerClass innerClass // enclosing_symbol semanticdb maven . . minimized/InnerClasses#app(). +// kind Variable // ^^^^^^^^^^^^ reference local 12 // ^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerClass#``(). // ^ reference local 11 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Methods.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Methods.java index 7f52ca43..26bb5c11 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Methods.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Methods.java @@ -88,12 +88,14 @@ public static String app(int n, String m) throws RuntimeException, IndexOutOfBou // display_name methods // signature_documentation java Methods methods // enclosing_symbol semanticdb maven . . minimized/Methods#app(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . minimized/Methods#``(). int a = staticOverload(n); // ^ definition local 7 // display_name a // signature_documentation java int a // enclosing_symbol semanticdb maven . . minimized/Methods#app(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/Methods#staticOverload(). // ^ reference local 4 String b = staticOverload(m); @@ -102,6 +104,7 @@ public static String app(int n, String m) throws RuntimeException, IndexOutOfBou // display_name b // signature_documentation java String b // enclosing_symbol semanticdb maven . . minimized/Methods#app(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/Methods#staticOverload(+1). // ^ reference local 5 int c = methods.overload(n); @@ -109,6 +112,7 @@ public static String app(int n, String m) throws RuntimeException, IndexOutOfBou // display_name c // signature_documentation java int c // enclosing_symbol semanticdb maven . . minimized/Methods#app(). +// kind Variable // ^^^^^^^ reference local 6 // ^^^^^^^^ reference semanticdb maven . . minimized/Methods#overload(). // ^ reference local 4 @@ -118,6 +122,7 @@ public static String app(int n, String m) throws RuntimeException, IndexOutOfBou // display_name d // signature_documentation java String d // enclosing_symbol semanticdb maven . . minimized/Methods#app(). +// kind Variable // ^^^^^^^ reference local 6 // ^^^^^^^^ reference semanticdb maven . . minimized/Methods#overload(+1). // ^ reference local 5 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Primitives.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Primitives.java index ff872372..9aee9659 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Primitives.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Primitives.java @@ -26,12 +26,14 @@ public static String app() { // display_name random // signature_documentation java Random random // enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference semanticdb maven jdk 11 java/util/Random#``(). byte a = (byte) random.nextInt(); // ^ definition local 1 // display_name a // signature_documentation java byte a // enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextInt(). short b = (short) random.nextInt(); @@ -39,6 +41,7 @@ public static String app() { // display_name b // signature_documentation java short b // enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextInt(). int c = random.nextInt(); @@ -46,6 +49,7 @@ public static String app() { // display_name c // signature_documentation java int c // enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextInt(). long d = random.nextLong(); @@ -53,6 +57,7 @@ public static String app() { // display_name d // signature_documentation java long d // enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextLong(). char e = (char) random.nextInt(); @@ -60,6 +65,7 @@ public static String app() { // display_name e // signature_documentation java char e // enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextInt(). float f = (float) random.nextDouble(); @@ -67,6 +73,7 @@ public static String app() { // display_name f // signature_documentation java float f // enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextDouble(). double g = (double) random.nextDouble(); @@ -74,6 +81,7 @@ public static String app() { // display_name g // signature_documentation java double g // enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextDouble(). boolean h = random.nextBoolean(); @@ -81,6 +89,7 @@ public static String app() { // display_name h // signature_documentation java boolean h // enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextBoolean(). return "" + a + b + c + d + e + f + g + h; diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/SubClasses.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/SubClasses.java index 7f97bb83..04a4c1db 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/SubClasses.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/SubClasses.java @@ -50,6 +50,7 @@ public static String app() { // display_name s // signature_documentation java SubClasses s // enclosing_symbol semanticdb maven . . minimized/SubClasses#app(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . minimized/SubClasses#``(). return s.abstractImplementation() // ^ reference local 0 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TabIndented.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TabIndented.java index ec438c76..30a3e7a2 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TabIndented.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TabIndented.java @@ -20,6 +20,7 @@ public class TabIndented { // display_name o // signature_documentation java Object o // enclosing_symbol semanticdb maven . . minimized/TabIndented#app(). +// kind Variable // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# →→→@Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override#