/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
MethodSection.java | 36 import javax.annotation.Nonnull; 40 @Nonnull TypeKey getDefiningClass(@Nonnull MethodRefKey key); 41 @Nonnull ProtoKey getPrototype(@Nonnull MethodRefKey key); 42 @Nonnull ProtoKey getPrototype(@Nonnull MethodKey key); 43 @Nonnull StringKey getName(@Nonnull MethodRefKey key); 44 int getMethodIndex(@Nonnull MethodKey key) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderContext.java | 44 import javax.annotation.Nonnull; 50 @Nonnull final BuilderStringPool stringPool; 51 @Nonnull final BuilderTypePool typePool; 52 @Nonnull final BuilderFieldPool fieldPool; 53 @Nonnull final BuilderMethodPool methodPool; 54 @Nonnull final BuilderProtoPool protoPool; 55 @Nonnull final BuilderClassPool classPool; 57 @Nonnull final BuilderTypeListPool typeListPool; 58 @Nonnull final BuilderAnnotationPool annotationPool; 59 @Nonnull final BuilderAnnotationSetPool annotationSetPool [all...] |
BuilderAnnotationPool.java | 39 import javax.annotation.Nonnull; 46 @Nonnull private final BuilderContext context; 47 @Nonnull private final ConcurrentMap<Annotation, BuilderAnnotation> internedItems = 50 BuilderAnnotationPool(@Nonnull BuilderContext context) { 54 @Nonnull public BuilderAnnotation internAnnotation(@Nonnull Annotation annotation) { 68 @Override public int getVisibility(@Nonnull BuilderAnnotation key) { 72 @Nonnull @Override public BuilderTypeReference getType(@Nonnull BuilderAnnotation key) { 76 @Nonnull @Overrid [all...] |
BuilderFieldPool.java | 39 import javax.annotation.Nonnull; 46 @Nonnull private final BuilderContext context; 47 @Nonnull private final ConcurrentMap<FieldReference, BuilderFieldReference> internedItems = 50 BuilderFieldPool(@Nonnull BuilderContext context) { 54 @Nonnull BuilderFieldReference internField(@Nonnull String definingClass, String name, String type) { 59 @Nonnull public BuilderFieldReference internField(@Nonnull FieldReference fieldReference) { 73 @Nonnull @Override 74 public BuilderTypeReference getDefiningClass(@Nonnull BuilderFieldReference key) [all...] |
DexBuilder.java | 49 import javax.annotation.Nonnull; 61 @Nonnull private final BuilderContext context; 63 @Nonnull public static DexBuilder makeDexBuilder() { 69 @Nonnull 75 @Nonnull public static DexBuilder makeDexBuilder(@Nonnull Opcodes opcodes) { 80 private DexBuilder(@Nonnull Opcodes opcodes, @Nonnull BuilderContext context) { 87 @Nonnull public BuilderField internField(@Nonnull String definingClass [all...] |
BuilderProtoPool.java | 40 import javax.annotation.Nonnull; 49 @Nonnull private final BuilderContext context; 50 @Nonnull private final ConcurrentMap<ProtoKey, BuilderProtoReference> internedItems = 53 BuilderProtoPool(@Nonnull BuilderContext context) { 57 @Nonnull public BuilderProtoReference internProto(@Nonnull List<? extends CharSequence> parameters, 58 @Nonnull String returnType) { 73 @Nonnull public BuilderProtoReference internProto(@Nonnull MethodReference methodReference) { 77 @Nonnull @Override public BuilderStringReference getShorty(@Nonnull BuilderProtoReference key) [all...] |
BuilderEncodedValues.java | 39 import javax.annotation.Nonnull; 49 @Nonnull final BuilderTypeReference typeReference; 50 @Nonnull final Set<? extends BuilderAnnotationElement> elements; 52 BuilderAnnotationEncodedValue(@Nonnull BuilderTypeReference typeReference, 53 @Nonnull Set<? extends BuilderAnnotationElement> elements) { 58 @Nonnull @Override public String getType() { 62 @Nonnull @Override public Set<? extends BuilderAnnotationElement> getElements() { 68 @Nonnull final List<? extends BuilderEncodedValue> elements; 70 BuilderArrayEncodedValue(@Nonnull List<? extends BuilderEncodedValue> elements) { 74 @Nonnull @Override public List<? extends EncodedValue> getValue() [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
AnnotationPool.java | 39 import javax.annotation.Nonnull; 44 @Nonnull StringPool stringPool; 45 @Nonnull TypePool typePool; 46 @Nonnull FieldPool fieldPool; 47 @Nonnull MethodPool methodPool; 49 public AnnotationPool(@Nonnull StringPool stringPool, @Nonnull TypePool typePool, 50 @Nonnull FieldPool fieldPool, @Nonnull MethodPool methodPool) { 57 public void intern(@Nonnull Annotation annotation) [all...] |
PoolClassDef.java | 40 import javax.annotation.Nonnull; 45 @Nonnull final ClassDef classDef; 46 @Nonnull final TypeListPool.Key<List<String>> interfaces; 47 @Nonnull final ImmutableSortedSet<Field> staticFields; 48 @Nonnull final ImmutableSortedSet<Field> instanceFields; 49 @Nonnull final ImmutableSortedSet<PoolMethod> directMethods; 50 @Nonnull final ImmutableSortedSet<PoolMethod> virtualMethods; 56 PoolClassDef(@Nonnull ClassDef classDef) { 68 @Nonnull @Override public String getType() { 80 @Nonnull @Override public List<String> getInterfaces() [all...] |
FieldPool.java | 38 import javax.annotation.Nonnull; 42 @Nonnull private final StringPool stringPool; 43 @Nonnull private final TypePool typePool; 45 public FieldPool(@Nonnull StringPool stringPool, @Nonnull TypePool typePool) { 50 public void intern(@Nonnull FieldReference field) { 59 @Nonnull @Override public CharSequence getDefiningClass(@Nonnull FieldReference fieldReference) { 63 @Nonnull @Override public CharSequence getFieldType(@Nonnull FieldReference fieldReference) [all...] |
ClassPool.java | 55 import javax.annotation.Nonnull; 64 @Nonnull private HashMap<String, PoolClassDef> internedItems = Maps.newHashMap(); 66 @Nonnull private final StringPool stringPool; 67 @Nonnull private final TypePool typePool; 68 @Nonnull private final FieldPool fieldPool; 69 @Nonnull private final MethodPool methodPool; 70 @Nonnull private final AnnotationSetPool annotationSetPool; 71 @Nonnull private final TypeListPool typeListPool; 73 public ClassPool(@Nonnull StringPool stringPool, 74 @Nonnull TypePool typePool [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
ClassDefRewriter.java | 41 import javax.annotation.Nonnull; 48 @Nonnull protected final Rewriters rewriters; 50 public ClassDefRewriter(@Nonnull Rewriters rewriters) { 54 @Nonnull @Override public ClassDef rewrite(@Nonnull ClassDef classDef) { 59 @Nonnull protected ClassDef classDef; 61 public RewrittenClassDef(@Nonnull ClassDef classdef) { 65 @Override @Nonnull public String getType() { 77 @Override @Nonnull public List<String> getInterfaces() { 85 @Override @Nonnull public Set<? extends Annotation> getAnnotations() [all...] |
MethodReferenceRewriter.java | 39 import javax.annotation.Nonnull; 43 @Nonnull protected final Rewriters rewriters; 45 public MethodReferenceRewriter(@Nonnull Rewriters rewriters) { 49 @Nonnull @Override public MethodReference rewrite(@Nonnull MethodReference methodReference) { 54 @Nonnull protected MethodReference methodReference; 56 public RewrittenMethodReference(@Nonnull MethodReference methodReference) { 60 @Override @Nonnull public String getDefiningClass() { 64 @Override @Nonnull public String getName() { 68 @Override @Nonnull public List<? extends CharSequence> getParameterTypes() [all...] |
FieldRewriter.java | 39 import javax.annotation.Nonnull; 44 @Nonnull protected final Rewriters rewriters; 46 public FieldRewriter(@Nonnull Rewriters rewriters) { 50 @Nonnull @Override public Field rewrite(@Nonnull Field field) { 55 @Nonnull protected Field field; 57 public RewrittenField(@Nonnull Field field) { 61 @Override @Nonnull public String getDefiningClass() { 65 @Override @Nonnull public String getName() { 69 @Override @Nonnull public String getType() [all...] |
/cts/tools/vm-tests-tf/src/util/build/ |
CharactersStreamSucker.java | 25 import javax.annotation.Nonnull; 33 @Nonnull 36 @Nonnull 42 @Nonnull InputStream is, @Nonnull PrintStream os, boolean toBeClose) { 48 public CharactersStreamSucker(@Nonnull InputStream is, @Nonnull PrintStream os) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
ComplexColor_Accessor.java | 22 import android.annotation.NonNull; 35 public static GradientColor createGradientColorFromXmlInner(@NonNull Resources r, 36 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) 41 public static ColorStateList createColorStateListFromXmlInner(@NonNull Resources r, 42 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme)
|
/frameworks/support/media-compat/api24/android/support/v4/media/ |
MediaBrowserCompatApi24.java | 21 import android.support.annotation.NonNull; 43 void onChildrenLoaded(@NonNull String parentId, List<?> children, @NonNull Bundle options); 44 void onError(@NonNull String parentId, @NonNull Bundle options); 54 public void onChildrenLoaded(@NonNull String parentId, 55 List<MediaBrowser.MediaItem> children, @NonNull Bundle options) { 60 public void onError(@NonNull String parentId, @NonNull Bundle options) {
|
/external/compiler-rt/test/ubsan/TestCases/Misc/ |
nonnull.cpp | 1 // RUN: %clangxx -fsanitize=returns-nonnull-attribute %s -O3 -o %t 9 // CHECK: nonnull.cpp:[[@LINE+2]]:1: runtime error: null pointer returned from function declared to never return null 10 // CHECK-NEXT: nonnull.cpp:[[@LINE-5]]:16: note: returns_nonnull attribute specified here
|
/external/jsr305/ri/src/main/java/javax/annotation/ |
Nonnull.java | 14 public @interface Nonnull { 17 static class Checker implements TypeQualifierValidator<Nonnull> { 19 public When forConstantValue(Nonnull qualifierqualifierArgument,
|
/external/jsr305/ri/src/main/java/javax/annotation/meta/ |
TypeQualifierValidator.java | 5 import javax.annotation.Nonnull; 19 public @Nonnull 20 When forConstantValue(@Nonnull A annotation, Object value);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/ |
BasicAnnotation.java | 3 import javax.annotation.Nonnull; 17 @Nonnull String getType(); 26 @Nonnull Set<? extends AnnotationElement> getElements();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/ |
ImmutableFieldReference.java | 37 import javax.annotation.Nonnull; 40 @Nonnull protected final String definingClass; 41 @Nonnull protected final String name; 42 @Nonnull protected final String type; 44 public ImmutableFieldReference(@Nonnull String definingClass, 45 @Nonnull String name, 46 @Nonnull String type) { 52 @Nonnull 53 public static ImmutableFieldReference of(@Nonnull FieldReference fieldReference) { 63 @Nonnull public String getDefiningClass() { return definingClass; [all...] |
ImmutableMethodReference.java | 40 import javax.annotation.Nonnull; 44 @Nonnull protected final String definingClass; 45 @Nonnull protected final String name; 46 @Nonnull protected final ImmutableList<String> parameters; 47 @Nonnull protected final String returnType; 49 public ImmutableMethodReference(@Nonnull String definingClass, 50 @Nonnull String name, 52 @Nonnull String returnType) { 59 public ImmutableMethodReference(@Nonnull String definingClass, 60 @Nonnull String name [all...] |
/frameworks/support/compat/java/android/support/v4/content/res/ |
ConfigurationHelper.java | 21 import android.support.annotation.NonNull; 45 int getScreenHeightDp(@NonNull Resources resources); 46 int getScreenWidthDp(@NonNull Resources resources); 47 int getSmallestScreenWidthDp(@NonNull Resources resources); 48 int getDensityDpi(@NonNull Resources resources); 53 public int getScreenHeightDp(@NonNull Resources resources) { 58 public int getScreenWidthDp(@NonNull Resources resources) { 63 public int getSmallestScreenWidthDp(@NonNull Resources resources) { 68 public int getDensityDpi(@NonNull Resources resources) { 75 public int getScreenHeightDp(@NonNull Resources resources) [all...] |
/external/clang/test/SemaObjC/ |
nonnull.m | 1 #include "nonnull.h" 10 int f2(int *x) __attribute__ ((nonnull (1))); 11 int f3(int *x) __attribute__ ((nonnull (0))); // expected-error {{'nonnull' attribute parameter 1 is out of bounds}} 12 int f4(int *x, int *y) __attribute__ ((nonnull (1,2))); 13 int f5(int *x, int *y) __attribute__ ((nonnull (2,1))); 14 int f6(NSObject *x) __attribute__ ((nonnull (1))); // no-warning 15 int f7(NSObject *x) __attribute__ ((nonnull)); // no-warning 18 extern void func1 (void (^block1)(), void (^block2)(), int) __attribute__((nonnull)); 21 __attribute__((nonnull(1,3))) [all...] |