Class CapabilityPolicyEnforcer

java.lang.Object
com.helix.core.sandbox.CapabilityPolicyEnforcer
All Implemented Interfaces:
AstVisitor<Void>

public class CapabilityPolicyEnforcer extends Object implements AstVisitor<Void>
Traverses an AST expression tree during compilation and applies capability policy checks to all method calls, function invocations, and class/package accesses.

Ensures zero execution overhead by rejecting forbidden operations statically before bytecode generation.