Interface IMCType

  • All Known Implementing Classes:
    MCType

    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

        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

        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)
      • isHidden

        default Boolean isHidden()
        Returns whether or not the type is hidden.
        Returns:
        true if hidden, false if not