Home
last modified time | relevance | path

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

12345678910>>...172

/external/turbine/java/com/google/turbine/bytecode/
DAttribute.java105 List<AnnotationInfo> annotations(); in annotations() method
110 List<AnnotationInfo> annotations; field in Attribute.RuntimeVisibleAnnotations
112 public RuntimeVisibleAnnotations(List<AnnotationInfo> annotations) { in RuntimeVisibleAnnotations() argument
113 this.annotations = annotations; in RuntimeVisibleAnnotations()
117 public List<AnnotationInfo> annotations() { in annotations() method in Attribute.RuntimeVisibleAnnotations
118 return annotations; in annotations()
129 List<AnnotationInfo> annotations; field in Attribute.RuntimeInvisibleAnnotations
131 public RuntimeInvisibleAnnotations(List<AnnotationInfo> annotations) { in RuntimeInvisibleAnnotations() argument
132 this.annotations = annotations; in RuntimeInvisibleAnnotations()
136 public List<AnnotationInfo> annotations() { in annotations() method in Attribute.RuntimeInvisibleAnnotations
[all …]
/external/libtextclassifier/native/annotator/pod_ner/
Dpod-ner-impl_test.cc110 std::vector<AnnotatedSpan> annotations; in TEST_F() local
112 UTF8ToUnicodeText("Google New York , in New York"), &annotations)); in TEST_F()
113 EXPECT_THAT(annotations, Not(IsEmpty())); in TEST_F()
117 std::vector<AnnotatedSpan> annotations; in TEST_F() local
122 &annotations)); in TEST_F()
123 EXPECT_THAT(annotations, Not(IsEmpty())); in TEST_F()
133 std::vector<AnnotatedSpan> annotations; in TEST_F() local
134 ASSERT_TRUE(annotator->Annotate(UTF8ToUnicodeText(""), &annotations)); in TEST_F()
135 EXPECT_THAT(annotations, IsEmpty()); in TEST_F()
194 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/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-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/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/turbine/java/com/google/turbine/binder/bound/
DTypeBoundClass.java60 ImmutableList<AnnoInfo> annotations(); in annotations() method
66 private final ImmutableList<AnnoInfo> annotations; field in TypeBoundClass.TyVarInfo
69 IntersectionTy upperBound, @Nullable Type lowerBound, ImmutableList<AnnoInfo> annotations) { in TyVarInfo() argument
75 this.annotations = annotations; in TyVarInfo()
90 public ImmutableList<AnnoInfo> annotations() { in annotations() method in TypeBoundClass.TyVarInfo
91 return annotations; in annotations()
100 private final ImmutableList<AnnoInfo> annotations; field in TypeBoundClass.FieldInfo
109 ImmutableList<AnnoInfo> annotations, in FieldInfo() argument
115 this.annotations = annotations; in FieldInfo()
151 public ImmutableList<AnnoInfo> annotations() { in annotations() method in TypeBoundClass.FieldInfo
[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/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/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 …]
DHashFunctionBenchmark.java23 import org.openjdk.jmh.annotations.Benchmark;
24 import org.openjdk.jmh.annotations.BenchmarkMode;
25 import org.openjdk.jmh.annotations.Fork;
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;
32 import org.openjdk.jmh.annotations.State;
[all …]
DGetByteBenchmark.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.Measurement;
26 import org.openjdk.jmh.annotations.Mode;
27 import org.openjdk.jmh.annotations.OutputTimeUnit;
28 import org.openjdk.jmh.annotations.Param;
29 import org.openjdk.jmh.annotations.Scope;
30 import org.openjdk.jmh.annotations.Setup;
31 import org.openjdk.jmh.annotations.State;
[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/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/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/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/proguard/src/proguard/classfile/editor/
DAnnotationsAttributeEditor.java52 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()
61 annotations = targetAnnotationsAttribute.annotations; in addAnnotation()
65 annotations[targetAnnotationsAttribute.u2annotationsCount++] = annotation; in addAnnotation()
/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/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 …]
/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/testng/src/test/java/test/v6/
DA.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.BeforeClass;
8 import org.testng.annotations.BeforeGroups;
9 import org.testng.annotations.BeforeMethod;
10 import org.testng.annotations.BeforeSuite;
11 import org.testng.annotations.Test;

12345678910>>...172