Home
last modified time | relevance | path

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

12345678910>>...96

/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/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/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/dexmaker/src/dx/java/com/android/dx/dex/file/
DAnnotationSetItem.java35 private final Annotations annotations; field in AnnotationSetItem
49 public AnnotationSetItem(Annotations annotations) { in AnnotationSetItem() argument
50 super(ALIGNMENT, writeSize(annotations)); in AnnotationSetItem()
52 this.annotations = annotations; in AnnotationSetItem()
53 this.items = new AnnotationItem[annotations.size()]; in AnnotationSetItem()
56 for (Annotation a : annotations.getAnnotations()) { in AnnotationSetItem()
68 private static int writeSize(Annotations annotations) { in writeSize() argument
72 return (annotations.size() * ENTRY_WRITE_SIZE) + 4; in writeSize()
85 return annotations; in getAnnotations()
91 return annotations.hashCode(); in hashCode()
[all …]
DAnnotationSetRefItem.java33 private AnnotationSetItem annotations; field in AnnotationSetRefItem
40 public AnnotationSetRefItem(AnnotationSetItem annotations) { in AnnotationSetRefItem() argument
43 if (annotations == null) { in AnnotationSetRefItem()
47 this.annotations = annotations; in AnnotationSetRefItem()
60 annotations = wordData.intern(annotations); in addContents()
66 return annotations.toHuman(); in toHuman()
72 int annotationsOff = annotations.getAbsoluteOffset(); in writeTo0()
DMethodAnnotationStruct.java34 private AnnotationSetItem annotations; field in MethodAnnotationStruct
43 AnnotationSetItem annotations) { in MethodAnnotationStruct() argument
48 if (annotations == null) { in MethodAnnotationStruct()
53 this.annotations = annotations; in MethodAnnotationStruct()
81 annotations = wordData.intern(annotations); in addContents()
87 int annotationsOff = annotations.getAbsoluteOffset(); in writeTo()
102 return method.toHuman() + ": " + annotations; in toHuman()
120 return annotations.getAnnotations(); in getAnnotations()
DFieldAnnotationStruct.java34 private AnnotationSetItem annotations; field in FieldAnnotationStruct
43 AnnotationSetItem annotations) { in FieldAnnotationStruct() argument
48 if (annotations == null) { in FieldAnnotationStruct()
53 this.annotations = annotations; in FieldAnnotationStruct()
81 annotations = wordData.intern(annotations); in addContents()
87 int annotationsOff = annotations.getAbsoluteOffset(); in writeTo()
102 return field.toHuman() + ": " + annotations; in toHuman()
120 return annotations.getAnnotations(); in getAnnotations()
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/
DAnnotations.java40 private final TreeMap<CstType, Annotation> annotations; field in Annotations
72 public static Annotations combine(Annotations annotations, in combine() argument
76 result.addAll(annotations); in combine()
87 annotations = new TreeMap<CstType, Annotation>(); in Annotations()
93 return annotations.hashCode(); in hashCode()
105 return annotations.equals(otherAnnotations.annotations); in equals()
110 Iterator<Annotation> thisIter = annotations.values().iterator(); in compareTo()
111 Iterator<Annotation> otherIter = other.annotations.values().iterator(); in compareTo()
139 for (Annotation a : annotations.values()) { in toString()
158 return annotations.size(); in size()
[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/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;
DC.java3 import org.testng.annotations.AfterSuite;
4 import org.testng.annotations.AfterTest;
5 import org.testng.annotations.BeforeSuite;
6 import org.testng.annotations.BeforeTest;
7 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/dexmaker/src/dx/java/com/android/dx/util/
DByteArrayAnnotatedOutput.java54 private ArrayList<Annotation> annotations; field in ByteArrayAnnotatedOutput
111 this.annotations = null; in ByteArrayAnnotatedOutput()
351 return (annotations != null); in annotates()
361 if (annotations == null) { in annotate()
366 annotations.add(new Annotation(cursor, msg)); in annotate()
371 if (annotations == null) { in annotate()
377 int asz = annotations.size(); in annotate()
378 int lastEnd = (asz == 0) ? 0 : annotations.get(asz - 1).getEnd(); in annotate()
387 annotations.add(new Annotation(startAt, startAt + amt, msg)); in annotate()
392 if (annotations == null) { in endAnnotation()
[all …]
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/reflect/
DMethod.java123 java.lang.annotation.Annotation[] annotations = method.getDeclaredAnnotations(); in isAnnotationPresent() local
124 if (annotations != null) { in isAnnotationPresent()
125 for (java.lang.annotation.Annotation annotation : annotations) { in isAnnotationPresent()
138 java.lang.annotation.Annotation[] annotations = method.getDeclaredAnnotations(); in getDeclaredAnnotations() local
139 if (annotations == null) in getDeclaredAnnotations()
141 Annotation[] result = new Annotation[annotations.length]; in getDeclaredAnnotations()
142 for (int i = 0; i < annotations.length; i++) { in getDeclaredAnnotations()
143 result[i] = new Annotation(annotations[i]); in getDeclaredAnnotations()
152 java.lang.annotation.Annotation[] annotations = method.getDeclaredAnnotations(); in getDeclaredAnnotation() local
153 if (annotations == null) in getDeclaredAnnotation()
[all …]
/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/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/junit/src/org/junit/experimental/theories/
DParameterSignature.java36 private final Annotation[] annotations; field in ParameterSignature
38 private ParameterSignature(Class<?> type, Annotation[] annotations) { in ParameterSignature() argument
40 this.annotations= annotations; in ParameterSignature()
52 return Arrays.asList(annotations); in getAnnotations()
64 Annotation[] annotations2= annotations; in findDeepAnnotation()
69 Annotation[] annotations, Class<T> annotationType, int depth) { in findDeepAnnotation() argument
72 for (Annotation each : annotations) { in findDeepAnnotation()
/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>>...96