Package com.tonic.analysis.query.eval
Class Subject.ParamSubject
- java.lang.Object
-
- com.tonic.analysis.query.eval.Subject.ParamSubject
-
-
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 ParamSubject(MethodEntry method, int index, String type, EvalContext context)Binds the cursor to a declared parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvalContextcontext()intindex()SubjectKindkind()MethodEntrymethod()Stringtype()
-
-
-
Constructor Detail
-
ParamSubject
public ParamSubject(MethodEntry method, int index, String type, EvalContext context)
Binds the cursor to a declared parameter.- Parameters:
method- the declaring methodindex- the parameter's position in the signaturetype- the parameter's descriptorcontext- the shared evaluation context
-
-
Method Detail
-
method
public MethodEntry method()
- Returns:
- the method declaring this parameter
-
index
public int index()
- Returns:
- the parameter's position in the signature
-
type
public String type()
- Returns:
- the parameter's descriptor
-
kind
public SubjectKind kind()
-
context
public EvalContext context()
-
-