Class KlumInstanceProxy

java.lang.Object
com.blackbuild.klum.ast.runtime.internal.KlumInstanceProxy

@Deprecated(since="4.0", forRemoval=true) public final class KlumInstanceProxy extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.0; use InternalKlumBuilder for construction state and KlumObjectSupport for completed-model inspection
Builder-only compatibility adapter for code written against the former RW proxy.

New construction code belongs on InternalKlumBuilder; completed-model inspection uses KlumObjectSupport. Looking up this adapter for a completed model is intentionally rejected.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Legacy generated-layout constants retained while #394 is unresolved.
  • Constructor Summary

    Constructors
    Constructor
    Description
    KlumInstanceProxy(groovy.lang.GroovyObject target)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Read-only compatibility for code that inspected the active Builder template context.
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected groovy.lang.GroovyObject
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NAME_OF_RW_FIELD_IN_MODEL_CLASS

      public static final String NAME_OF_RW_FIELD_IN_MODEL_CLASS
      Deprecated, for removal: This API element is subject to removal in a future version.
      Legacy generated-layout constants retained while #394 is unresolved.
      See Also:
    • NAME_OF_PROXY_FIELD_IN_MODEL_CLASS

      public static final String NAME_OF_PROXY_FIELD_IN_MODEL_CLASS
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • NAME_OF_MODEL_FIELD_IN_RW_CLASS

      public static final String NAME_OF_MODEL_FIELD_IN_RW_CLASS
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • KlumInstanceProxy

      public KlumInstanceProxy(groovy.lang.GroovyObject target)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getProxyFor

      public static KlumInstanceProxy getProxyFor(Object target)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRwInstance

      protected groovy.lang.GroovyObject getRwInstance()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getDSLInstance

      public Object getDSLInstance()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getCurrentTemplates

      public Map<Class<?>,Object> getCurrentTemplates()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Read-only compatibility for code that inspected the active Builder template context.