Package: org.codehaus.groovy.groovydoc

## [Java] Interface GroovyType

-     public interface GroovyType

  Describes a type reference used throughout the Groovydoc model.

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `isPrimitive()` Indicates whether this type is a Java primitive type.
    `` | `public String` | `qualifiedTypeName()` The qualified name of this type excluding any dimension information.
    `` | `public String` | `simpleTypeName()` The unqualified name of this type excluding any dimension or nesting information.
    `` | `public String` | `toString()` The qualified name including any dimension information.
    `` | `public String` | `typeName()` The unqualified name of this type excluding any dimension information.

- - ### Method Detail

    - #### public boolean isPrimitive()

      Indicates whether this type is a Java primitive type.

      Returns:
        `true` if this type is primitive

    - #### public String qualifiedTypeName()

      The qualified name of this type excluding any dimension information. For example, a two-dimensional array of String returns "`java.lang.String`".

    - #### public String simpleTypeName()

      The unqualified name of this type excluding any dimension or nesting information. For example, the class `Outer.Inner` returns "`Inner`".

    - #### public String toString()

      The qualified name including any dimension information. For example, a two-dimensional array of String returns "`java.lang.String[][]`", and the parameterized type `List<Integer>` returns "`java.util.List<java.lang.Integer>`".

    - #### public String typeName()

      The unqualified name of this type excluding any dimension information. For example, a two-dimensional array of String returns "`String`".