org.codehaus.groovy.runtime.metaclass
Class DefaultMetaClassInfo

java.lang.Object
  extended by org.codehaus.groovy.runtime.metaclass.DefaultMetaClassInfo

public class DefaultMetaClassInfo
extends Object

WARNING: This class is for internal use only! We use this class to store information about if a default MetaClass is used for certain primitives.

Author:
Jochen "blackdrag" Theodorou

Constructor Summary
Constructor and Description
DefaultMetaClassInfo()
           
 
Method Summary
Modifier and Type Method and Description
static boolean isOrigInt()
           
static void setOrigInt(boolean v)
          sets if the original meta class is used
static void setWithoutCustomMetaclassCreationHandle(boolean mch)
          sets if the system uses a custom meta class creation handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMetaClassInfo

public DefaultMetaClassInfo()
Method Detail

isOrigInt

public static boolean isOrigInt()
Returns:
true if no meta class creation handle is set and if the original integer meta class is used.

setOrigInt

public static void setOrigInt(boolean v)
sets if the original meta class is used


setWithoutCustomMetaclassCreationHandle

public static void setWithoutCustomMetaclassCreationHandle(boolean mch)
sets if the system uses a custom meta class creation handle


Copyright © 2003-2010 The Codehaus. All rights reserved.