Class Files.UnknownChildFile

All Implemented Interfaces:
File, TypedValue
Enclosing class:
Files

private static class Files.UnknownChildFile extends Files.UnknownFile
  • Field Details

  • Constructor Details

  • Method Details

    • expand

      public File expand()
      Description copied from interface: File
      Expands this file to a file with a more precise type.

      During expansion, record types may get new fields, never lose them.

      This file object may or may not be mutable. If this file is immutable and is expanded, returns the new file. If this file is mutable, returns this file regardless of whether expansion occurred; the caller cannot discern whether expansion occurred.

      Specified by:
      expand in interface File
      Overrides:
      expand in class Files.UnknownFile