org.codehaus.groovy.ast
Class Type

java.lang.Object
  extended byorg.codehaus.groovy.ast.Type

public class Type
extends Object

Represents a type, either a dynamic type or statically defined type

Version:
$Revision: 1.2 $
Author:
James Strachan

Field Summary
static Type DYNAMIC_TYPE
           
 
Constructor Summary
Type()
           
Type(String name)
           
Type(String name, boolean isDynamic)
           
 
Method Summary
 String getName()
           
 String getRealName()
           
 boolean isDynamic()
           
 void setDynamic(boolean b)
           
 void setRealName(String realName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DYNAMIC_TYPE

public static final Type DYNAMIC_TYPE
Constructor Detail

Type

public Type()

Type

public Type(String name)

Type

public Type(String name,
            boolean isDynamic)
Method Detail

toString

public String toString()

getName

public String getName()

isDynamic

public boolean isDynamic()

getRealName

public String getRealName()
Returns:
Returns the realName.

setRealName

public void setRealName(String realName)
Parameters:
realName - The realName to set.

setDynamic

public void setDynamic(boolean b)


Copyright © 2003-2004 The Codehaus. All Rights Reserved.