Class ModuleResolutionAttribute


  • public final class ModuleResolutionAttribute
    extends org.objectweb.asm.Attribute
    A ModuleResolution attribute. This attribute is specific to the OpenJDK and may change in the future.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int resolution
      The resolution state of the module.
      static int RESOLUTION_DO_NOT_RESOLVE_BY_DEFAULT
      The resolution state of a module meaning that the module is not available from the class-path by default.
      static int RESOLUTION_WARN_DEPRECATED
      The resolution state of a module meaning the module is marked as deprecated.
      static int RESOLUTION_WARN_DEPRECATED_FOR_REMOVAL
      The resolution state of a module meaning the module is marked as deprecated and will be removed in a future release.
      static int RESOLUTION_WARN_INCUBATING
      The resolution state of a module meaning the module is not yet standardized, so in incubating mode.
      • Fields inherited from class org.objectweb.asm.Attribute

        type
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.objectweb.asm.Attribute read​(org.objectweb.asm.ClassReader classReader, int offset, int length, char[] charBuffer, int codeOffset, org.objectweb.asm.Label[] labels)  
      protected org.objectweb.asm.ByteVector write​(org.objectweb.asm.ClassWriter classWriter, byte[] code, int codeLength, int maxStack, int maxLocals)  
      • Methods inherited from class org.objectweb.asm.Attribute

        getLabels, isCodeAttribute, isUnknown
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RESOLUTION_DO_NOT_RESOLVE_BY_DEFAULT

        public static final int RESOLUTION_DO_NOT_RESOLVE_BY_DEFAULT
        The resolution state of a module meaning that the module is not available from the class-path by default.
        See Also:
        Constant Field Values
      • RESOLUTION_WARN_DEPRECATED

        public static final int RESOLUTION_WARN_DEPRECATED
        The resolution state of a module meaning the module is marked as deprecated.
        See Also:
        Constant Field Values
      • RESOLUTION_WARN_DEPRECATED_FOR_REMOVAL

        public static final int RESOLUTION_WARN_DEPRECATED_FOR_REMOVAL
        The resolution state of a module meaning the module is marked as deprecated and will be removed in a future release.
        See Also:
        Constant Field Values
      • RESOLUTION_WARN_INCUBATING

        public static final int RESOLUTION_WARN_INCUBATING
        The resolution state of a module meaning the module is not yet standardized, so in incubating mode.
        See Also:
        Constant Field Values
    • Method Detail

      • read

        protected org.objectweb.asm.Attribute read​(org.objectweb.asm.ClassReader classReader,
                                                   int offset,
                                                   int length,
                                                   char[] charBuffer,
                                                   int codeOffset,
                                                   org.objectweb.asm.Label[] labels)
        Overrides:
        read in class org.objectweb.asm.Attribute
      • write

        protected org.objectweb.asm.ByteVector write​(org.objectweb.asm.ClassWriter classWriter,
                                                     byte[] code,
                                                     int codeLength,
                                                     int maxStack,
                                                     int maxLocals)
        Overrides:
        write in class org.objectweb.asm.Attribute