Class SimpleGroovyType

  • All Implemented Interfaces:
    GroovyType

    public class SimpleGroovyType
    extends java.lang.Object
    implements GroovyType
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleGroovyType​(java.lang.String typeName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isPrimitive()  
      java.lang.String qualifiedTypeName()
      The qualified name of this type excluding any dimension information.
      java.lang.String simpleTypeName()
      The unqualified name of this type excluding any dimension or nesting information.
      java.lang.String typeName()
      The unqualified name of this type excluding any dimension information.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleGroovyType

        public SimpleGroovyType​(java.lang.String typeName)
    • Method Detail

      • typeName

        public java.lang.String typeName()
        Description copied from interface: GroovyType
        The unqualified name of this type excluding any dimension information. For example, a two dimensional array of String returns "String".
        Specified by:
        typeName in interface GroovyType
      • qualifiedTypeName

        public java.lang.String qualifiedTypeName()
        Description copied from interface: GroovyType
        The qualified name of this type excluding any dimension information. For example, a two dimensional array of String returns "java.lang.String".
        Specified by:
        qualifiedTypeName in interface GroovyType
      • simpleTypeName

        public java.lang.String simpleTypeName()
        Description copied from interface: GroovyType
        The unqualified name of this type excluding any dimension or nesting information. For example, the class Outer.Inner returns "Inner".
        Specified by:
        simpleTypeName in interface GroovyType