Class StubberSupport

java.lang.Object
org.codehaus.groovy.transform.StubberSupport

public final class StubberSupport extends Object
Utilities for GEP-21 Shape C joint-compilation stubbers.

A stubber emits placeholder members at Phases.CONVERSION so the joint-compilation stub reflects what the full transform will produce at its declared phase. The placeholder is tagged with STUB_METADATA_KEY; the full transform recognises the tag and either replaces the placeholder body or discards the placeholder before adding its own member.

All stubbers share a single metadata key — the runtime mapping between a placeholder and the full transform that should complete it is given by the member's signature, not by per-stubber namespacing.

Since:
6.0.0