Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com)
* Copyright (c) 2026, WSO2 LLC. (http://www.wso2.com)
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -40,7 +40,7 @@
* └── test.md → Service.testGenerationInstruction
* </pre>
*
* @since 1.0.1
* @since 1.7.0
*/
public final class InstructionLoader {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* Gson TypeAdapter for StringPath that serializes it as a plain string value.
*
* @since 1.6.0
* @since 1.7.0
*/
public class StringPathAdapter extends TypeAdapter<StringPath> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* Builder class for constructing TypeDefData instances from various symbol types.
* Handles extraction of fields from records, unions, maps, tables, streams, enums, and constants.
*
* @since 1.6.0
* @since 1.7.0
*/
public class TypeDefDataBuilder {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* Builder class for creating TypeLink objects.
* Handles union types and internal/external categorization.
*
* @since 1.6.0
* @since 1.7.0
*/
public class TypeLinkBuilder {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* Database accessor for library package information from the search-index database.
* Handles database connections, queries, and resource management.
*
* @since 1.6.0
* @since 1.7.0
*/
public class LibraryDatabaseAccessor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/**
* Represents a client class or connector with its methods.
*
* @since 1.6.0
* @since 1.7.0
*/
public class Client {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Represents an enum member value.
*
* @since 1.6.0
* @since 1.7.0
*/
public class EnumValue implements TypeDefMember {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/**
* Represents a record field or enum member.
*
* @since 1.6.0
* @since 1.7.0
*/
public class Field {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/**
* Represents a library/package with its metadata and symbols.
*
* @since 1.6.0
* @since 1.7.0
*/
public class Library {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* Represents a function or method.
*
* @since 1.6.0
* @since 1.7.0
*/
public class LibraryFunction {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/**
* Represents a listener definition.
*
* @since 1.6.0
* @since 1.7.0
*/
public class Listener {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* Utility class to convert model POJOs to JSON at the API boundary.
*
* @since 1.6.0
* @since 1.7.0
*/
public class ModelToJsonConverter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/**
* Represents a function or method parameter.
*
* @since 1.6.0
* @since 1.7.0
*/
public class Parameter {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* Sealed interface representing a path element in a resource function.
* A path element can be either a static string path or a parameterized path segment.
*
* @since 1.6.0
* @since 1.7.0
*/
public sealed interface PathElement permits StringPath, PathSegment {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Represents a path parameter in a resource function.
*
* @since 1.6.0
* @since 1.7.0
*/
public final class PathSegment implements PathElement {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Represents a function return type.
*
* @since 1.6.0
* @since 1.7.0
*/
public class Return {
private String description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Represents a service definition.
*
* @since 1.6.0
* @since 1.7.0
*/
public class Service {
private String type;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* Represents a service method (remote or resource function).
*
* @since 1.6.0
* @since 1.7.0
*/
public class ServiceRemoteFunction {
private String type;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* Represents a static string path segment in a resource function.
*
* @param value the string value of the path segment
* @since 1.6.0
* @since 1.7.0
*/
@JsonAdapter(StringPathAdapter.class)
public record StringPath(String value) implements PathElement {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/**
* Represents a type reference with optional links.
*
* @since 1.6.0
* @since 1.7.0
*/
public class Type {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/**
* Represents a type definition (record, enum, union, class, constant, etc.).
*
* @since 1.6.0
* @since 1.7.0
*/
public class TypeDef {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Marker interface for TypeDef member types (EnumValue or UnionValue).
*
* @since 1.6.0
* @since 1.7.0
*/
public interface TypeDefMember {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Represents a link to a type definition in the same or different library.
*
* @since 1.6.0
* @since 1.7.0
*/
public class TypeLink {
private String category;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Represents a union member value.
*
* @since 1.6.0
* @since 1.7.0
*/
public class UnionValue implements TypeDefMember {
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Service loader for loading library service definitions.
* Handles loading from inbuilt-triggers and generic-services JSON files.
*
* @since 1.6.0
* @since 1.7.0
*/
public class ServiceLoader {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* Utility class for converting data model objects to POJO representations.
* Handles conversion of FunctionData, TypeDefData, FieldData, and ParameterData to model POJOs.
*
* @since 1.6.0
* @since 1.7.0
*/
public class LibraryModelConverter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
/**
* Processes module symbols and extracts structured data (clients, functions, typedefs).
*
* @since 1.6.0
* @since 1.7.0
*/
public class SymbolProcessor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* Utility class for extracting type information from TypeSymbol instances.
* Handles type name extraction, import statement generation, and type link creation.
*
* @since 1.6.0
* @since 1.7.0
*/
public class TypeSymbolExtractor {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com)
* Copyright (c) 2026, WSO2 LLC. (http://www.wso2.com)
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -33,7 +33,7 @@
* Integration tests for the Copilot instruction augmentation functionality.
* Verifies that custom instructions from resource files are correctly added to libraries.
*
* @since 1.0.1
* @since 1.7.0
*/
public class CopilotInstructionAugmentationTest extends AbstractLSTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com)
* Copyright (c) 2026, WSO2 LLC. (http://www.wso2.com)
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -32,7 +32,7 @@
/**
* Tests for the applyLibraryExclusions functionality in CopilotLibraryManager.
*
* @since 1.0.1
* @since 1.7.0
*/
public class CopilotLibraryExclusionTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com)
* Copyright (c) 2026, WSO2 LLC. (http://www.wso2.com)
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -37,7 +37,7 @@
* Tests the functionality of retrieving filtered libraries using the semantic model.
* Specifically focuses on verifying internal and external link references.
*
* @since 1.0.0
* @since 1.7.0
*/
public class GetFilteredLibrariesFromSemanticModel extends AbstractLSTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com)
* Copyright (c) 2026, WSO2 LLC. (http://www.wso2.com)
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -34,6 +34,7 @@
/**
* Tests for the Copilot Library Service getLibrariesListFromSearchIndex method.
*
* @since 1.7.0
*/
public class GetLibrariesListFromSearchIndex extends AbstractLSTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com)
* Copyright (c) 2026, WSO2 LLC. (http://www.wso2.com)
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -27,7 +27,7 @@
/**
* Unit tests for the InstructionLoader utility class.
*
* @since 1.0.1
* @since 1.7.0
*/
public class InstructionLoaderTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com)
* Copyright (c) 2026, WSO2 LLC. (http://www.wso2.com)
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand All @@ -23,7 +23,7 @@
/**
* Represents a field in a record type definition.
*
* @since 1.0.0
* @since 1.7.0
*/
public class FieldData {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com)
* Copyright (c) 2026, WSO2 LLC. (http://www.wso2.com)
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand All @@ -23,7 +23,7 @@
/**
* Represents the return type of a function.
*
* @since 1.0.0
* @since 1.7.0
*/
public class ReturnTypeData {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com)
* Copyright (c) 2026, WSO2 LLC. (http://www.wso2.com)
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand All @@ -23,7 +23,7 @@
/**
* Represents typedef information (Record, Enum, Union, etc.).
*
* @since 1.0.0
* @since 1.7.0
*/
public class TypeDefData {

Expand Down
Loading