Home
last modified time | relevance | path

Searched refs:getAnnotations (Results 1 – 25 of 113) sorted by relevance

12345

/external/r8/src/test/examples/multidex003/
DTestAnnotationResolution.java12 clazz.getAnnotations(); in testAnnotation()
14 clazz.getAnnotations(); in testAnnotation()
16 clazz.getAnnotations(); in testAnnotation()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliParameterStatement.java62 @NotNull @Override public SmaliAnnotation[] getAnnotations() { in getAnnotations() method in SmaliParameterStatement
67 return getAnnotations(); in getApplicableAnnotations()
71 for (SmaliAnnotation annotation: getAnnotations()) { in findAnnotation()
DSmaliField.java141 @NotNull @Override public SmaliAnnotation[] getAnnotations() { in getAnnotations() method in SmaliField
146 return getAnnotations(); in getApplicableAnnotations()
150 for (SmaliAnnotation annotation: getAnnotations()) { in findAnnotation()
DSmaliMethodParameter.java195 @NotNull @Override public SmaliAnnotation[] getAnnotations() { in getAnnotations() method in SmaliMethodParameter
200 return parameterStatement.getAnnotations(); in getAnnotations()
204 return getAnnotations(); in getApplicableAnnotations()
DSmaliMethod.java273 @NotNull @Override public SmaliAnnotation[] getAnnotations() { in getAnnotations() method in SmaliMethod
278 return getAnnotations(); in getApplicableAnnotations()
282 for (SmaliAnnotation annotation: getAnnotations()) { in findAnnotation()
355 for (SmaliAnnotation annotation: containingClass.getAnnotations()) { in getDefaultValue()
DSmaliClassStatement.java110 public SmaliAnnotation[] getAnnotations() { in getAnnotations() method in SmaliClassStatement
115 return containingClass.getAnnotations(); in getAnnotations()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliAnnotationTest.java173 Assert.assertEquals(2, annotationOwner.getAnnotations().length); in doTest()
175 … Assert.assertEquals("my.TestAnnotation", annotationOwner.getAnnotations()[0].getQualifiedName()); in doTest()
176 …PsiJavaCodeReferenceElement annotationNameRef = annotationOwner.getAnnotations()[0].getNameReferen… in doTest()
182 … Assert.assertEquals("my.TestAnnotation2", annotationOwner.getAnnotations()[1].getQualifiedName()); in doTest()
183 annotationNameRef = annotationOwner.getAnnotations()[1].getNameReferenceElement(); in doTest()
DSmaliMethodTest.java146 Assert.assertEquals(0, parameters[0].getAnnotations().length); in testMethodParams()
153 Assert.assertEquals(1, parameters[1].getAnnotations().length); in testMethodParams()
154 … Assert.assertEquals("my.TestAnnotation", parameters[1].getAnnotations()[0].getQualifiedName()); in testMethodParams()
161 Assert.assertEquals(0, parameters[2].getAnnotations().length); in testMethodParams()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DClassPool.java96 dexPool.annotationSetSection.intern(field.getAnnotations()); in intern()
109 dexPool.annotationSetSection.intern(method.getAnnotations()); in intern()
112 dexPool.annotationSetSection.intern(parameter.getAnnotations()); in intern()
116 dexPool.annotationSetSection.intern(poolClassDef.getAnnotations()); in intern()
315 Set<? extends Annotation> annotations = classDef.getAnnotations();
323 Set<? extends Annotation> annotations = field.getAnnotations();
331 Set<? extends Annotation> annotations = method.getAnnotations();
341 return input.getAnnotations().size() > 0;
349 return input.getAnnotations();
DPoolMethod.java86 @Override @Nonnull public Set<? extends Annotation> getAnnotations() { in getAnnotations() method in PoolMethod
87 return method.getAnnotations(); in getAnnotations()
/external/junit-params/src/main/java/junitparams/internal/annotation/
DFrameworkMethodAnnotations.java24 return frameworkMethod.getAnnotations(); in allAnnotations()
45 for (Annotation annotation : frameworkMethod.getAnnotations()) { in getCustomParameters()
/external/junit/src/main/java/org/junit/runners/model/
DFrameworkField.java30 public Annotation[] getAnnotations() { in getAnnotations() method in FrameworkField
31 return field.getAnnotations(); in getAnnotations()
/external/vogar/src/vogar/target/junit/
DJunit4.java44 for (Annotation a : klass.getAnnotations()) { in isJunit4Test()
75 for (Annotation a : m.getAnnotations()) { in isJunit4Test()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DMethodParameterRewriter.java64 @Override @Nonnull public Set<? extends Annotation> getAnnotations() { in getAnnotations() method in MethodParameterRewriter.RewrittenMethodParameter
65 …turn RewriterUtils.rewriteSet(rewriters.getAnnotationRewriter(), methodParameter.getAnnotations()); in getAnnotations()
DFieldRewriter.java81 @Nonnull public Set<? extends Annotation> getAnnotations() { in getAnnotations() method in FieldRewriter.RewrittenField
82 … return RewriterUtils.rewriteSet(rewriters.getAnnotationRewriter(), field.getAnnotations()); in getAnnotations()
DMethodRewriter.java91 @Override @Nonnull public Set<? extends Annotation> getAnnotations() { in getAnnotations() method in MethodRewriter.RewrittenMethod
92 … return RewriterUtils.rewriteSet(rewriters.getAnnotationRewriter(), method.getAnnotations()); in getAnnotations()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DAnnotationsDirectory.java99 …public static Set<? extends DexBackedAnnotation> getAnnotations(@Nonnull final DexBackedDexFile de… in getAnnotations() method in AnnotationsDirectory
129 return getAnnotations(dexFile, annotationSetOffset);
172 return getAnnotations(dexFile, dexFile.readSmallUint(directoryOffset));
/external/junit/src/main/java/org/junit/experimental/theories/
DParameterSignature.java94 public List<Annotation> getAnnotations() { in getAnnotations() method in ParameterSignature
117 .getAnnotations(), annotationType, depth - 1); in findDeepAnnotation()
127 for (Annotation each : getAnnotations()) { in getAnnotation()
/external/r8/src/main/java/com/android/tools/r8/graph/
DJarClassFileReader.java195 getAnnotations().add( in visitSource()
215 return createAnnotationVisitor(desc, visible, getAnnotations(), application); in visitAnnotation()
278 getAnnotations().add(annotation); in addAnnotation()
281 private List<DexAnnotation> getAnnotations() { in getAnnotations() method in JarClassFileReader.CreateDexClassVisitor
319 return createAnnotationVisitor(desc, visible, getAnnotations(), parent.application); in visitAnnotation()
381 getAnnotations().add(annotation); in addAnnotation()
384 private List<DexAnnotation> getAnnotations() { in getAnnotations() method in JarClassFileReader.CreateFieldVisitor
429 return createAnnotationVisitor(desc, visible, getAnnotations(), parent.application); in visitAnnotation()
541 getAnnotations().add(DexAnnotation.createMethodParametersAnnotation( in visitEnd()
558 private List<DexAnnotation> getAnnotations() { in getAnnotations() method in JarClassFileReader
[all …]
/external/r8/src/test/examplesAndroidO/lambdadesugaringnplus/
DLambdasWithStaticAndDefaultMethods.java262 if (checkAnnotationValue(AnnotatedInterface.class.getAnnotations(), 1)) { in test()
269 AnnotatedInterface.class.getMethod("annotatedAbstractMethod").getAnnotations(), 2)) { in test()
276 AnnotatedInterface.class.getMethod("annotatedDefaultMethod").getAnnotations(), 3)) { in test()
283 getCompanionClassOrInterface().getMethod("annotatedStaticMethod").getAnnotations(), 4)) { in test()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableMethodParameter.java73 methodParameter.getAnnotations(), in of()
78 @Nonnull @Override public Set<? extends Annotation> getAnnotations() { return annotations; } in getAnnotations() method in ImmutableMethodParameter
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
DReflectionConstructor.java64 @Nonnull @Override public Set<? extends Annotation> getAnnotations() { in getParameters()
88 @Nonnull @Override public Set<? extends Annotation> getAnnotations() {
DReflectionMethod.java63 @Nonnull @Override public Set<? extends Annotation> getAnnotations() { in getParameters()
87 @Nonnull @Override public Set<? extends Annotation> getAnnotations() {
/external/guava/guava/src/com/google/common/reflect/
DElement.java60 @Override public final Annotation[] getAnnotations() { in getAnnotations() method in Element
61 return accessibleObject.getAnnotations(); in getAnnotations()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedField.java111 public Set<? extends DexBackedAnnotation> getAnnotations() { in getAnnotations() method in DexBackedField
112 return AnnotationsDirectory.getAnnotations(dexFile, annotationSetOffset); in getAnnotations()

12345