Groovy 1.8.1

org.codehaus.groovy.runtime.metaclass
[Java] Class DefaultMetaClassInfo

java.lang.Object
  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.

Authors:
Jochen "blackdrag" Theodorou


Method Summary
static boolean disabledStandardMetaClass()

static boolean isOrigInt()

@return true if no meta class creation handle is set and if the original integer meta class is used.

static boolean isOrigIntArray()

@return true if no meta class creation handle is set and if the original integer array meta class is used.

static void setCategoryUsed(boolean b)

static void setOrigInt(boolean v)

sets if the original int meta class is used

static void setOrigIntArray(boolean v)

sets if the original int array meta class is used

static void setWithoutCustomMetaclassCreationHandle(boolean mch)

sets if the system uses a custom meta class creation handle

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

disabledStandardMetaClass

public static boolean disabledStandardMetaClass()


isOrigInt

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


isOrigIntArray

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


setCategoryUsed

public static void setCategoryUsed(boolean b)


setOrigInt

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


setOrigIntArray

public static void setOrigIntArray(boolean v)
sets if the original int array 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.