(.js)
laraImport("weaver.Weaver");
(.lara)
import weaver.Weaver;
Weaver
Contains utility methods related to the weaver.
deserialize(string)
Converts a serialized join point back to an object.
getDefaultAttribute(joinPointType)
getLaraLoc()
getLaraLocTotals()
getName()
getWeaverEngine()
hasAttribute(jp, attributeName)
This function is deprecated. Use $jp.attributes instead
isJoinPoint($joinpoint, type)
runParallel(argsLists, [threads = -1], [weaverCommand = []])
Launches several weaving sessions in parallel.
serialize(object)
Converts a given join point to a string.
toJs(javaObject)
Adapts a Java object to JavaScript. Currently converts:
- Null to undefined;
- Java array to JS array;
- List to array;
writeCode(outputFolder)