Class StructTypes.JfrJavaPackage

    • Field Detail

      • name

        public java.lang.Object name
      • module

        public java.lang.Object module
      • exported

        public java.lang.Object exported
      • convertedName

        private boolean convertedName
    • Constructor Detail

      • JfrJavaPackage

        JfrJavaPackage()
    • Method Detail

      • getName

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

        An example is "java.lang".

        Specified by:
        getName in interface IDescribable
        Specified by:
        getName in interface IMCPackage
        Returns:
        package name
      • getModule

        public IMCModule getModule()
        Specified by:
        getModule in interface IMCPackage
        Returns:
        the module in which this package resides, or null if it's in a pre-modules environment
      • isExported

        public java.lang.Boolean isExported()
        Specified by:
        isExported in interface IMCPackage
        Returns:
        true if the package is exported from it's module, or if it's in a pre modules environment, false otherwise
      • 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