com_baeldung_activitiwithspring_ActivitiSpringSecurityIntegrationTest_java
org.springframework.core.annotation.AnnotationUtils
@Nullable
    public static <A extends Annotation> A getAnnotation(AnnotatedElement annotatedElement, Class<A> annotationType) {
        if (AnnotationFilter.PLAIN.matches(annotationType) || AnnotationsScanner.hasPlainJavaAnnotationsOnly(annotatedElement)) {
            return annotatedElement.getAnnotation(annotationType);
        }
        return (A)((Annotation)MergedAnnotations.from(annotatedElement, MergedAnnotations.SearchStrategy.INHERITED_ANNOTATIONS, RepeatableContainers.none()).get(annotationType).withNonMergedAttributes().synthesize(AnnotationUtils::isSingleLevelPresent).orElse(null));
    }
 -> java.lang.reflect.AnnotatedElement.getAnnotation(java.lang.Class): java.lang.annotation.Annotation -> java.lang.annotation.Annotation.annotationType(): java.lang.Class -> java.util.Map.get(java.lang.Object): java.lang.Object -> java.lang.Object.hashCode(): int -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference -> java.util.Map.get(java.lang.Object): java.lang.Object -> java.lang.Object.hashCode(): int -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference -> java.lang.Class.getDeclaredMethods(): java.lang.reflect.Method[] -> java.lang.reflect.Method.getParameterTypes(): java.lang.Class[] -> java.lang.reflect.Method.getReturnType(): java.lang.Class -> java.lang.reflect.Method.getModifiers(): int -> java.lang.reflect.Modifier.isPublic(int): boolean -> java.lang.reflect.Method.getDeclaringClass(): java.lang.Class -> java.lang.Class.getModifiers(): int -> java.lang.reflect.Modifier.isPublic(int): boolean -> java.util.List.add(java.lang.Object): boolean -> java.lang.reflect.Method.getParameterTypes(): java.lang.Class[] -> java.lang.reflect.Method.getReturnType(): java.lang.Class -> java.lang.reflect.Method.getModifiers(): int -> java.lang.reflect.Modifier.isPublic(int): boolean -> java.lang.reflect.Method.getDeclaringClass(): java.lang.Class -> java.lang.Class.getModifiers(): int -> java.lang.reflect.Modifier.isPublic(int): boolean -> java.util.List.add(java.lang.Object): boolean -> java.util.Map.put(java.lang.Object,java.lang.Object): java.lang.Object -> java.util.EnumSet.of(java.lang.Enum,java.lang.Enum[]): java.util.EnumSet -> java.lang.Object.hashCode(): int -> java.util.EnumSet.contains(java.lang.Object): boolean -> java.util.EnumSet.contains(java.lang.Object): boolean -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference -> java.util.EnumSet.contains(java.lang.Object): boolean -> java.util.EnumSet.contains(java.lang.Object): boolean -> java.util.List.iterator(): java.util.Iterator -> java.util.Iterator.hasNext(): boolean -> java.util.Iterator.next(): java.lang.Object -> java.util.Map.get(java.lang.Object): java.lang.Object -> java.lang.Object.hashCode(): int -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference -> java.lang.reflect.Method.getAnnotation(java.lang.Class): java.lang.annotation.Annotation -> java.util.Collections.emptyList(): java.util.List -> java.util.List.isEmpty(): boolean -> java.lang.reflect.Method.getReturnType(): java.lang.Class -> java.lang.Class.isAssignableFrom(java.lang.Class): boolean -> java.lang.Class.isAssignableFrom(java.lang.Class): boolean -> java.util.Iterator.hasNext(): boolean -> java.util.Iterator.next(): java.lang.Object -> java.util.Map.get(java.lang.Object): java.lang.Object -> java.lang.Object.hashCode(): int -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference -> java.lang.reflect.Method.getAnnotation(java.lang.Class): java.lang.annotation.Annotation -> java.util.Collections.emptyList(): java.util.List -> java.util.List.isEmpty(): boolean -> java.lang.reflect.Method.getReturnType(): java.lang.Class -> java.lang.Class.isAssignableFrom(java.lang.Class): boolean -> java.lang.Class.isAssignableFrom(java.lang.Class): boolean -> java.util.Iterator.hasNext(): boolean -> java.util.Map.put(java.lang.Object,java.lang.Object): java.lang.Object -> java.util.EnumSet.of(java.lang.Enum,java.lang.Enum[]): java.util.EnumSet -> java.lang.Object.hashCode(): int -> java.util.EnumSet.contains(java.lang.Object): boolean -> java.util.EnumSet.contains(java.lang.Object): boolean -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference -> java.util.EnumSet.contains(java.lang.Object): boolean -> java.util.EnumSet.contains(java.lang.Object): boolean -> java.lang.Boolean.booleanValue(): boolean
 [CALL] -> java.lang.reflect.AnnotatedElement.getAnnotation(java.lang.Class): java.lang.annotation.Annotation [CALL] [CALL] -> java.lang.annotation.Annotation.annotationType(): java.lang.Class [CALL] -> java.util.Map.get(java.lang.Object): java.lang.Object [CALL] [CALL] [CALL] [CALL] -> java.lang.Object.hashCode(): int [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference [EXIT] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [EXIT] [EXIT] [EXIT] [CALL] -> java.util.Map.get(java.lang.Object): java.lang.Object [CALL] [CALL] [CALL] [CALL] -> java.lang.Object.hashCode(): int [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference [EXIT] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [EXIT] [EXIT] [EXIT] -> java.lang.Class.getDeclaredMethods(): java.lang.reflect.Method[] [CALL] -> java.lang.reflect.Method.getParameterTypes(): java.lang.Class[] -> java.lang.reflect.Method.getReturnType(): java.lang.Class [EXIT] [CALL] -> java.lang.reflect.Method.getModifiers(): int -> java.lang.reflect.Modifier.isPublic(int): boolean -> java.lang.reflect.Method.getDeclaringClass(): java.lang.Class -> java.lang.Class.getModifiers(): int -> java.lang.reflect.Modifier.isPublic(int): boolean [EXIT] -> java.util.List.add(java.lang.Object): boolean [CALL] -> java.lang.reflect.Method.getParameterTypes(): java.lang.Class[] -> java.lang.reflect.Method.getReturnType(): java.lang.Class [EXIT] [CALL] -> java.lang.reflect.Method.getModifiers(): int -> java.lang.reflect.Modifier.isPublic(int): boolean -> java.lang.reflect.Method.getDeclaringClass(): java.lang.Class -> java.lang.Class.getModifiers(): int -> java.lang.reflect.Modifier.isPublic(int): boolean [EXIT] -> java.util.List.add(java.lang.Object): boolean -> java.util.Map.put(java.lang.Object,java.lang.Object): java.lang.Object [CALL] [CALL] [CALL] [CALL] -> java.util.EnumSet.of(java.lang.Enum,java.lang.Enum[]): java.util.EnumSet [EXIT] [EXIT] [CALL] [CALL] -> java.lang.Object.hashCode(): int [EXIT] [CALL] [EXIT] [CALL] [CALL] -> java.util.EnumSet.contains(java.lang.Object): boolean [EXIT] [CALL] -> java.util.EnumSet.contains(java.lang.Object): boolean [EXIT] [CALL] [CALL] -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference [EXIT] [EXIT] [CALL] -> java.util.EnumSet.contains(java.lang.Object): boolean [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [EXIT] [CALL] -> java.util.EnumSet.contains(java.lang.Object): boolean [EXIT] [EXIT] [EXIT] [EXIT] [EXIT] [EXIT] -> java.util.List.iterator(): java.util.Iterator -> java.util.Iterator.hasNext(): boolean -> java.util.Iterator.next(): java.lang.Object [CALL] [CALL] [EXIT] [CALL] [CALL] [EXIT] -> java.util.Map.get(java.lang.Object): java.lang.Object [CALL] [CALL] [CALL] [CALL] -> java.lang.Object.hashCode(): int [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference [EXIT] [EXIT] [EXIT] [EXIT] [EXIT] [EXIT] -> java.lang.reflect.Method.getAnnotation(java.lang.Class): java.lang.annotation.Annotation [EXIT] -> java.util.Collections.emptyList(): java.util.List [EXIT] -> java.util.List.isEmpty(): boolean -> java.lang.reflect.Method.getReturnType(): java.lang.Class -> java.lang.Class.isAssignableFrom(java.lang.Class): boolean -> java.lang.Class.isAssignableFrom(java.lang.Class): boolean -> java.util.Iterator.hasNext(): boolean -> java.util.Iterator.next(): java.lang.Object [CALL] [CALL] [EXIT] [CALL] [CALL] [EXIT] -> java.util.Map.get(java.lang.Object): java.lang.Object [CALL] [CALL] [CALL] [CALL] -> java.lang.Object.hashCode(): int [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference [EXIT] [EXIT] [EXIT] [EXIT] [EXIT] [EXIT] -> java.lang.reflect.Method.getAnnotation(java.lang.Class): java.lang.annotation.Annotation [EXIT] -> java.util.Collections.emptyList(): java.util.List [EXIT] -> java.util.List.isEmpty(): boolean -> java.lang.reflect.Method.getReturnType(): java.lang.Class -> java.lang.Class.isAssignableFrom(java.lang.Class): boolean -> java.lang.Class.isAssignableFrom(java.lang.Class): boolean -> java.util.Iterator.hasNext(): boolean -> java.util.Map.put(java.lang.Object,java.lang.Object): java.lang.Object [CALL] [CALL] [CALL] [CALL] -> java.util.EnumSet.of(java.lang.Enum,java.lang.Enum[]): java.util.EnumSet [EXIT] [EXIT] [CALL] [CALL] -> java.lang.Object.hashCode(): int [EXIT] [CALL] [EXIT] [CALL] [CALL] -> java.util.EnumSet.contains(java.lang.Object): boolean [EXIT] [CALL] -> java.util.EnumSet.contains(java.lang.Object): boolean [EXIT] [CALL] [CALL] -> java.lang.ref.ReferenceQueue.poll(): java.lang.ref.Reference [EXIT] [EXIT] [CALL] -> java.util.EnumSet.contains(java.lang.Object): boolean [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [EXIT] [CALL] -> java.util.EnumSet.contains(java.lang.Object): boolean [EXIT] [EXIT] [EXIT] [EXIT] [EXIT] -> java.lang.Boolean.booleanValue(): boolean [EXIT] [EXIT] [EXIT] [EXIT]