* Don't show "context" for classes without either contextType or contextTypes
* For classes with contextTypes, change the label to "legacy context" instead

---
Originally reported by @gaearon via https://github.com/bvaughn/react-devtools-experimental/issues/368
export const InspectElementNoChangeType = 'no-change';
export const InspectElementNotFoundType = 'not-found';
export const InspectElementHydratedPathType = 'hydrated-path';
type InspectElementFullData = {|
  id: number,
  type: 'full-data',
  value: InspectedElement,
|};
type InspectElementHydratedPath = {|
  id: number,
  type: 'hydrated-path',
  path: Array<string | number>,
  value: any,
|};
type InspectElementNoChange = {|
  id: number,
  type: 'no-change',
|};
type InspectElementNotFound = {|
  id: number,
  type: 'not-found',
|};
export type InspectedElementPayload =
  | InspectElementFullData
  | InspectElementHydratedPath
  | InspectElementNoChange
  | InspectElementNotFound;
export type InstanceAndStyle = {|
  instance: Object | null,
  style: Object | null,