Skip to content

Commit

Permalink
fbandroid/libraries/components/litho-processor/src/main/java/com/face…
Browse files Browse the repository at this point in the history
…book/litho/specmodels/model/testing/TestSpecModel.java

Reviewed By: pentiumao

Differential Revision: D65132803

fbshipit-source-id: ddf415d39d36c74cd5dc98045efe992f4492cc97
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Oct 29, 2024
1 parent 4d16bae commit 2ec7337
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.facebook.litho.specmodels.model.testing;

import androidx.annotation.VisibleForTesting;
import com.facebook.infer.annotation.Nullsafe;
import com.facebook.litho.specmodels.internal.ImmutableList;
import com.facebook.litho.specmodels.internal.RunMode;
import com.facebook.litho.specmodels.model.BuilderMethodModel;
Expand Down Expand Up @@ -55,6 +56,7 @@
/**
* Model that is an abstract representation of a {@link com.facebook.litho.annotations.TestSpec}.
*/
@Nullsafe(Nullsafe.Mode.LOCAL)
public class TestSpecModel implements SpecModel, HasEnclosedSpecModel {
private final SpecModel mSpecModel;
private final TestSpecGenerator mTestSpecGenerator;
Expand Down Expand Up @@ -136,6 +138,7 @@ public ImmutableList<SpecMethodModel<EventMethod, EventDeclarationModel>> getTri

@Override
@Nullable
// NULLSAFE_FIXME[Inconsistent Subclass Return Annotation]
public SpecMethodModel<EventMethod, Void> getWorkingRangeRegisterMethod() {
return mSpecModel.getWorkingRangeRegisterMethod();
}
Expand Down

0 comments on commit 2ec7337

Please sign in to comment.