(.js)
laraImport("kadabra.analysis.energy.detectors.ExcessiveMethodCallsDetector");
(.lara)
import kadabra.analysis.energy.detectors.ExcessiveMethodCallsDetector;
ExcessiveMethodCallsDetector
Constructor
ExcessiveMethodCallsDetector
new ExcessiveMethodCallsDetector()
Static Members
addIfNew
addIfNew(arr, jp)
Parameters
arr: unknown
jp: unknown
containsJP
containsJP(arr, jp)
Parameters
arr: unknown
jp: unknown
tryGetMethodInfo
tryGetMethodInfo(arr, jp)
Parameters
arr: unknown
jp: unknown
Instance Members
analyseClass
analyseClass(jpClass)
Parameters
jpClass: unknown
analyseLoop
analyseLoop(jpLoop)
Parameters
jpLoop: unknown
analyseLoopCall
analyseLoopCall(jp)
analyseMethodRecursive
analyseMethodRecursive(jpMethod)
Parameters
jpMethod: unknown
analyseVar
analyseVar(jpVar)
callInvokesVariantMethod
callInvokesVariantMethod(jp)
callUsesVariantArgument
callUsesVariantArgument(jpCall)
Parameters
jpCall: unknown
collectLoopInfo
collectLoopInfo(jp)
compareFieldUsage
compareFieldUsage(arr1, arr2)
Parameters
arr1: unknown
arr2: unknown
constructor
constructor(debugEnabled)
Parameters
debugEnabled: unknown
getFieldUsageInsideJP
getFieldUsageInsideJP(jp)
getFirstDescendentsOfTypes
getFirstDescendentsOfTypes(jp, types)
Parameters
jp: unknown
types: unknown
isCallInvariant
isCallInvariant(jpCall)
Parameters
jpCall: unknown
printDebugInfo
printDebugInfo(msg)
resetDetector
resetDetector()