org.codehaus.groovy.tools.groovydoc
Class SimpleGroovyType
java.lang.Object
org.codehaus.groovy.tools.groovydoc.SimpleGroovyType
- All Implemented Interfaces:
- GroovyType
public class SimpleGroovyType
- extends java.lang.Object
- implements GroovyType
Field Summary |
private java.lang.String |
typeName
|
Method Summary |
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 |
typeName
private java.lang.String typeName
SimpleGroovyType
public SimpleGroovyType(java.lang.String typeName)
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
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive
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
Copyright © ${year} The Codehaus. All Rights Reserved.