Lines Matching full:with
5 # you may not use this file except in compliance with the License.
80 java_medium('Non-varargs call of varargs method with inexact argument type for last parameter',
81 …[r".*: warning: non-varargs call of varargs method with inexact argument type for last parameter"]…
131 …s) are not designed to be instantiated and should be made noninstantiable with a default construct…
147 …'Type parameters must be a single letter with an optional numeric suffix, or an UpperCamelCase nam…
149 …'Constructors and methods with the same name should appear sequentially with no other code in betw…
187 …with commonly-used names can make code harder to read, because it may not be clear from the contex…
205 'Duration can be expressed more clearly with different units'),
217 …'The type of the array parameter of Collection.toArray needs to be compatible with the array type'…
245 'An equality test between objects with incompatible types always returns false'),
257 …ed or thrown from the try-catch block will be ignored. Consider using try-with-resources instead.'…
297 'Casting inside an if block should be plausibly consistent with the instanceof type'),
359 'Constructors should not be annotated with @Nullable since they cannot return null'),
365 … 'void-returning methods should not be annotated with @Nullable, since they cannot return null'),
377 …'To return a custom message with a Throwable class, one should override getMessage() instead of to…
381 …'This method is not annotated with @Inject, but it overrides a method that is annotated with @com.…
415 'A static variable or method should be qualified with a class name, not expression'),
417 … 'Streams that encapsulate a closeable resource should be closed using try-with-resources'),
445 'Argument is not compatible with the subject\'s type.'),
451 …t hides unsafe casts at invocations of the method, and it interacts badly with method overload res…
479 … 'variableName and type with the same name would refer to the static field instead of the class'),
483 …'A wakelock acquired with a timeout may be released by the system before calling `release`, even a…
515 'Use of class, field, or method that is not compatible with legacy Android devices'),
519 'Arrays.fill(Object[], Object) called with incompatible types.'),
543 …'The called constructor accepts a parameter with the same name and type as one of its caller\'s pa…
545 'Ignored return value of method that is annotated with @CheckReturnValue'),
551 … u'Implementing \'Comparable\u003cT>\' where T is not compatible with the implementing class.'),
561 …'Non-compile-time constant expression passed to parameter with @CompileTimeConstant type annotatio…
565 …'A conditional expression with numeric operands of differing types will perform binary numeric pro…
569 'Dagger @Provides methods may not return null unless annotated with @Nullable'),
574 java_high('Deprecated item is not annotated with @Deprecated',
575 [r".*\.java:.*: warning: \[.*\] .+ is not annotated with @Deprecated$"]),
597 'Futures.getChecked requires a checked exception type with a standard constructor.'),
605 'Checks for unguarded accesses to fields and methods with @GuardedBy annotations'),
609 …e two @Assisted parameters of the same type unless they are disambiguated with named @Assisted ann…
617 'Type declaration annotated with @Immutable is not immutable'),
621 'Passing argument to a generic method with an incompatible type.'),
633 'A class can be annotated with at most one scope annotation.'),
635 … 'Members shouldn\'t be annotated with @Inject if constructor is already annotated @Inject'),
657 …rrect method signature (Should be public, non-static, and method name should begin with "test").'),
669 'Use of class, field, or method that is not compatible with JDK 7'),
671 'Abstract and default methods are not injectable with javax.inject.Inject'),
693 'A bug in Mockito will cause this test to fail at runtime with a ClassCastException'),
697 'Using a collection function with itself as the argument.'),
721 …'This method is not annotated with @Inject, but it overrides a method that is annotated with @jav…
751 'Use of method or class annotated with @RestrictTo'),
761 'Testing an object for equality with itself will always be true.'),
763 'This method must be called with an even number of arguments.'),
781 …'isEqualTo should not be used to test an object for equality with itself; the assertion will never…
789 'Non-generic methods should not be invoked with type arguments'),