Home
last modified time | relevance | path

Searched refs:annotations (Results 1 – 25 of 5879) sorted by relevance

12345678910>>...236

/external/turbine/java/com/google/turbine/bytecode/
DAttribute.java110 List<AnnotationInfo> annotations(); in annotations() method
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()
134 List<AnnotationInfo> annotations; field in Attribute.RuntimeInvisibleAnnotations
136 public RuntimeInvisibleAnnotations(List<AnnotationInfo> annotations) { in RuntimeInvisibleAnnotations() argument
137 this.annotations = annotations; in RuntimeInvisibleAnnotations()
141 public List<AnnotationInfo> annotations() { in annotations() method in Attribute.RuntimeInvisibleAnnotations
[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/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/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()
95 return annotations; in getAnnotations()
112 public PackageDeclaration setAnnotations(final NodeList<AnnotationExpr> annotations) { in setAnnotations() argument
113 assertNotNull(annotations); in setAnnotations()
114 if (annotations == this.annotations) { in setAnnotations()
117 notifyPropertyChange(ObservableProperty.ANNOTATIONS, this.annotations, annotations); in setAnnotations()
[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/turbine/java/com/google/turbine/binder/bound/
DTypeBoundClass.java69 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()
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
123 this.annotations = annotations; in FieldInfo()
159 public ImmutableList<AnnoInfo> annotations() { in annotations() method in TypeBoundClass.FieldInfo
[all …]
/external/angle/build/android/
Dchromium_annotations.flags5 # Contains flags related to annotations in //build/android that can be safely
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.
24 -keep,allowaccessmodification @org.chromium.build.annotations.UsedByReflection class ** {}
[all …]
/external/cronet/build/android/
Dchromium_annotations.flags5 # Contains flags related to annotations in //build/android that can be safely
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.
24 -keep,allowaccessmodification @org.chromium.build.annotations.UsedByReflection class ** {}
[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/body/
DReceiverParameter.java55 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()
138 public ReceiverParameter setAnnotations(final NodeList<AnnotationExpr> annotations) { in setAnnotations() argument
139 assertNotNull(annotations); in setAnnotations()
140 if (annotations == this.annotations) { in setAnnotations()
143 notifyPropertyChange(ObservableProperty.ANNOTATIONS, this.annotations, annotations); in setAnnotations()
[all …]
DBodyDeclaration.java46 private NodeList<AnnotationExpr> annotations; field in BodyDeclaration
53 public BodyDeclaration(NodeList<AnnotationExpr> annotations) { in BodyDeclaration() argument
54 this(null, annotations); in BodyDeclaration()
61 public BodyDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations) { in BodyDeclaration() argument
63 setAnnotations(annotations); in BodyDeclaration()
73 return annotations; in getAnnotations()
78 public T setAnnotations(final NodeList<AnnotationExpr> annotations) { in setAnnotations() argument
79 assertNotNull(annotations); in setAnnotations()
80 if (annotations == this.annotations) { in setAnnotations()
83 notifyPropertyChange(ObservableProperty.ANNOTATIONS, this.annotations, annotations); in setAnnotations()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DBodyDeclaration.java35 private List<AnnotationExpr> annotations; field in BodyDeclaration
40 public BodyDeclaration(List<AnnotationExpr> annotations) { in BodyDeclaration() argument
41 setAnnotations(annotations); in BodyDeclaration()
44 …ion(int beginLine, int beginColumn, int endLine, int endColumn, List<AnnotationExpr> annotations) { in BodyDeclaration() argument
46 setAnnotations(annotations); in BodyDeclaration()
50 if (annotations==null){ in getAnnotations()
51 annotations = new ArrayList<AnnotationExpr>(); in getAnnotations()
53 return annotations; in getAnnotations()
56 public final void setAnnotations(List<AnnotationExpr> annotations) { in setAnnotations() argument
57 this.annotations = annotations; in setAnnotations()
[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/body/
DBodyDeclaration.java37 private List<AnnotationExpr> annotations; field in BodyDeclaration
42 public BodyDeclaration(List<AnnotationExpr> annotations) { in BodyDeclaration() argument
43 setAnnotations(annotations); in BodyDeclaration()
46 public BodyDeclaration(Range range, List<AnnotationExpr> annotations) { in BodyDeclaration() argument
48 setAnnotations(annotations); in BodyDeclaration()
53 annotations = Utils.ensureNotNull(annotations); in getAnnotations()
54 return annotations; in getAnnotations()
64 public final T setAnnotations(List<AnnotationExpr> annotations) { in setAnnotations() argument
65 this.annotations = annotations; in setAnnotations()
66 setAsParentNodeOf(this.annotations); in setAnnotations()
/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/
DAnnotatedTypeNameTest.kt36 val annotated = simpleString.copy(annotations = simpleString.annotations + NEVER_NULL) in annotated()
43 val actual = type.copy(annotations = type.annotations + NEVER_NULL).toString() in annotatedType()
52 annotations = type.annotations + NEVER_NULL + in annotatedTwice()
62 val actual = type.copy(annotations = type.annotations + NEVER_NULL).toString() in annotatedParameterizedType()
68 val type = String::class.asTypeName().copy(annotations = listOf(NEVER_NULL)) in annotatedArgumentOfParameterizedType()
76 val type = String::class.asTypeName().copy(annotations = listOf(NEVER_NULL)) in annotatedWildcardTypeNameWithSuper()
83 val type = String::class.asTypeName().copy(annotations = listOf(NEVER_NULL)) in annotatedWildcardTypeNameWithExtends()
100 type.copy(annotations = listOf(NEVER_NULL)), in annotatedEquivalence()
101 type.copy(annotations = listOf(NEVER_NULL)), in annotatedEquivalence()
103 assertNotEquals(type, type.copy(annotations = listOf(NEVER_NULL))) in annotatedEquivalence()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DType.java47 private NodeList<AnnotationExpr> annotations; field in Type
58 public Type(NodeList<AnnotationExpr> annotations) { in Type() argument
59 this(null, annotations); in Type()
66 public Type(TokenRange tokenRange, NodeList<AnnotationExpr> annotations) { in Type() argument
68 setAnnotations(annotations); in Type()
74 return annotations; in getAnnotations()
82 public Type setAnnotations(final NodeList<AnnotationExpr> annotations) { in setAnnotations() argument
83 assertNotNull(annotations); in setAnnotations()
84 if (annotations == this.annotations) { in setAnnotations()
87 notifyPropertyChange(ObservableProperty.ANNOTATIONS, this.annotations, annotations); in setAnnotations()
[all …]
/external/okio/okio/jvm/jmh/src/jmh/java/com/squareup/okio/benchmarks/
DWriteHexadecimalBenchmark.java22 import org.openjdk.jmh.annotations.Benchmark;
23 import org.openjdk.jmh.annotations.BenchmarkMode;
24 import org.openjdk.jmh.annotations.Fork;
25 import org.openjdk.jmh.annotations.Level;
26 import org.openjdk.jmh.annotations.Measurement;
27 import org.openjdk.jmh.annotations.Mode;
28 import org.openjdk.jmh.annotations.OutputTimeUnit;
29 import org.openjdk.jmh.annotations.Param;
30 import org.openjdk.jmh.annotations.Scope;
31 import org.openjdk.jmh.annotations.Setup;
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/
DType.java38 private List<AnnotationExpr> annotations; field in Type
44 this.annotations = annotation; in Type()
51 public Type(Range range, List<AnnotationExpr> annotations) { in Type() argument
53 setAnnotations(annotations); in Type()
57 annotations = ensureNotNull(annotations); in getAnnotations()
58 return annotations; in getAnnotations()
61 public T setAnnotations(List<AnnotationExpr> annotations) { in setAnnotations() argument
62 setAsParentNodeOf(annotations); in setAnnotations()
63 this.annotations = annotations; in setAnnotations()
/external/libchrome/base/test/android/junit/src/org/chromium/base/test/util/
DSkipCheckTest.java67 List<TestAnnotation> annotations = TestableSkipCheck.getAnnotationsForTesting( in getAnnotationsForClassNone() local
69 Assert.assertEquals(0, annotations.size()); in getAnnotationsForClassNone()
74 List<TestAnnotation> annotations = TestableSkipCheck.getAnnotationsForTesting( in getAnnotationsForClassOnClass() local
76 Assert.assertEquals(1, annotations.size()); in getAnnotationsForClassOnClass()
81 List<TestAnnotation> annotations = TestableSkipCheck.getAnnotationsForTesting( in getAnnotationsForClassOnSuperclass() local
83 Assert.assertEquals(1, annotations.size()); in getAnnotationsForClassOnSuperclass()
90 List<TestAnnotation> annotations = TestableSkipCheck.getAnnotationsForTesting( in getAnnotationsForMethodNone() local
92 Assert.assertEquals(0, annotations.size()); in getAnnotationsForMethodNone()
99 List<TestAnnotation> annotations = TestableSkipCheck.getAnnotationsForTesting( in getAnnotationsForMethodOnMethod() local
101 Assert.assertEquals(1, annotations.size()); in getAnnotationsForMethodOnMethod()
[all …]
/external/cronet/base/test/android/junit/src/org/chromium/base/test/util/
DSkipCheckTest.java58 List<TestAnnotation> annotations = TestableSkipCheck.getAnnotationsForTesting( in getAnnotationsForClassNone() local
60 Assert.assertEquals(0, annotations.size()); in getAnnotationsForClassNone()
65 List<TestAnnotation> annotations = TestableSkipCheck.getAnnotationsForTesting( in getAnnotationsForClassOnClass() local
67 Assert.assertEquals(1, annotations.size()); in getAnnotationsForClassOnClass()
72 List<TestAnnotation> annotations = TestableSkipCheck.getAnnotationsForTesting( in getAnnotationsForClassOnSuperclass() local
74 Assert.assertEquals(1, annotations.size()); in getAnnotationsForClassOnSuperclass()
81 List<TestAnnotation> annotations = TestableSkipCheck.getAnnotationsForTesting( in getAnnotationsForMethodNone() local
83 Assert.assertEquals(0, annotations.size()); in getAnnotationsForMethodNone()
90 List<TestAnnotation> annotations = TestableSkipCheck.getAnnotationsForTesting( in getAnnotationsForMethodOnMethod() local
92 Assert.assertEquals(1, annotations.size()); in getAnnotationsForMethodOnMethod()
[all …]
/external/proguard/src/proguard/classfile/attribute/annotation/
DTypeAnnotationsAttribute.java46 TypeAnnotation[] annotations) in TypeAnnotationsAttribute() argument
48 super(u2attributeNameIndex, u2annotationsCount, annotations); in TypeAnnotationsAttribute()
57 TypeAnnotation[] annotations = (TypeAnnotation[])this.annotations; in typeAnnotationsAccept() local
63 typeAnnotationVisitor.visitTypeAnnotation(clazz, annotations[index]); in typeAnnotationsAccept()
73 TypeAnnotation[] annotations = (TypeAnnotation[])this.annotations; in typeAnnotationsAccept() local
79 typeAnnotationVisitor.visitTypeAnnotation(clazz, field, annotations[index]); in typeAnnotationsAccept()
89 TypeAnnotation[] annotations = (TypeAnnotation[])this.annotations; in typeAnnotationsAccept() local
95 typeAnnotationVisitor.visitTypeAnnotation(clazz, method, annotations[index]); in typeAnnotationsAccept()
/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()
88 annotations = Utils.ensureNotNull(annotations); in getAnnotations()
89 return annotations; in getAnnotations()
112 public PackageDeclaration setAnnotations(List<AnnotationExpr> annotations) { in setAnnotations() argument
113 this.annotations = annotations; in setAnnotations()
114 setAsParentNodeOf(this.annotations); in setAnnotations()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java63 private NodeList<AnnotationExpr> annotations; field in VariableDeclarationExpr
97 …xpr(final NodeList<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final NodeList… in VariableDeclarationExpr() argument
98 this(null, modifiers, annotations, variables); in VariableDeclarationExpr()
105 …nge tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<Varia… in VariableDeclarationExpr() argument
108 setAnnotations(annotations); in VariableDeclarationExpr()
127 return annotations; in getAnnotations()
147 public VariableDeclarationExpr setAnnotations(final NodeList<AnnotationExpr> annotations) { in setAnnotations() argument
148 assertNotNull(annotations); in setAnnotations()
149 if (annotations == this.annotations) { in setAnnotations()
152 notifyPropertyChange(ObservableProperty.ANNOTATIONS, this.annotations, annotations); in setAnnotations()
[all …]
/external/libchrome/base/android/proguard/
Dchromium_code.flags12 # 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 *
25 # Keeps for method level annotations.
[all …]

12345678910>>...236