Class StructTypes.JfrJavaClass

  • All Implemented Interfaces:
    IMCType
    Enclosing class:
    StructTypes

    static class StructTypes.JfrJavaClass
    extends java.lang.Object
    implements IMCType
    • Constructor Summary

      Constructors 
      Constructor Description
      JfrJavaClass()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void convertNames()  
      boolean equals​(java.lang.Object obj)  
      java.lang.String getFullName()
      Java type name according to The Java Language Specification, Section 13.1.
      IMCPackage getPackage()
      Returns the package this type was declared in.
      private java.lang.String getPackageName()  
      java.lang.String getTypeName()
      Returns the name of the type, without the package.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • classLoader

        public java.lang.Object classLoader
      • modifiers

        public java.lang.Object modifiers
      • _package

        public java.lang.Object _package
      • name

        public java.lang.Object name
      • convertedNames

        private boolean convertedNames
      • typeName

        private java.lang.String typeName
    • Constructor Detail

      • JfrJavaClass

        JfrJavaClass()
    • Method Detail

      • getTypeName

        public java.lang.String getTypeName()
        Description copied from interface: IMCType
        Returns the name of the type, without the package.

        Examples are "String" and "Tread$TreadState".

        Specified by:
        getTypeName in interface IMCType
        Returns:
        the type name
      • getPackageName

        private java.lang.String getPackageName()
      • getPackage

        public IMCPackage getPackage()
        Description copied from interface: IMCType
        Returns the package this type was declared in.
        Specified by:
        getPackage in interface IMCType
        Returns:
        declaring package
      • getFullName

        public java.lang.String getFullName()
        Description copied from interface: IMCType
        Java type name according to The Java Language Specification, Section 13.1.

        An example is "java.lang.String".

        Specified by:
        getFullName in interface IMCType
        Returns:
        the fully qualified name (both package and type name)
      • convertNames

        private void convertNames()
      • 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