question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transfer @Nullable annotation from @Prop to generated Component

See original GitHub issue

When marking a @Prop as @Nullable, the generated component should have the field and the parameter in the builder method also generated with @Nullable. This helps static analysis.

Point of contact: @passy

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
passycommented, Apr 17, 2018

Landed! Thanks for the super quick fix, @pavlospt!

1reaction
pavlosptcommented, Apr 17, 2018

I can take it if it is still free 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - How to use @Nullable and @Nonnull annotations more ...
1. Propagating the @Nonnull to have indirectPathToA(@Nonnull Integer y) is IMHO a bad practice: you will need to mainain the propagation on the...
Read more >
Techniques and tools to update your C# project - Part 4
If a null reference is passed in, you may need to annotate the property with ? In the IDE, use Find Usages on...
Read more >
@Nullable and @NotNull | IntelliJ IDEA Documentation
@Nullable and @NotNull annotations let you check nullability of a variable, parameter, or return value. They help you control contracts ...
Read more >
Annotations in AIDL | Android Open Source Project
AIDL supports annotations that give the AIDL compiler extra info about the annotated element, which also affects the generated stub code.
Read more >
FileNet P8 - Working with Annotation Objects - IBM
An Annotation object is created and its properties are set, including the AnnotatedContentElement property. This optional property associates the annotation ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found