public void addChild(AccessibilityNodeInfo child){
  if (mChildren == null) {
    mChildren=new LinkedList<>();
  }
  mChildren.add(child);
  ((ShadowAccessibilityNodeInfo)ShadowExtractor.extract(child)).mParent=mRealAccessibilityNodeInfo;
}

public void addChild ( AccessibilityNodeInfo child ) { if ( mChildren == null ) { mChildren = new LinkedList < > ( ) ; } mChildren . add ( child ) ; ( ( ShadowAccessibilityNodeInfo ) ShadowExtractor . extract ( child ) ) . mParent = mRealAccessibilityNodeInfo ; }
add a child node to this one . also initializes the parent field of the child .
