Home | History | Annotate | Download | only in dex

Lines Matching refs:ANNOTATION

48             "Ldalvik/annotation/Throws;";
50 "Ldalvik/annotation/Signature;";
52 "Ldalvik/annotation/AnnotationDefault;";
54 "Ldalvik/annotation/EnclosingClass;";
56 "Ldalvik/annotation/EnclosingMethod;";
58 "Ldalvik/annotation/InnerClass;";
60 "Ldalvik/annotation/MemberClasses;";
204 * Returns true if the given class is an annotation, false otherwise.
208 * @return true if the given class is an annotation, false otherwise
226 // order of branches is crucial since a annotation is also an interface
230 return Kind.ANNOTATION;
239 * Returns whether the specified annotated element has an annotation with
240 * type "Ldalvik/annotation/Throws;".
245 * mentioned annotation, false otherwise
253 * Returns the throws signature if the given element has such an annotation,
258 * @return he generic signature if the given element has such an annotation,
264 DexAnnotation annotation = getAnnotation(annotatedElement,
266 if (annotation != null) {
269 annotation, "value");
295 * Returns whether the specified annotated element has an annotation with
296 * type "Ldalvik/annotation/Signature;".
301 * mentioned annotation, false otherwise
310 * annotation, null otherwise.
314 * @return he generic signature if the given element has such an annotation,
320 DexAnnotation annotation = getAnnotation(annotatedElement,
322 if (annotation != null) {
325 annotation, "value");
332 * Returns whether the specified annotated element has an annotation with
333 * type "Ldalvik/annotation/AnnotationDefault;".
338 * mentioned annotation, false otherwise
347 * Returns a mapping form annotation attribute name to its default value.
350 * the class defining a annotation
351 * @return a mapping form annotation attribute name to its default value
359 * Returns the annotation with the specified type from the given element or
360 * null if no such annotation is available.
365 * the dex internal name of the annotation type
366 * @return the annotation with the specified type or null if not present
383 * annotation or null if not present.
385 * @param annotation
386 * the annotation
391 public static Object getAnnotationAttributeValue(DexAnnotation annotation,
393 for (DexAnnotationAttribute dexAnnotationAttribute : annotation
462 * An InnerClass annotation is attached to each class which is defined in
464 * annotation must also have either an EnclosingClass annotation or an
465 * EnclosingMethod annotation.
472 * An EnclosingClass annotation is attached to each class which is either
475 * that has this annotation must also have an InnerClass annotation.
477 * EnclosingMethod annotation.
489 DexAnnotation annotation = getAnnotation(dexClass,
493 annotation, "value");
503 DexAnnotation annotation = getAnnotation(dexClass,
505 String value = (String) getAnnotationAttributeValue(annotation,