@fern-api/java-dynamic-snippets 4.8.12 → 4.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -109,6 +109,13 @@ declare class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGen
109
109
  getMethodName(name: FernIr.Name): string;
110
110
  getRootClientClassReference(): java.ClassReference;
111
111
  getRootClientClassName(): string;
112
+ /**
113
+ * The client class name surfaced in documentation snippets (dynamic snippets, README, reference.md).
114
+ * Customers may export the generated root client under a different, hand-written class name; this
115
+ * accessor reflects that exported name. Falls back to the internal client class name when unset, so
116
+ * output is unchanged for users who have not configured `exported-client-class-name`.
117
+ */
118
+ getRootClientClassNameForSnippets(): string;
112
119
  getEnvironmentClassName(): string;
113
120
  getEnvironmentTypeReferenceFromID(environmentID: string): java.AstNode | undefined;
114
121
  getEnvironmentClassReference(): java.ClassReference;
package/dist/index.d.ts CHANGED
@@ -109,6 +109,13 @@ declare class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGen
109
109
  getMethodName(name: FernIr.Name): string;
110
110
  getRootClientClassReference(): java.ClassReference;
111
111
  getRootClientClassName(): string;
112
+ /**
113
+ * The client class name surfaced in documentation snippets (dynamic snippets, README, reference.md).
114
+ * Customers may export the generated root client under a different, hand-written class name; this
115
+ * accessor reflects that exported name. Falls back to the internal client class name when unset, so
116
+ * output is unchanged for users who have not configured `exported-client-class-name`.
117
+ */
118
+ getRootClientClassNameForSnippets(): string;
112
119
  getEnvironmentClassName(): string;
113
120
  getEnvironmentTypeReferenceFromID(environmentID: string): java.AstNode | undefined;
114
121
  getEnvironmentClassReference(): java.ClassReference;