Package com.tonic.analysis.source.lower
Class SyntheticLambdaMethod.CapturedVariable
- java.lang.Object
-
- com.tonic.analysis.source.lower.SyntheticLambdaMethod.CapturedVariable
-
- Enclosing class:
- SyntheticLambdaMethod
public static class SyntheticLambdaMethod.CapturedVariable extends Object
A variable captured from the enclosing scope, by name and type.
-
-
Constructor Summary
Constructors Constructor Description CapturedVariable(String name, SourceType type)
-
-
-
Constructor Detail
-
CapturedVariable
public CapturedVariable(String name, SourceType type)
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
getType
public SourceType getType()
- Returns:
- the type
-
-