Home
last modified time | relevance | path

Searched refs:Nullable (Results 1 – 25 of 751) sorted by relevance

12345678910>>...31

/external/annotation-tools/annotation-file-utilities/tests/
DCastInsert.goal6 …heckers.nullness.quals.Nullable Integer) (((@checkers.nullness.quals.Nullable Integer) (12)) + ((@…
7 … str = "this" + ((@checkers.nullness.quals.Nullable String) ("is")).concat(((@checkers.nullness.qu…
14 String x = ((@checkers.nullness.quals.Nullable String) (new String()));
16 …checkers.nullness.quals.Nullable String) (((@checkers.nullness.quals.Nullable String) (x)) + ((@ch…
18 s = z[((@checkers.nullness.quals.Nullable Integer) (0))];
21 switch (((@checkers.nullness.quals.Nullable Integer) (i + 2))) {
23 j = i + ((@checkers.nullness.quals.Nullable Integer) (1));
28 System.out.println(((@checkers.nullness.quals.Nullable Integer) (2)));
34 j *= ((@checkers.nullness.quals.Nullable Integer) (i));
35 j = s != x ? ((@checkers.nullness.quals.Nullable Integer) (j)) : i;
[all …]
DASTInsert.goal10 …((@checkers.nullness.quals.Nullable int) (((@checkers.nullness.quals.Nullable int) (12)) + ((@chec…
11 … str = "this" + ((@checkers.nullness.quals.Nullable String) ("is")).concat(((@checkers.nullness.qu…
19 String x = ((@checkers.nullness.quals.Nullable String) (new String()));
21 …checkers.nullness.quals.Nullable String) (((@checkers.nullness.quals.Nullable String) (x)) + ((@ch…
23 s = z[((@checkers.nullness.quals.Nullable int) (0))];
26 switch (((@checkers.nullness.quals.Nullable int) (i + 2))) {
28 j = i + ((@checkers.nullness.quals.Nullable int) (1));
33 System.out.println(((@checkers.nullness.quals.Nullable int) (2)));
39 j *= ((@checkers.nullness.quals.Nullable int) (i));
40 j = s != x ? ((@checkers.nullness.quals.Nullable int) (j)) : i;
[all …]
DCastInsert.jaif7 annotation @Nullable: @java.lang.annotation.Retention(value=RUNTIME) @java.lang.annotation.Target(v…
13 insert-typecast Variable.initializer, Binary.rightOperand: @Nullable Integer
14 insert-typecast Variable.initializer, Binary.leftOperand: @Nullable Integer
15 insert-typecast Variable.initializer: @Nullable Integer
18 …izer, Binary.rightOperand, MethodInvocation.methodSelect, MemberSelect.expression: @Nullable String
19 …t-typecast Variable.initializer, Binary.rightOperand, MethodInvocation.argument 0: @Nullable String
22 insert-typecast Block.statement 0, Variable.initializer: @Nullable String
23 …typecast Block.statement 2, ExpressionStatement.expression, Assignment.expression: @Nullable String
24 …ment 2, ExpressionStatement.expression, Assignment.expression, Binary.leftOperand: @Nullable String
25 …ent 2, ExpressionStatement.expression, Assignment.expression, Binary.rightOperand: @Nullable String
[all …]
DASTInsert.jaif15 annotation @Nullable: @java.lang.annotation.Retention(value=RUNTIME) @java.lang.annotation.Target(v…
22 insert-annotation Variable.initializer, Binary.rightOperand: @Nullable
23 insert-annotation Variable.initializer, Binary.leftOperand: @Nullable
24 insert-annotation Variable.initializer: @Nullable
27 …initializer, Binary.rightOperand, MethodInvocation.methodSelect, MemberSelect.expression: @Nullable
28 …insert-annotation Variable.initializer, Binary.rightOperand, MethodInvocation.argument 0: @Nullable
37 insert-annotation Block.statement 0, Variable.initializer: @Nullable
38 …sert-annotation Block.statement 2, ExpressionStatement.expression, Assignment.expression: @Nullable
39 …k.statement 2, ExpressionStatement.expression, Assignment.expression, Binary.leftOperand: @Nullable
40 ….statement 2, ExpressionStatement.expression, Assignment.expression, Binary.rightOperand: @Nullable
[all …]
DVarargs.jaif4 annotation @Nullable:
13 inner-type 0, 0: @Nullable
16 type: @Nullable
19 type: @Nullable
20 inner-type 0, 0: @Nullable
23 type: @Nullable
24 inner-type 0, 0: @Nullable
25 inner-type 0, 0, 3, 0: @Nullable
DVarargs.goal5 public void m1(@java.lang.Nullable String ... params) {
8 public void m2(String @java.lang.Nullable ... params) {
11 public void m3(@java.lang.Nullable String @java.lang.Nullable ... params) {
14 …public void m4(@java.lang.Nullable Comparable<@java.lang.Nullable String> @java.lang.Nullable ... …
/external/annotation-tools/annotation-file-utilities/tests/converted/
DCastInsert.jaif2 annotation @Nullable: @java.lang.annotation.Target(value={TYPE_USE,TYPE_PARAMETER}) @java.lang.anno…
17 …insert-typecast Variable.initializer, Binary.leftOperand: @checkers.nullness.quals.Nullable Integer
18 …nsert-typecast Variable.initializer, Binary.rightOperand: @checkers.nullness.quals.Nullable Integer
19 insert-typecast Variable.initializer: @checkers.nullness.quals.Nullable Integer
22 …d, MethodInvocation.methodSelect, MemberSelect.expression: @checkers.nullness.quals.Nullable String
23 …ializer, Binary.rightOperand, MethodInvocation.argument 0: @checkers.nullness.quals.Nullable String
27 …0, ExpressionStatement.expression, Assignment.expression: @checkers.nullness.quals.Nullable Integer
28 …t.expression, Assignment.expression, Binary.rightOperand: @checkers.nullness.quals.Nullable Integer
29 …t.expression, Assignment.expression, Binary.rightOperand: @checkers.nullness.quals.Nullable Integer
30 …xpression, Parenthesized.expression, Binary.rightOperand: @checkers.nullness.quals.Nullable Integer
[all …]
DASTInsert.jaif2 annotation @Nullable: @java.lang.annotation.Target(value={TYPE_USE,TYPE_PARAMETER}) @java.lang.anno…
44 … insert-annotation Variable.initializer, Binary.leftOperand: @checkers.nullness.quals.Nullable
45 … insert-annotation Variable.initializer, Binary.rightOperand: @checkers.nullness.quals.Nullable
46 insert-annotation Variable.initializer: @checkers.nullness.quals.Nullable
49 …tOperand, MethodInvocation.methodSelect, MemberSelect.expression: @checkers.nullness.quals.Nullable
50 …le.initializer, Binary.rightOperand, MethodInvocation.argument 0: @checkers.nullness.quals.Nullable
60 …atement 0, ExpressionStatement.expression, Assignment.expression: @checkers.nullness.quals.Nullable
61 …Statement.expression, Assignment.expression, Binary.rightOperand: @checkers.nullness.quals.Nullable
62 …Statement.expression, Assignment.expression, Binary.rightOperand: @checkers.nullness.quals.Nullable
63 …peCast.expression, Parenthesized.expression, Binary.rightOperand: @checkers.nullness.quals.Nullable
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableClassDef.java46 import javax.annotation.Nullable;
55 @Nullable protected final String superclass;
57 @Nullable protected final String sourceFile;
66 @Nullable String superclass, in ImmutableClassDef()
67 @Nullable Collection<String> interfaces, in ImmutableClassDef()
68 @Nullable String sourceFile, in ImmutableClassDef()
69 @Nullable Collection<? extends Annotation> annotations, in ImmutableClassDef()
70 @Nullable Iterable<? extends Field> fields, in ImmutableClassDef()
71 @Nullable Iterable<? extends Method> methods) { in ImmutableClassDef()
93 @Nullable String superclass, in ImmutableClassDef()
[all …]
/external/guava/guava/src/com/google/common/collect/
DMultimap.java26 import javax.annotation.Nullable;
187 boolean containsKey(@Nullable Object key); in containsKey()
193 boolean containsValue(@Nullable Object value); in containsValue()
199 boolean containsEntry(@Nullable Object key, @Nullable Object value); in containsEntry()
215 boolean put(@Nullable K key, @Nullable V value); in put()
225 boolean remove(@Nullable Object key, @Nullable Object value); in remove()
242 boolean putAll(@Nullable K key, Iterable<? extends V> values); in putAll()
264 Collection<V> replaceValues(@Nullable K key, Iterable<? extends V> values); in replaceValues()
277 Collection<V> removeAll(@Nullable Object key); in removeAll()
295 Collection<V> get(@Nullable K key); in get()
[all …]
DTable.java26 import javax.annotation.Nullable;
70 boolean contains(@Nullable Object rowKey, @Nullable Object columnKey); in contains()
78 boolean containsRow(@Nullable Object rowKey); in containsRow()
86 boolean containsColumn(@Nullable Object columnKey); in containsColumn()
94 boolean containsValue(@Nullable Object value); in containsValue()
103 V get(@Nullable Object rowKey, @Nullable Object columnKey); in get()
118 boolean equals(@Nullable Object obj); in equals()
162 V remove(@Nullable Object rowKey, @Nullable Object columnKey); in remove()
285 boolean equals(@Nullable Object obj); in equals()
DHashBasedTable.java28 import javax.annotation.Nullable;
118 @Nullable Object rowKey, @Nullable Object columnKey) { in contains()
122 @Override public boolean containsColumn(@Nullable Object columnKey) { in containsColumn()
126 @Override public boolean containsRow(@Nullable Object rowKey) { in containsRow()
130 @Override public boolean containsValue(@Nullable Object value) { in containsValue()
134 @Override public V get(@Nullable Object rowKey, @Nullable Object columnKey) { in get()
138 @Override public boolean equals(@Nullable Object obj) { in equals()
143 @Nullable Object rowKey, @Nullable Object columnKey) { in remove()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/debug/
DBuilderStartLocal.java40 import javax.annotation.Nullable;
44 @Nullable private final StringReference name;
45 @Nullable private final TypeReference type;
46 @Nullable private final StringReference signature;
49 @Nullable StringReference name, in BuilderStartLocal()
50 @Nullable TypeReference type, in BuilderStartLocal()
51 @Nullable StringReference signature) { in BuilderStartLocal()
60 @Nullable @Override public StringReference getNameReference() { return name; } in getNameReference()
61 @Nullable @Override public TypeReference getTypeReference() { return type; } in getTypeReference()
62 @Nullable @Override public StringReference getSignatureReference() { return signature; } in getSignatureReference()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
DReflectionClassDef.java47 import javax.annotation.Nullable;
72 @Nullable @Override public String getSuperclass() { in getSuperclass()
85 @Nullable in getInterfaces()
87 public String apply(@Nullable Class input) { in getInterfaces()
96 @Nullable @Override public String getSourceFile() {
110 … @Override public boolean apply(@Nullable java.lang.reflect.Field input) {
117 … @Nullable @Override public Field apply(@Nullable java.lang.reflect.Field input) {
132 … @Override public boolean apply(@Nullable java.lang.reflect.Field input) {
139 … @Nullable @Override public Field apply(@Nullable java.lang.reflect.Field input) {
153 … @Nullable @Override public Field apply(@Nullable java.lang.reflect.Field input) {
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/debug/
DImmutableStartLocal.java42 import javax.annotation.Nullable;
46 @Nullable protected final String name;
47 @Nullable protected final String type;
48 @Nullable protected final String signature;
52 @Nullable String name, in ImmutableStartLocal()
53 @Nullable String type, in ImmutableStartLocal()
54 @Nullable String signature) { in ImmutableStartLocal()
77 @Nullable @Override public StringReference getNameReference() { in getNameReference()
85 @Nullable @Override public TypeReference getTypeReference() {
93 @Nullable @Override public StringReference getSignatureReference() {
[all …]
DImmutableRestartLocal.java38 import javax.annotation.Nullable;
42 @Nullable protected final String name;
43 @Nullable protected final String type;
44 @Nullable protected final String signature;
57 @Nullable String name, in ImmutableRestartLocal()
58 @Nullable String type, in ImmutableRestartLocal()
59 @Nullable String signature) { in ImmutableRestartLocal()
81 @Nullable @Override public String getName() { return name; } in getName()
82 @Nullable @Override public String getType() { return type; } in getType()
83 @Nullable @Override public String getSignature() { return signature; } in getSignature()
DImmutableEndLocal.java38 import javax.annotation.Nullable;
42 @Nullable protected final String name;
43 @Nullable protected final String type;
44 @Nullable protected final String signature;
57 @Nullable String name, in ImmutableEndLocal()
58 @Nullable String type, in ImmutableEndLocal()
59 @Nullable String signature) { in ImmutableEndLocal()
81 @Nullable @Override public String getName() { return name; } in getName()
82 @Nullable @Override public String getType() { return type; } in getType()
83 @Nullable @Override public String getSignature() { return signature; } in getSignature()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DClassSection.java41 import javax.annotation.Nullable;
51 @Nullable Map.Entry<? extends ClassKey, Integer> getClassEntryByType(@Nullable TypeKey key); in getClassEntryByType()
55 @Nullable TypeKey getSuperclass(@Nonnull ClassKey key); in getSuperclass()
56 @Nullable TypeListKey getInterfaces(@Nonnull ClassKey key); in getInterfaces()
57 @Nullable StringKey getSourceFile(@Nonnull ClassKey key); in getSourceFile()
58 @Nullable Collection<? extends EncodedValue> getStaticInitializers(@Nonnull ClassKey key); in getStaticInitializers()
70 @Nullable AnnotationSetKey getClassAnnotations(@Nonnull ClassKey key); in getClassAnnotations()
71 @Nullable AnnotationSetKey getFieldAnnotations(@Nonnull FieldKey key); in getFieldAnnotations()
72 @Nullable AnnotationSetKey getMethodAnnotations(@Nonnull MethodKey key); in getMethodAnnotations()
73 @Nullable List<? extends AnnotationSetKey> getParameterAnnotations(@Nonnull MethodKey key); in getParameterAnnotations()
[all …]
/external/guava/guava/src/com/google/common/base/
DConverter.java27 import javax.annotation.Nullable;
145 @Nullable
146 public final B convert(@Nullable A a) { in convert()
150 @Nullable
151 B correctedDoForward(@Nullable A a) { in correctedDoForward()
160 @Nullable
161 A correctedDoBackward(@Nullable B b) { in correctedDoBackward()
242 @Nullable
243 A correctedDoForward(@Nullable B b) {
248 @Nullable
[all …]
DEquivalence.java26 import javax.annotation.Nullable;
64 public final boolean equivalent(@Nullable T a, @Nullable T b) { in equivalent()
100 public final int hash(@Nullable T t) { in hash()
150 public final <S extends T> Wrapper<S> wrap(@Nullable S reference) { in wrap()
174 @Nullable private final T reference;
176 private Wrapper(Equivalence<? super T> equivalence, @Nullable T reference) { in Wrapper()
182 @Nullable public T get() { in get()
191 @Override public boolean equals(@Nullable Object obj) { in equals()
254 public final Predicate<T> equivalentTo(@Nullable T target) { in equivalentTo()
261 @Nullable private final T target;
[all …]
DFunctions.java28 import javax.annotation.Nullable;
88 @Nullable
89 public Object apply(@Nullable Object o) { in apply()
119 public V apply(@Nullable K key) { in apply()
125 @Override public boolean equals(@Nullable Object o) { in equals()
154 public static <K, V> Function<K, V> forMap(Map<K, ? extends V> map, @Nullable V defaultValue) { in forMap()
162 ForMapWithDefault(Map<K, ? extends V> map, @Nullable V defaultValue) { in ForMapWithDefault()
168 public V apply(@Nullable K key) { in apply()
173 @Override public boolean equals(@Nullable Object o) { in equals()
215 public C apply(@Nullable A a) { in apply()
[all …]
DPreconditions.java19 import javax.annotation.Nullable;
120 public static void checkArgument(boolean expression, @Nullable Object errorMessage) { in checkArgument()
142 @Nullable String errorMessageTemplate, in checkArgument()
143 @Nullable Object... errorMessageArgs) { in checkArgument()
171 public static void checkState(boolean expression, @Nullable Object errorMessage) { in checkState()
194 @Nullable String errorMessageTemplate, in checkState()
195 @Nullable Object... errorMessageArgs) { in checkState()
224 public static <T> T checkNotNull(T reference, @Nullable Object errorMessage) { in checkNotNull()
246 @Nullable String errorMessageTemplate, in checkNotNull()
247 @Nullable Object... errorMessageArgs) { in checkNotNull()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliAnnotation.java40 import org.jetbrains.annotations.Nullable;
60 @Nullable @Override public String getQualifiedName() { in getQualifiedName()
68 @Nullable public String getSmaliName() { in getSmaliName()
81 @Nullable @Override public PsiJavaCodeReferenceElement getNameReferenceElement() { in getNameReferenceElement()
92 …@Nullable @Override public PsiAnnotationMemberValue findAttributeValue(@Nullable @NonNls String at… in findAttributeValue()
96 @Nullable @Override
97 …public PsiAnnotationMemberValue findDeclaredAttributeValue(@Nullable @NonNls String attributeName)… in findDeclaredAttributeValue()
103 @Nullable @NonNls String attributeName, @Nullable T value) { in setDeclaredAttributeValue()
108 @Nullable @Override public PsiAnnotationOwner getOwner() { in getOwner()
112 @Nullable @Override public PsiMetaData getMetaData() { in getMetaData()
/external/testng/src/main/java/org/testng/reporters/
DXMLStringBuffer.java8 import org.testng.internal.Nullable;
64 …private void init(IBuffer buffer, String start, @Nullable String version, @Nullable String encodin… in init()
102 public void push(String tagName, @Nullable String schema, @Nullable Properties attributes) { in push()
115 public void push(String tagName, @Nullable String schema) { in push()
126 public void push(String tagName, @Nullable Properties attributes) { in push()
192 public void addRequired(String tagName, @Nullable String value) { in addRequired()
203 public void addRequired(String tagName, @Nullable String value, @Nullable Properties attributes) { in addRequired()
206 public void addRequired(String tagName, @Nullable String value, String... attributes) { in addRequired()
217 public void addOptional(String tagName, @Nullable String value, @Nullable Properties attributes) { in addOptional()
223 public void addOptional(String tagName, @Nullable String value, String... attributes) { in addOptional()
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/
DNullPointerTesterTest.java51 import javax.annotation.Nullable;
83 staticOneArgNullableCorrectlyDoesNotThrowNPE(@Nullable String s) { in staticOneArgNullableCorrectlyDoesNotThrowNPE()
87 staticOneArgNullableCorrectlyThrowsOtherThanNPE(@Nullable String s) { in staticOneArgNullableCorrectlyThrowsOtherThanNPE()
91 staticOneArgNullableThrowsNPE(@Nullable String s) { in staticOneArgNullableThrowsNPE()
104 public void oneArgNullableCorrectlyDoesNotThrowNPE(@Nullable String s) { in oneArgNullableCorrectlyDoesNotThrowNPE()
107 public void oneArgNullableCorrectlyThrowsOtherThanNPE(@Nullable String s) { in oneArgNullableCorrectlyThrowsOtherThanNPE()
110 public void oneArgNullableThrowsNPE(@Nullable String s) { in oneArgNullableThrowsNPE()
276 public void normalNullable(String first, @Nullable Integer second) { in normalNullable()
281 public void nullableNormal(@Nullable String first, Integer second) { in nullableNormal()
287 @Nullable String first, @Nullable Integer second) { in nullableNullable()
[all …]

12345678910>>...31