File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
csharp/ql/src/utils/modeleditor Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 11/**
2- * @name Fetch model editor methods (application mode)
3- * @description A list of 3rd party APIs used in the codebase. Excludes test and generated code.
2+ * @name Fetch endpoints for use in the model editor (application mode)
3+ * @description A list of 3rd party endpoints (methods and attributes) used in the codebase. Excludes test and generated code.
44 * @kind problem
55 * @problem.severity recommendation
6- * @id csharp/utils/modeleditor/fetch- application-mode-methods
7- * @tags modeleditor fetch methods application-mode
6+ * @id csharp/utils/modeleditor/application-mode-endpoints
7+ * @tags modeleditor endpoints application-mode
88 */
99
1010private import csharp
1111private import ModelEditor
1212
1313class ExternalEndpoint extends Endpoint {
14- ExternalEndpoint ( ) {
15- this .fromLibrary ( )
16- }
14+ ExternalEndpoint ( ) { this .fromLibrary ( ) }
1715}
1816
1917private Call aUsage ( ExternalEndpoint api ) { result .getTarget ( ) .getUnboundDeclaration ( ) = api }
Original file line number Diff line number Diff line change 11/**
2- * @name Fetch model editor methods (framework mode)
3- * @description A list of APIs callable by consumers. Excludes test and generated code.
2+ * @name Fetch endpoints for use in the model editor (framework mode)
3+ * @description A list of endpoints accessible (methods and attributes) for consumers of the library . Excludes test and generated code.
44 * @kind problem
55 * @problem.severity recommendation
6- * @id csharp/utils/modeleditor/fetch- framework-mode-methods
7- * @tags modeleditor fetch methods framework-mode
6+ * @id csharp/utils/modeleditor/framework-mode-endpoints
7+ * @tags modeleditor endpoints framework-mode
88 */
99
1010private import csharp
You can’t perform that action at this time.
0 commit comments