Class StructTypes.JfrJavaModule

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Object classLoader  
      java.lang.Object location  
      java.lang.Object name  
      java.lang.Object version  
    • Constructor Summary

      Constructors 
      Constructor Description
      JfrJavaModule()  
    • Field Detail

      • name

        public java.lang.Object name
      • version

        public java.lang.Object version
      • location

        public java.lang.Object location
      • classLoader

        public java.lang.Object classLoader
    • Constructor Detail

      • JfrJavaModule

        JfrJavaModule()
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: IMCModule
        Returns the module name.

        An example is "java.base".

        Specified by:
        getName in interface IDescribable
        Specified by:
        getName in interface IMCModule
        Returns:
        module name
      • getVersion

        public java.lang.String getVersion()
        Description copied from interface: IMCModule
        Returns the version of this module.

        An example is "9".

        Specified by:
        getVersion in interface IMCModule
        Returns:
        module version
      • getLocation

        public java.lang.String getLocation()
        Description copied from interface: IMCModule
        Returns the location of this module.

        An example is "jrt:/java.base".

        Specified by:
        getLocation in interface IMCModule
        Returns:
        module location
      • getClassLoader

        public IMCClassLoader getClassLoader()
        Description copied from interface: IMCModule
        Returns the class loader where this module is loaded.
        Specified by:
        getClassLoader in interface IMCModule
        Returns:
        module class loader
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface IDescribable
        Returns:
        the description of this object