Package com.tonic.analysis.query.eval
Class Subject.ArgSubject
- java.lang.Object
-
- com.tonic.analysis.query.eval.Subject.ArgSubject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.tonic.analysis.query.eval.Subject
Subject.ArgSubject, Subject.BootstrapArgSubject, Subject.CallSubject, Subject.ClassSubject, Subject.DynamicSubject, Subject.FieldAccessSubject, Subject.InstructionSubject, Subject.MethodSubject, Subject.ParamSubject
-
-
Constructor Summary
Constructors Constructor Description ArgSubject(Subject.CallSubject call, int argIndex)Binds the cursor to one argument of a call site, inheriting its context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intargIndex()Subject.CallSubjectcall()EvalContextcontext()SubjectKindkind()
-
-
-
Constructor Detail
-
ArgSubject
public ArgSubject(Subject.CallSubject call, int argIndex)
Binds the cursor to one argument of a call site, inheriting its context.- Parameters:
call- the call site the argument is passed toargIndex- the argument's position
-
-
Method Detail
-
call
public Subject.CallSubject call()
- Returns:
- the call site this argument belongs to
-
argIndex
public int argIndex()
- Returns:
- the argument's position in the call
-
kind
public SubjectKind kind()
-
context
public EvalContext context()
-
-