Get the description of the indicated child object from the runner for the specified test class instance.

@param target test class instance
@param child child object
@return {@link Description} object for the indicated child
192778
public static Description describeChild(Object target, Object child) {
        Object runner = getRunnerForTarget(target);
        return invoke(runner, "describeChild", child);
    }
1051455
public <T> JdbcMapperBuilder<T> newBuilder(final TypeReference<T> target) {
        return newBuilder(target.getType());
    }
618999
public Object transformObject(TransformationDescription description, Object source, Object target)
        throws InstantiationException, IllegalAccessException, ClassNotFoundException {
        checkNeededValues(description);
        Class<?> sourceClass = modelRegistry.loadModel(description.getSourceModel());
        Class<?> targetClass = modelRegistry.loadModel(description.getTargetModel());
        if (!sourceClass.isAssignableFrom(source.getClass())) {
            throw new IllegalArgumentException("The given source object does not match the given description");
        }
        this.source = source;
        if (target == null) {
            this.target = targetClass.newInstance();
        } else {
            this.target = target;
        }
        for (TransformationStep step : description.getTransformingSteps()) {
            performTransformationStep(step);
        }
        return this.target;
    }
241523
public final int addChild (Task<E> child) {
		int index = addChildToTask(child);
		if (tree != null && tree.listeners != null) tree.notifyChildAdded(this, index);
		return index;
	}
206809
public void getChildren(final String path, Watcher watcher,
            ChildrenCallback cb, Object ctx) {
        verbotenThreadCheck();
        final String clientPath = path;
        PathUtils.validatePath(clientPath);

        // the watch contains the un-chroot path
        WatchRegistration wcb = null;
        if (watcher != null) {
            wcb = new ChildWatchRegistration(watcher, clientPath);
        }

        final String serverPath = prependChroot(clientPath);

        RequestHeader h = new RequestHeader();
        h.setType(ZooDefs.OpCode.getChildren);
        GetChildrenRequest request = new GetChildrenRequest();
        request.setPath(serverPath);
        request.setWatch(watcher != null);
        GetChildrenResponse response = new GetChildrenResponse();
        cnxn.queuePacket(h, new ReplyHeader(), request, response, cb,
                clientPath, serverPath, ctx, wcb);
    }
397059
@Override
    public Node getChildNode(String childNodeId)
    {
        NodeLink link = new NodeLink(getNodeId(), childNodeId);

        if (this.children == null)
        {
            return null;
        }
        else
        {
            return this.children.get(link);
        }
    }
717862
public static Object callGetter(Object target, PropertyDescriptor prop) {

        Object result = null;
        Method getter = prop.getReadMethod();

        if (getter == null) {
            throw new RuntimeException("No read method for bean property "
                    + target.getClass() + " " + prop.getName());
        }
        try {
            result = getter.invoke(target, new Object[0]);
        } catch (InvocationTargetException e) {
            throw new RuntimeException("Couldn't invoke method: " + getter,
                    e);
        } catch (IllegalArgumentException e) {
            throw new RuntimeException(
                    "Couldn't invoke method with 0 arguments: " + getter, e);
        } catch (IllegalAccessException e) {
            throw new RuntimeException("Couldn't invoke method: " + getter,
                    e);
        }

        return result;
    }
649668
public static Object getObjectValue(Object target,String propertyName){
		try {
			PropertyDescriptor descriptor = new PropertyDescriptor(propertyName, target.getClass());
			return descriptor.getReadMethod().invoke(target);
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
		
	}
142289
int getIndexOfChild(final WComponent childComponent) {
		ComponentModel model = getComponentModel();
		List<WComponent> children = model.getChildren();

		return children == null ? -1 : children.indexOf(childComponent);
	}
91504
public <T> JdbcMapperBuilder<T> newBuilder(final Type target) {
		ClassMeta<T> classMeta = getClassMeta(target);
		return newBuilder(classMeta);
	}
949835
public Element findChild(Element child) {
        return new Element(child.getDriver(), reporter, child.getType(), child.getLocator(), child.getMatch(), this);
    }
477068
public static String child(Resource base, String path) {
        Resource child = base.getChild(path);
        return child != null ? child.getPath() : path;
    }
1261405
@SuppressWarnings("unchecked")
    private static <T> void visitChild(Object child, PojoBinding<T> binding, String tableName, Predicate<Facet> predicate, PojoVisitor visitor) {
        visitor.visit((T) child, binding, tableName, predicate);
    }
1366332
public static Field getDeclaredFieldSilent(Class<?> target, String fieldName) {
		try {
			return target.getDeclaredField(fieldName);
		} catch (Exception e) {
			return null;
		}
	}
820061
public static <T> TypeRefer of(Class<T> target) {
        return of(TypeToken.of(target));
    }
642961
@Override
  public Collection<ConfigKeyPath> getChildren(ConfigKeyPath configKey) {
    return this.cs.getChildren(configKey, this.version);
  }
154459
public void collectEntries(Collection<V> target) {

        if (m_value != null) {
            target.add(m_value);
        }
        for (CmsPathTree<P, V> child : m_children.values()) {
            child.collectEntries(target);
        }
    }