Home
last modified time | relevance | path

Searched full:annotations (Results 1 – 25 of 9674) sorted by relevance

12345678910>>...387

/external/angle/build/android/pylib/instrumentation/
Dinstrumentation_test_instance_test.py98 'annotations': {'Feature': {'value': ['Foo']}},
103 'annotations': {'SmallTest': None},
107 'annotations': {'MediumTest': None},
113 'annotations': {'Feature': {'value': ['Bar']}},
118 'annotations': {'SmallTest': None},
127 'annotations': {
136 'annotations': {
145 'annotations': {
164 'annotations': {'Feature': {'value': ['Foo']}},
169 'annotations': {'SmallTest': None},
[all …]
/external/cronet/build/android/pylib/instrumentation/
Dinstrumentation_test_instance_test.py99 'annotations': {'Feature': {'value': ['Foo']}},
104 'annotations': {'SmallTest': None},
108 'annotations': {'MediumTest': None},
114 'annotations': {'Feature': {'value': ['Bar']}},
119 'annotations': {'SmallTest': None},
128 'annotations': {
137 'annotations': {
146 'annotations': {
165 'annotations': {'Feature': {'value': ['Foo']}},
170 'annotations': {'SmallTest': None},
[all …]
/external/cronet/build/android/pylib/utils/
Ddexdump.py23 # Annotations dict format:
37 Annotations = namedtuple('Annotations', variable
58 'annotations': <Annotations>
83 # Constructors are referenced as "<init>" in our annotations
88 annotations = _ParseAnnotations(clean_xml)
92 annotations))
113 def _ParseAnnotations(dexRaw: str) -> Dict[int, Annotations]:
114 """ Parse XML strings and return a list of Annotations mapped to
117 Annotations are written to the dex dump as human readable blocks of text
120 It is simpler to parse for all the annotations and then associate them
[all …]
/external/angle/build/android/pylib/utils/
Ddexdump.py23 # Annotations dict format:
37 Annotations = namedtuple('Annotations', variable
58 'annotations': <Annotations>
83 # Constructors are referenced as "<init>" in our annotations
88 annotations = _ParseAnnotations(clean_xml)
92 annotations))
113 def _ParseAnnotations(dexRaw: str) -> Dict[int, Annotations]:
114 """ Parse XML strings and return a list of Annotations mapped to
117 Annotations are written to the dex dump as human readable blocks of text
120 It is simpler to parse for all the annotations and then associate them
[all …]
/external/turbine/java/com/google/turbine/bytecode/
DAttribute.java109 interface Annotations extends Attribute { interface
110 List<AnnotationInfo> annotations(); in annotations() method
114 class RuntimeVisibleAnnotations implements Annotations {
115 List<AnnotationInfo> annotations; field in Attribute.RuntimeVisibleAnnotations
117 public RuntimeVisibleAnnotations(List<AnnotationInfo> annotations) { in RuntimeVisibleAnnotations() argument
118 this.annotations = annotations; in RuntimeVisibleAnnotations()
122 public List<AnnotationInfo> annotations() { in annotations() method in Attribute.RuntimeVisibleAnnotations
123 return annotations; in annotations()
133 class RuntimeInvisibleAnnotations implements Annotations {
134 List<AnnotationInfo> annotations; field in Attribute.RuntimeInvisibleAnnotations
[all …]
/external/angle/build/android/
Dchromium_annotations.flags5 # Contains flags related to annotations in //build/android that can be safely
10 -keepattributes RuntimeVisible*Annotations
13 # Keep the annotations, because if we don't, the ProGuard rules that use them
16 -keep @interface org.chromium.base.annotations.AccessedByNative
17 -keep @interface org.chromium.base.annotations.CalledByNative
18 -keep @interface org.chromium.base.annotations.CalledByNativeUnchecked
19 -keep @interface org.chromium.build.annotations.DoNotInline
20 -keep @interface org.chromium.build.annotations.UsedByReflection
21 -keep @interface org.chromium.build.annotations.IdentifierNameString
23 # Keeps for class level annotations.
[all …]
/external/cronet/build/android/
Dchromium_annotations.flags5 # Contains flags related to annotations in //build/android that can be safely
10 -keepattributes RuntimeVisible*Annotations
13 # Keep the annotations, because if we don't, the ProGuard rules that use them
16 -keep @interface org.chromium.base.annotations.AccessedByNative
17 -keep @interface org.chromium.base.annotations.CalledByNative
18 -keep @interface org.chromium.base.annotations.CalledByNativeUnchecked
19 -keep @interface org.chromium.build.annotations.DoNotInline
20 -keep @interface org.chromium.build.annotations.UsedByReflection
21 -keep @interface org.chromium.build.annotations.IdentifierNameString
23 # Keeps for class level annotations.
[all …]
/external/testng/src/main/java/org/testng/internal/annotations/
DJDK15AnnotationFinder.java1 package org.testng.internal.annotations;
13 import org.testng.annotations.AfterClass;
14 import org.testng.annotations.AfterGroups;
15 import org.testng.annotations.AfterMethod;
16 import org.testng.annotations.AfterSuite;
17 import org.testng.annotations.AfterTest;
18 import org.testng.annotations.BeforeClass;
19 import org.testng.annotations.BeforeGroups;
20 import org.testng.annotations.BeforeMethod;
21 import org.testng.annotations.BeforeSuite;
[all …]
/external/nullaway/jar-infer/jar-infer-lib/src/test/java/com/uber/nullaway/jarinfer/
DAnnotationChecker.java35 /** Class to check if the methods in the given class / jar files have the expected annotations. */
41 * Checks if the given aar file contains the expected annotations. The annotations that are
47 * @param expectedToActualAnnotations Map from 'Expect*' annotations to the actual annotations
49 * @return True when the actual annotations that are expected to be present are present iff the
50 * 'Expect*' annotations are present.
76 * Checks if the given jar file contains the expected annotations. The annotations that are
82 * @param expectedToActualAnnotations Map from 'Expect*' annotations to the actual annotations
84 * @return True when the actual annotations that are expected to be present are present iff the
85 * 'Expect*' annotations are present.
112 "Error: Invalid / Unexpected annotations found on method '" + method.name + "'"); in checkMethodAnnotationsInClass()
[all …]
/external/turbine/java/com/google/turbine/binder/bound/
DTypeBoundClass.java68 /** Declaration annotations. */
69 ImmutableList<AnnoInfo> annotations(); in annotations() method
75 private final ImmutableList<AnnoInfo> annotations; field in TypeBoundClass.TyVarInfo
78 IntersectionTy upperBound, @Nullable Type lowerBound, ImmutableList<AnnoInfo> annotations) { in TyVarInfo() argument
84 this.annotations = annotations; in TyVarInfo()
97 /** Type parameter declaration annotations. */
98 public ImmutableList<AnnoInfo> annotations() { in annotations() method in TypeBoundClass.TyVarInfo
99 return annotations; in annotations()
108 private final ImmutableList<AnnoInfo> annotations; field in TypeBoundClass.FieldInfo
117 ImmutableList<AnnoInfo> annotations, in FieldInfo() argument
[all …]
/external/jackson-annotations/
DREADME.md3 This project contains general purpose annotations for
5 The only annotations not included are ones that require dependency
9 Note that with version 1.x these annotations were part of the 'core jar'.
11 [Full Listing of Jackson Annotations](../../wiki/Jackson-Annotations) details all available annotat…
17annotations.png?branch=master)](https://travis-ci.org/FasterXML/jackson-annotations) [![Maven Cent…
18 …terxml.jackson.core/jackson-annotations/badge.svg)](http://www.javadoc.io/doc/com.fasterxml.jackso…
24 ### Improvements over typical Java annotations
28 * [Mix-in annotations](../../wiki/Mixin-Annotations) allow associating annotations on third-party c…
29annotations support full inheritance: meaning that you can ''override annotation definitions'', an…
33 All annotations are in Java package `com.fasterxml.jackson.annotation`.
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DPackageDeclaration.java47 private NodeList<AnnotationExpr> annotations = new NodeList<>(); field in PackageDeclaration
60 public PackageDeclaration(NodeList<AnnotationExpr> annotations, Name name) { in PackageDeclaration() argument
61 this(null, annotations, name); in PackageDeclaration()
68 …public PackageDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name) { in PackageDeclaration() argument
70 setAnnotations(annotations); in PackageDeclaration()
88 * Retrieves the list of annotations declared before the package
89 * declaration. Return <code>null</code> if there are no annotations.
91 * @return list of annotations or <code>null</code>
95 return annotations; in getAnnotations()
109 * @param annotations the annotations to set
[all …]
DArrayCreationLevel.java50 private NodeList<AnnotationExpr> annotations = new NodeList<>(); field in ArrayCreationLevel
65 public ArrayCreationLevel(Expression dimension, NodeList<AnnotationExpr> annotations) { in ArrayCreationLevel() argument
66 this(null, dimension, annotations); in ArrayCreationLevel()
73 …yCreationLevel(TokenRange tokenRange, Expression dimension, NodeList<AnnotationExpr> annotations) { in ArrayCreationLevel() argument
76 setAnnotations(annotations); in ArrayCreationLevel()
118 return annotations; in getAnnotations()
122 public ArrayCreationLevel setAnnotations(final NodeList<AnnotationExpr> annotations) { in setAnnotations() argument
123 assertNotNull(annotations); in setAnnotations()
124 if (annotations == this.annotations) { in setAnnotations()
127 notifyPropertyChange(ObservableProperty.ANNOTATIONS, this.annotations, annotations); in setAnnotations()
[all …]
/external/libtextclassifier/native/annotator/pod_ner/
Dpod-ner-impl_test.cc122 std::vector<AnnotatedSpan> annotations; in TEST_F() local
124 UTF8ToUnicodeText("Google New York , in New York"), &annotations)); in TEST_F()
125 EXPECT_THAT(annotations, Not(IsEmpty())); in TEST_F()
129 std::vector<AnnotatedSpan> annotations; in TEST_F() local
134 &annotations)); in TEST_F()
135 EXPECT_THAT(annotations, Not(IsEmpty())); in TEST_F()
145 std::vector<AnnotatedSpan> annotations; in TEST_F() local
146 ASSERT_TRUE(annotator->Annotate(UTF8ToUnicodeText(""), &annotations)); in TEST_F()
147 EXPECT_THAT(annotations, IsEmpty()); in TEST_F()
206 std::vector<AnnotatedSpan> annotations; in TEST_F() local
[all …]
Dutils_test.cc111 std::vector<AnnotatedSpan> annotations; in TEST_P() local
125 &annotations)); in TEST_P()
132 /*relaxed_mention_type_matching=*/false, &annotations)); in TEST_P()
135 EXPECT_EQ(annotations.size(), 1); in TEST_P()
136 EXPECT_EQ(annotations[0].span, CodepointSpan(10, 23)); in TEST_P()
137 EXPECT_EQ(annotations[0].classification[0].collection, "location"); in TEST_P()
142 std::vector<AnnotatedSpan> annotations; in TEST_P() local
151 &annotations)); in TEST_P()
158 /*relaxed_mention_type_matching=*/false, &annotations)); in TEST_P()
161 EXPECT_EQ(annotations.size(), 1); in TEST_P()
[all …]
/external/libchrome/base/android/proguard/
Dchromium_code.flags9 -keepattributes RuntimeVisible*Annotations
12 # Keep the annotations, because if we don't, the ProGuard rules that use them
15 -keep @interface org.chromium.base.annotations.AccessedByNative
16 -keep @interface org.chromium.base.annotations.CalledByNative
17 -keep @interface org.chromium.base.annotations.CalledByNativeUnchecked
18 -keep @interface org.chromium.base.annotations.DoNotInline
19 -keep @interface org.chromium.base.annotations.RemovableInRelease
20 -keep @interface org.chromium.base.annotations.UsedByReflection
22 # Keeps for class level annotations.
23 -keep @org.chromium.base.annotations.UsedByReflection class *
[all …]
/external/jackson-core/docs/javadoc/1.9/org/codehaus/jackson/jaxrs/class-use/
DAnnotations.html6 <title>Uses of Class org.codehaus.jackson.jaxrs.Annotations (Jackson JSON Processor)</title>
13 …parent.document.title="Uses of Class org.codehaus.jackson.jaxrs.Annotations (Jackson JSON Processo…
29 <li><a href="../../../../../org/codehaus/jackson/jaxrs/Annotations.html" title="enum in org.codehau…
43 <li><a href="../../../../../index.html?org/codehaus/jackson/jaxrs/class-use/Annotations.html" targe…
44 <li><a href="Annotations.html" target="_top">No Frames</a></li>
66 …f Class org.codehaus.jackson.jaxrs.Annotations" class="title">Uses of Class<br>org.codehaus.jackso…
72 …/../../../../org/codehaus/jackson/jaxrs/Annotations.html" title="enum in org.codehaus.jackson.jaxr…
94 …/../../../../org/codehaus/jackson/jaxrs/Annotations.html" title="enum in org.codehaus.jackson.jaxr…
96 …/../../../../org/codehaus/jackson/jaxrs/Annotations.html" title="enum in org.codehaus.jackson.jaxr…
103 …/../../../../org/codehaus/jackson/jaxrs/Annotations.html" title="enum in org.codehaus.jackson.jaxr…
[all …]
/external/jackson-databind/docs/javadoc/1.9/org/codehaus/jackson/jaxrs/class-use/
DAnnotations.html6 <title>Uses of Class org.codehaus.jackson.jaxrs.Annotations (Jackson JSON Processor)</title>
13 …parent.document.title="Uses of Class org.codehaus.jackson.jaxrs.Annotations (Jackson JSON Processo…
29 <li><a href="../../../../../org/codehaus/jackson/jaxrs/Annotations.html" title="enum in org.codehau…
43 <li><a href="../../../../../index.html?org/codehaus/jackson/jaxrs/class-use/Annotations.html" targe…
44 <li><a href="Annotations.html" target="_top">No Frames</a></li>
66 …f Class org.codehaus.jackson.jaxrs.Annotations" class="title">Uses of Class<br>org.codehaus.jackso…
72 …/../../../../org/codehaus/jackson/jaxrs/Annotations.html" title="enum in org.codehaus.jackson.jaxr…
94 …/../../../../org/codehaus/jackson/jaxrs/Annotations.html" title="enum in org.codehaus.jackson.jaxr…
96 …/../../../../org/codehaus/jackson/jaxrs/Annotations.html" title="enum in org.codehaus.jackson.jaxr…
103 …/../../../../org/codehaus/jackson/jaxrs/Annotations.html" title="enum in org.codehaus.jackson.jaxr…
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DAnnotations.java37 public class Annotations { class
55 private final Set<String> annotations; field in Annotations
75 private final UnicodeMap<Annotations> localeData = new UnicodeMap<>();
87 UnicodeMap<Annotations> templocaleData = null; in cleanup()
92 Annotations parentValue = parentData.baseData.get(key); in cleanup()
93 Annotations myValue = localeData.get(key); in cleanup()
101 … Set<String> annotations = myValue.annotations == null || myValue.annotations.isEmpty() in cleanup() local
102 ? parentValue.annotations : myValue.annotations; in cleanup()
103 templocaleData.put(key, new Annotations(annotations, tts)); in cleanup()
153 …private void addItems(UnicodeMap<Annotations> unicodeMap, UnicodeSet us, Set<String> attributes, S… in addItems()
[all …]
/external/python/cpython3/Doc/howto/
Dannotations.rst4 Annotations Best Practices
12 for working with annotations dicts. If you write Python code
17 best practices for accessing the annotations of an object
19 best practices for accessing the annotations of an object
27 ``__annotations__``, not uses *for* annotations.
32 Accessing The Annotations Dict Of An Object In Python 3.10 And Newer
38 accessing the annotations dict of any object that supports
39 annotations. This function can also "un-stringize"
40 stringized annotations for you.
50 to get at the object's annotations dict.
[all …]
/external/proguard/src/proguard/classfile/editor/
DAnnotationsAttributeEditor.java26 * This class can add annotations to a given annotations attribute.
27 * Annotations to be added must have been filled out beforehand.
37 * Creates a new AnnotationsAttributeEditor that will edit annotations in
38 * the given annotations attribute.
47 * Adds a given annotation to the annotations attribute.
52 Annotation[] annotations = targetAnnotationsAttribute.annotations; in addAnnotation() local
55 if (annotations.length <= annotationsCount) in addAnnotation()
57 targetAnnotationsAttribute.annotations = new Annotation[annotationsCount+1]; in addAnnotation()
58 System.arraycopy(annotations, 0, in addAnnotation()
59 targetAnnotationsAttribute.annotations, 0, in addAnnotation()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DReceiverParameter.java46 * <br/>All annotations preceding the type will be set on this object, not on the type.
55 private NodeList<AnnotationExpr> annotations; field in ReceiverParameter
78 public ReceiverParameter(NodeList<AnnotationExpr> annotations, Type type, Name name) { in ReceiverParameter() argument
79 this(null, annotations, type, name); in ReceiverParameter()
86 …public ReceiverParameter(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Type type, N… in ReceiverParameter() argument
88 setAnnotations(annotations); in ReceiverParameter()
130 return annotations; in getAnnotations()
134 …* @param annotations a null value is currently treated as an empty list. This behavior could chang…
138 public ReceiverParameter setAnnotations(final NodeList<AnnotationExpr> annotations) { in setAnnotations() argument
139 assertNotNull(annotations); in setAnnotations()
[all …]
/external/testng/src/test/java/test/mannotation/
DMTest1.java3 import org.testng.annotations.AfterClass;
4 import org.testng.annotations.AfterGroups;
5 import org.testng.annotations.AfterMethod;
6 import org.testng.annotations.AfterSuite;
7 import org.testng.annotations.AfterTest;
8 import org.testng.annotations.BeforeClass;
9 import org.testng.annotations.BeforeGroups;
10 import org.testng.annotations.BeforeMethod;
11 import org.testng.annotations.BeforeSuite;
12 import org.testng.annotations.BeforeTest;
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/modules/
DModuleDeclaration.java28 private NodeList<AnnotationExpr> annotations; field in ModuleDeclaration
43 …public ModuleDeclaration(NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList… in ModuleDeclaration() argument
44 this(null, annotations, name, isOpen, directives); in ModuleDeclaration()
51 …public ModuleDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name, b… in ModuleDeclaration() argument
53 setAnnotations(annotations); in ModuleDeclaration()
93 return annotations; in getAnnotations()
97 public ModuleDeclaration setAnnotations(final NodeList<AnnotationExpr> annotations) { in setAnnotations() argument
98 assertNotNull(annotations); in setAnnotations()
99 if (annotations == this.annotations) { in setAnnotations()
102 notifyPropertyChange(ObservableProperty.ANNOTATIONS, this.annotations, annotations); in setAnnotations()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DPackageDeclaration.java49 private List<AnnotationExpr> annotations; field in PackageDeclaration
60 public PackageDeclaration(List<AnnotationExpr> annotations, NameExpr name) { in PackageDeclaration() argument
61 setAnnotations(annotations); in PackageDeclaration()
65 public PackageDeclaration(Range range, List<AnnotationExpr> annotations, NameExpr name) { in PackageDeclaration() argument
67 setAnnotations(annotations); in PackageDeclaration()
82 * Retrieves the list of annotations declared before the package
83 * declaration. Return <code>null</code> if there are no annotations.
85 * @return list of annotations or <code>null</code>
88 annotations = Utils.ensureNotNull(annotations); in getAnnotations()
89 return annotations; in getAnnotations()
[all …]

12345678910>>...387