* 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
id: number,
  type: ElementType,
|};
export type OwnersList = {|
  id: number,
  owners: Array<Owner> | null,
|};
export type InspectedElement = {|
  id: number,
  displayName: string | null,
  
  canEditHooks: boolean,
  
  canEditFunctionProps: boolean,
  
  canToggleSuspense: boolean,
  
  canViewSource: boolean,
  
  context: Object | null,
  hooks: Object | null,
  props: Object | null,
  state: Object | null,
  
  owners: Array<Owner> | null,
  
  source: Source | null,
  type: ElementType,
|};
export const InspectElementFullDataType = 'full-data';