Class SimpleGroovyType
java.lang.Object
org.codehaus.groovy.tools.groovydoc.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
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
Methods inherited from interface org.codehaus.groovy.groovydoc.GroovyType
toString
-
Constructor Details
-
SimpleGroovyType
public SimpleGroovyType(java.lang.String typeName)
-
-
Method Details
-
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 interfaceGroovyType
-
isPrimitive
public boolean isPrimitive()- Specified by:
isPrimitive
in interfaceGroovyType
-
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 interfaceGroovyType
-
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 classOuter.Inner
returns "Inner
".- Specified by:
simpleTypeName
in interfaceGroovyType
-