DefaultMetaClassInfo (Groovy 4.0.15)
Description: declaration: package: org.codehaus.groovy.runtime.metaclass, class: DefaultMetaClassInfo

Package org.codehaus.groovy.runtime.metaclass

# 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.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `DefaultMetaClassInfo.ConstantMetaClassVersioning`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultMetaClassInfo()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `disabledStandardMetaClass()`
  `static DefaultMetaClassInfo.ConstantMetaClassVersioning`
  `getCurrentConstantMetaClassVersioning()`
  `static DefaultMetaClassInfo.ConstantMetaClassVersioning`
  `getNewConstantMetaClassVersioning()`
  `static boolean`
  `isOrigBool()`
  Returns true if no metaclass creation handle is set and if the original boolean metaclass is used.
  `static boolean`
  `isOrigByte()`
  Returns true if no metaclass creation handle is set and if the original byte metaclass is used.
  `static boolean`
  `isOrigChar()`
  Returns true if no metaclass creation handle is set and if the original char metaclass is used.
  `static boolean`
  `isOrigDouble()`
  Returns true if no metaclass creation handle is set and if the original double metaclass is used.
  `static boolean`
  `isOrigFloat()`
  Returns true if no metaclass creation handle is set and if the original float metaclass is used.
  `static boolean`
  `isOrigInt()`
  Returns true if no metaclass creation handle is set and if the original integer metaclass is used.
  `static boolean`
  `isOrigIntArray()`
  Returns true if no metaclass creation handle is set and if the original integer array metaclass is used.
  `static boolean`
  `isOrigLong()`
  Returns true if no metaclass creation handle is set and if the original long metaclass is used.
  `static boolean`
  `isOrigShort()`
  Returns true if no metaclass creation handle is set and if the original short metaclass is used.
  `static void`
  `setCategoryUsed(boolean b)`
  `static void`
  `setOrigBool(boolean v)`
  Sets if the original boolean metaclass is used.
  `static void`
  `setOrigByte(boolean v)`
  Sets if the original byte metaclass is used.
  `static void`
  `setOrigChar(boolean v)`
  Sets if the original char metaclass is used.
  `static void`
  `setOrigDouble(boolean v)`
  Sets if the original double metaclass is used.
  `static void`
  `setOrigFloat(boolean v)`
  Sets if the original float metaclass is used.
  `static void`
  `setOrigInt(boolean v)`
  Sets if the original int metaclass is used.
  `static void`
  `setOrigIntArray(boolean v)`
  Sets if the original int array metaclass is used.
  `static void`
  `setOrigLong(boolean v)`
  Sets if the original long metaclass is used.
  `static void`
  `setOrigShort(boolean v)`
  Sets if the original short metaclass is used.
  `static void`
  `setPrimitiveMeta(Class c, boolean orig)`
  `static void`
  `setWithoutCustomMetaclassCreationHandle(boolean mch)`
  Sets if the system uses a custom metaclass creation handle.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DefaultMetaClassInfo

    public DefaultMetaClassInfo()

- ## Method Details

  - ### isOrigBool

    public static boolean isOrigBool()
    Returns true if no metaclass creation handle is set and if the original boolean metaclass is used.

  - ### setOrigBool

    public static void setOrigBool(boolean v)
    Sets if the original boolean metaclass is used.

  - ### isOrigByte

    public static boolean isOrigByte()
    Returns true if no metaclass creation handle is set and if the original byte metaclass is used.

  - ### setOrigByte

    public static void setOrigByte(boolean v)
    Sets if the original byte metaclass is used.

  - ### isOrigChar

    public static boolean isOrigChar()
    Returns true if no metaclass creation handle is set and if the original char metaclass is used.

  - ### setOrigChar

    public static void setOrigChar(boolean v)
    Sets if the original char metaclass is used.

  - ### isOrigShort

    public static boolean isOrigShort()
    Returns true if no metaclass creation handle is set and if the original short metaclass is used.

  - ### setOrigShort

    public static void setOrigShort(boolean v)
    Sets if the original short metaclass is used.

  - ### isOrigInt

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

  - ### setOrigInt

    public static void setOrigInt(boolean v)
    Sets if the original int metaclass is used.

  - ### isOrigIntArray

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

  - ### setOrigIntArray

    public static void setOrigIntArray(boolean v)
    Sets if the original int array metaclass is used.

  - ### isOrigLong

    public static boolean isOrigLong()
    Returns true if no metaclass creation handle is set and if the original long metaclass is used.

  - ### setOrigLong

    public static void setOrigLong(boolean v)
    Sets if the original long metaclass is used.

  - ### isOrigFloat

    public static boolean isOrigFloat()
    Returns true if no metaclass creation handle is set and if the original float metaclass is used.

  - ### setOrigFloat

    public static void setOrigFloat(boolean v)
    Sets if the original float metaclass is used.

  - ### isOrigDouble

    public static boolean isOrigDouble()
    Returns true if no metaclass creation handle is set and if the original double metaclass is used.

  - ### setOrigDouble

    public static void setOrigDouble(boolean v)
    Sets if the original double metaclass is used.

  - ### setWithoutCustomMetaclassCreationHandle

    public static void setWithoutCustomMetaclassCreationHandle(boolean mch)
    Sets if the system uses a custom metaclass creation handle.

  - ### setCategoryUsed

    public static void setCategoryUsed(boolean b)

  - ### disabledStandardMetaClass

    public static boolean disabledStandardMetaClass()

  - ### setPrimitiveMeta

    public static void setPrimitiveMeta(Class c, boolean orig)

  - ### getCurrentConstantMetaClassVersioning

    public static DefaultMetaClassInfo.ConstantMetaClassVersioning getCurrentConstantMetaClassVersioning()

  - ### getNewConstantMetaClassVersioning

    public static DefaultMetaClassInfo.ConstantMetaClassVersioning getNewConstantMetaClassVersioning()