Interface IMCType

  • All Known Implementing Classes:
    MCType, StructTypes.JfrJavaClass

    public interface IMCType
    Represents a Java type. This can be a class (including arrays and enumerations), an interface, or a primitive type.
    • Method Detail

      • getTypeName

        java.lang.String getTypeName()
        Returns the name of the type, without the package.

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

        Returns:
        the type name
      • getPackage

        IMCPackage getPackage()
        Returns the package this type was declared in.
        Returns:
        declaring package
      • getFullName

        java.lang.String getFullName()
        Java type name according to The Java Language Specification, Section 13.1.

        An example is "java.lang.String".

        Returns:
        the fully qualified name (both package and type name)