Package com.tonic.analysis.query.eval
Class Subject.DynamicSubject
- java.lang.Object
-
- com.tonic.analysis.query.eval.Subject.DynamicSubject
-
-
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 DynamicSubject(Bootstraps.BootstrapRef bootstrap, String name, String descriptor, String site, Instruction instruction, EvalContext context)Binds the cursor to an invokedynamic or dynamic-constant site.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bootstraps.BootstrapRefbootstrap()EvalContextcontext()Stringdescriptor()Instructioninstruction()SubjectKindkind()Stringname()Stringsite()
-
-
-
Constructor Detail
-
DynamicSubject
public DynamicSubject(Bootstraps.BootstrapRef bootstrap, String name, String descriptor, String site, Instruction instruction, EvalContext context)
Binds the cursor to an invokedynamic or dynamic-constant site.- Parameters:
bootstrap- the resolved bootstrap methodname- the call site namedescriptor- the call site descriptorsite- "indy" or "condy"instruction- the originating instruction, or null for a nested condy argumentcontext- the shared evaluation context
-
-
Method Detail
-
bootstrap
public Bootstraps.BootstrapRef bootstrap()
- Returns:
- the resolved bootstrap method
-
name
public String name()
- Returns:
- the call site name
-
descriptor
public String descriptor()
- Returns:
- the call site descriptor
-
site
public String site()
- Returns:
- "indy" or "condy", identifying which kind of site this is
-
instruction
public Instruction instruction()
- Returns:
- the originating instruction, or null for a nested condy argument
-
kind
public SubjectKind kind()
-
context
public EvalContext context()
-
-