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 1
1
/**
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.
4
4
* @kind problem
5
5
* @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
8
8
*/
9
9
10
10
private import csharp
11
11
private import ModelEditor
12
12
13
13
class ExternalEndpoint extends Endpoint {
14
- ExternalEndpoint ( ) {
15
- this .fromLibrary ( )
16
- }
14
+ ExternalEndpoint ( ) { this .fromLibrary ( ) }
17
15
}
18
16
19
17
private Call aUsage ( ExternalEndpoint api ) { result .getTarget ( ) .getUnboundDeclaration ( ) = api }
Original file line number Diff line number Diff line change 1
1
/**
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.
4
4
* @kind problem
5
5
* @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
8
8
*/
9
9
10
10
private import csharp
You can’t perform that action at this time.
0 commit comments