Class BoundAttribute.BoundModuleResolutionAttribute

All Implemented Interfaces:
Attribute<ModuleResolutionAttribute>, ModuleResolutionAttribute, ClassElement, ClassFileElement, WritableElement<ModuleResolutionAttribute>
Enclosing class:
BoundAttribute<T extends Attribute<T>>

public static final class BoundAttribute.BoundModuleResolutionAttribute extends BoundAttribute<ModuleResolutionAttribute> implements ModuleResolutionAttribute
  • Constructor Details

  • Method Details

    • resolutionFlags

      public int resolutionFlags()
      Description copied from interface: ModuleResolutionAttribute
      The value of the resolution_flags item is a mask of flags used to denote properties of module resolution. The flags are as follows:
       
         // Optional
         0x0001 (DO_NOT_RESOLVE_BY_DEFAULT)
      
         // At most one of:
         0x0002 (WARN_DEPRECATED)
         0x0004 (WARN_DEPRECATED_FOR_REMOVAL)
         0x0008 (WARN_INCUBATING)
         
      Specified by:
      resolutionFlags in interface ModuleResolutionAttribute
      Returns:
      the module resolution flags