Home
last modified time | relevance | path

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

12345678910>>...101

/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 …]
DJDK15TagFactory.java1 package org.testng.internal.annotations;
11 import org.testng.annotations.AfterClass;
12 import org.testng.annotations.AfterGroups;
13 import org.testng.annotations.AfterMethod;
14 import org.testng.annotations.AfterSuite;
15 import org.testng.annotations.AfterTest;
16 import org.testng.annotations.BeforeClass;
17 import org.testng.annotations.BeforeGroups;
18 import org.testng.annotations.BeforeMethod;
19 import org.testng.annotations.BeforeSuite;
[all …]
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexMemberAnnotation.java12 public final S annotations; field in DexMemberAnnotation
14 public DexMemberAnnotation(T item, S annotations) { in DexMemberAnnotation() argument
16 this.annotations = annotations; in DexMemberAnnotation()
22 annotations.collectIndexedItems(indexedItems); in collectIndexedItems()
27 annotations.collectMixedSectionItems(mixedItems); in collectMixedSectionItems()
32 return item.hashCode() * 7 + annotations.hashCode(); in hashCode()
42 return item.equals(otherMember.item) && annotations.equals(otherMember.annotations); in equals()
49 public DexFieldAnnotation(DexField item, DexAnnotationSet annotations) { in DexFieldAnnotation() argument
50 super(item, annotations); in DexFieldAnnotation()
56 public DexMethodAnnotation(DexMethod item, DexAnnotationSet annotations) { in DexMethodAnnotation() argument
[all …]
DDexAnnotationSet.java16 public final DexAnnotation[] annotations; field in DexAnnotationSet
19 public DexAnnotationSet(DexAnnotation[] annotations) { in DexAnnotationSet() argument
20 this.annotations = annotations; in DexAnnotationSet()
29 return Arrays.hashCode(annotations); in hashCode()
39 return Arrays.equals(annotations, o.annotations); in equals()
46 collectAll(indexedItems, annotations); in collectIndexedItems()
52 collectAll(mixedItems, annotations); in collectMixedSectionItems()
56 return annotations.length == 0; in isEmpty()
64 Arrays.sort(annotations, (a, b) -> a.annotation.type.compareTo(b.annotation.type)); in sort()
65 for (DexAnnotation annotation : annotations) { in sort()
[all …]
DDexEncodedField.java17 public DexAnnotationSet annotations; field in DexEncodedField
20 public DexEncodedField(DexField field, DexAccessFlags accessFlags, DexAnnotationSet annotations, in DexEncodedField() argument
25 this.annotations = annotations; in DexEncodedField()
32 annotations.collectIndexedItems(indexedItems); in collectIndexedItems()
40 annotations.collectMixedSectionItems(mixedItems); in collectMixedSectionItems()
64 return !annotations.isEmpty(); in hasAnnotation()
81 accessFlags, annotations, staticValue); in toRenamedField()
88 return new DexEncodedField(field, accessFlags, annotations, staticValue); in toTypeSubstitutedField()
/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/r8/src/main/java/com/android/tools/r8/shaking/
DAnnotationRemover.java109 clazz.annotations = stripAnnotations(clazz.annotations, this::filterAnnotations); in run()
119 method.annotations = stripAnnotations(method.annotations, this::filterAnnotations); in processMethods()
127 field.annotations = stripAnnotations(field.annotations, this::filterAnnotations); in processFields()
131 private DexAnnotationSetRefList stripAnnotations(DexAnnotationSetRefList annotations, in stripAnnotations() argument
134 for (int i = 0; i < annotations.values.length; i++) { in stripAnnotations()
135 DexAnnotationSet updated = stripAnnotations(annotations.values[i], filter); in stripAnnotations()
136 if (updated != annotations.values[i]) { in stripAnnotations()
138 filtered = annotations.values.clone(); in stripAnnotations()
144 return annotations; in stripAnnotations()
153 private DexAnnotationSet stripAnnotations(DexAnnotationSet annotations, in stripAnnotations() argument
[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()
DAnnotationsAttribute.java35 public Annotation[] annotations; field in AnnotationsAttribute
51 Annotation[] annotations) in AnnotationsAttribute() argument
56 this.annotations = annotations; in AnnotationsAttribute()
69 annotationVisitor.visitAnnotation(clazz, annotations[index]); in annotationsAccept()
83 annotationVisitor.visitAnnotation(clazz, field, annotations[index]); in annotationsAccept()
97 annotationVisitor.visitAnnotation(clazz, method, annotations[index]); in annotationsAccept()
111 annotationVisitor.visitAnnotation(clazz, method, codeAttribute, annotations[index]); in annotationsAccept()
/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/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;
DB.java3 import org.testng.annotations.AfterClass;
4 import org.testng.annotations.AfterMethod;
5 import org.testng.annotations.BeforeClass;
6 import org.testng.annotations.BeforeMethod;
7 import org.testng.annotations.BeforeSuite;
8 import org.testng.annotations.Test;
/external/testng/src/test/java/test/invokedmethodlistener/
DBase.java3 import org.testng.annotations.AfterClass;
4 import org.testng.annotations.AfterMethod;
5 import org.testng.annotations.AfterSuite;
6 import org.testng.annotations.AfterTest;
7 import org.testng.annotations.BeforeClass;
8 import org.testng.annotations.BeforeMethod;
9 import org.testng.annotations.BeforeSuite;
10 import org.testng.annotations.BeforeTest;
11 import org.testng.annotations.Test;
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/
DJmhClientSocketBenchmark.java20 import org.openjdk.jmh.annotations.AuxCounters;
21 import org.openjdk.jmh.annotations.Benchmark;
22 import org.openjdk.jmh.annotations.Fork;
23 import org.openjdk.jmh.annotations.Level;
24 import org.openjdk.jmh.annotations.Param;
25 import org.openjdk.jmh.annotations.Scope;
26 import org.openjdk.jmh.annotations.Setup;
27 import org.openjdk.jmh.annotations.State;
28 import org.openjdk.jmh.annotations.TearDown;
29 import org.openjdk.jmh.annotations.Threads;
DJmhServerSocketBenchmark.java20 import org.openjdk.jmh.annotations.AuxCounters;
21 import org.openjdk.jmh.annotations.Benchmark;
22 import org.openjdk.jmh.annotations.Fork;
23 import org.openjdk.jmh.annotations.Level;
24 import org.openjdk.jmh.annotations.Param;
25 import org.openjdk.jmh.annotations.Scope;
26 import org.openjdk.jmh.annotations.Setup;
27 import org.openjdk.jmh.annotations.State;
28 import org.openjdk.jmh.annotations.TearDown;
29 import org.openjdk.jmh.annotations.Threads;
DJmhEngineWrapBenchmark.java37 import org.openjdk.jmh.annotations.Benchmark;
38 import org.openjdk.jmh.annotations.Fork;
39 import org.openjdk.jmh.annotations.Level;
40 import org.openjdk.jmh.annotations.Param;
41 import org.openjdk.jmh.annotations.Scope;
42 import org.openjdk.jmh.annotations.Setup;
43 import org.openjdk.jmh.annotations.State;
44 import org.openjdk.jmh.annotations.TearDown;
45 import org.openjdk.jmh.annotations.Threads;
DJmhEngineHandshakeBenchmark.java37 import org.openjdk.jmh.annotations.Benchmark;
38 import org.openjdk.jmh.annotations.Fork;
39 import org.openjdk.jmh.annotations.Level;
40 import org.openjdk.jmh.annotations.Param;
41 import org.openjdk.jmh.annotations.Scope;
42 import org.openjdk.jmh.annotations.Setup;
43 import org.openjdk.jmh.annotations.State;
44 import org.openjdk.jmh.annotations.Threads;
/external/guava/guava/src/com/google/common/reflect/
DParameter.java21 import com.google.common.annotations.Beta;
42 private final ImmutableList<Annotation> annotations; field in Parameter
48 Annotation[] annotations) { in Parameter() argument
52 this.annotations = ImmutableList.copyOf(annotations); in Parameter()
73 for (Annotation annotation : annotations) { in getAnnotation()
98 return annotations.toArray(new Annotation[annotations.size()]); in getDeclaredAnnotations()
108 return FluentIterable.from(annotations) in getDeclaredAnnotation()
120 return FluentIterable.from(annotations) in getDeclaredAnnotationsByType()
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/
DBufferPerformanceBench.java26 import org.openjdk.jmh.annotations.Benchmark;
27 import org.openjdk.jmh.annotations.BenchmarkMode;
28 import org.openjdk.jmh.annotations.Fork;
29 import org.openjdk.jmh.annotations.Group;
30 import org.openjdk.jmh.annotations.GroupThreads;
31 import org.openjdk.jmh.annotations.Level;
32 import org.openjdk.jmh.annotations.Measurement;
33 import org.openjdk.jmh.annotations.Mode;
34 import org.openjdk.jmh.annotations.OutputTimeUnit;
35 import org.openjdk.jmh.annotations.Param;
[all …]
/external/junit/src/main/java/org/junit/runner/
DDescription.java44 public static Description createSuiteDescription(String name, Annotation... annotations) { in createSuiteDescription() argument
45 return new Description(null, name, annotations); in createSuiteDescription()
57 …Description createSuiteDescription(String name, Serializable uniqueId, Annotation... annotations) { in createSuiteDescription() argument
58 return new Description(null, name, uniqueId, annotations); in createSuiteDescription()
72 …tatic Description createTestDescription(String className, String name, Annotation... annotations) { in createTestDescription() argument
73 return new Description(null, formatDisplayName(name, className), annotations); in createTestDescription()
85 … static Description createTestDescription(Class<?> clazz, String name, Annotation... annotations) { in createTestDescription() argument
86 return new Description(clazz, formatDisplayName(name, clazz.getName()), annotations); in createTestDescription()
150 private Description(Class<?> clazz, String displayName, Annotation... annotations) { in Description() argument
151 this(clazz, displayName, displayName, annotations); in Description()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableMethodParameter.java48 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in ImmutableMethodParameter
52 @Nullable Set<? extends Annotation> annotations, in ImmutableMethodParameter() argument
55 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableMethodParameter()
60 … @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, in ImmutableMethodParameter() argument
63 this.annotations = ImmutableUtils.nullToEmptySet(annotations); in ImmutableMethodParameter()
78 @Nonnull @Override public Set<? extends Annotation> getAnnotations() { return annotations; } in getAnnotations()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderAnnotationSet.java46 @Nonnull final Set<BuilderAnnotation> annotations; field in BuilderAnnotationSet
49 public BuilderAnnotationSet(@Nonnull Set<BuilderAnnotation> annotations) { in BuilderAnnotationSet() argument
50 this.annotations = annotations; in BuilderAnnotationSet()
54 return annotations.iterator(); in iterator()
58 return annotations.size(); in size()
/external/testng/src/test/java/test/configuration/
DConfigurationTest.java3 import org.testng.annotations.AfterClass;
4 import org.testng.annotations.AfterMethod;
5 import org.testng.annotations.AfterSuite;
6 import org.testng.annotations.BeforeClass;
7 import org.testng.annotations.BeforeMethod;
8 import org.testng.annotations.BeforeSuite;
9 import org.testng.annotations.Test;
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java88 final Annotation annotations[][] = getParameterAnnotations(); in invoke() local
98 } else if (MethodDescriptor.hasDefaultValue(annotations[i])) { in invoke()
99 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke()
117 final Annotation annotations[][] = getParameterAnnotations(); in invoke() local
123 String parameterName = getName(annotations[i]); in invoke()
126 } else if (MethodDescriptor.hasDefaultValue(annotations[i])) { in invoke()
127 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke()
312 final Annotation[][] annotations = mMethod.getParameterAnnotations(); in getHelp() local
320 helpBuilder.append(getHelpForParameter(genericParameterTypes[i], annotations[i])); in getHelp()
354 private static String getHelpForParameter(Type parameterType, Annotation[] annotations) { in getHelpForParameter() argument
[all …]
/external/testng/src/test/java/test/dataprovider/
DConfigurationAndDataProvidersTest.java4 import org.testng.annotations.BeforeClass;
5 import org.testng.annotations.BeforeMethod;
6 import org.testng.annotations.BeforeSuite;
7 import org.testng.annotations.BeforeTest;
8 import org.testng.annotations.DataProvider;
9 import org.testng.annotations.Test;

12345678910>>...101