[infer][java] match the annotation by class name, forgetting the package, instead of checking if the end of the annotation matches
Summary: Before the diff, the code was considering as Nullable any annotation ending with `...Nullable`, including `SuppressParameterNotNullable`. Closes #533 Reviewed By: jberdine Differential Revision: D4317356 fbshipit-source-id: 6091c0fmaster
parent
901786e0c5
commit
715f6ffa7e
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright (c) 2013 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
package codetoanalyze.java.eradicate;
|
||||
|
||||
@interface DefinitelyNotNullable {}
|
Loading…
Reference in new issue