Code
These are the endpoints used to retrieve system code: packages, classes and methods.
It is important to mention that the JSON objects returned by these endpoints should include common properties of every object
. This is used by Webside IDE to provide inspection services over objects of the meta-model (classes, methods, etc.). These are the common properties at the moment:
{
"class": "string",
"hasNamedSlots": "boolean",
"hasIndexedSlots": "boolean",
"size": "number",
"printString": "string"
}
Endpoints
GET
Retrieve methods satisfying the condition specified in the query (or all the methods in the system if no condition is provided)
selector
, category
, accessing
, using
, assigning
, sending
, referencingClass
, selectorMatching
, ast
, annotations
, bytecodes
, dissasembly
, count
-
GET
Retrieve all subclasses of a given root class (if no root is provided, the uppermost class in the system is used). It is also possible get a tree-like structure as well as to limit the depth in the classes hierarchy
root
, names
, tree
, depth
, category
-
GET
Retrieve categories used throughout the hierarchy of a given class
-
-
GET
Retrieve the method with the given selector in the given class
-
-
GET
Retrieve actual classes of a given package
extended
, tree
, names
, category
-
Last updated