Package org.codehaus.groovy.runtime.metaclass

# Class DefaultMetaClassInfo.ConstantMetaClassVersioning

java.lang.Object
org.codehaus.groovy.runtime.metaclass.DefaultMetaClassInfo.ConstantMetaClassVersioning

Enclosing class:
  DefaultMetaClassInfo

public static class DefaultMetaClassInfo.ConstantMetaClassVersioning extends Object
Represents a constant version of the metaclass configuration at a point in time. Used to track when metaclass configurations have changed and invalidate caches accordingly.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConstantMetaClassVersioning()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isValid()`
  Returns whether this versioning instance is still valid.

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

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

- ## Constructor Details

  - ### ConstantMetaClassVersioning

    public ConstantMetaClassVersioning()

- ## Method Details

  - ### isValid

    public boolean isValid()
    Returns whether this versioning instance is still valid. Returns false if a newer version has been created.
    Returns:
      true if this version is still current, false otherwise