# Class AccessibilityInspector

java.lang.Object
com.codename1.ui.accessibility.AccessibilityInspector

public final class AccessibilityInspector extends Object
Read-only semantic-tree inspection entry point for tests and developer tools.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static AccessibilityTreeSnapshot`
  `currentSnapshot()`
  `static AccessibilityTreeSnapshot`
  `snapshot(Form form)`
  `static AccessibilityTreeSnapshot`
  `snapshot(TopLevelContainer top)`
  The semantic tree of a top level, which may be a `com.codename1.ui.Window` rather than a `Form`.

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### snapshot

    public static AccessibilityTreeSnapshot snapshot(Form form)

  - ### snapshot

    public static AccessibilityTreeSnapshot snapshot(TopLevelContainer top)

    The semantic tree of a top level, which may be a `com.codename1.ui.Window` rather than a `Form`.

    ###### Parameters

    - `top`: the top level to describe, may be null

    ###### Returns

    the snapshot, never null

  - ### currentSnapshot

    public static AccessibilityTreeSnapshot currentSnapshot()