public class LambdaInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Object |
Lambda |
protected int |
lambdaIndex
JPAQueryComposer stores the lambdas that are chained together to create a query in a list.
|
protected int |
numCapturedArgs |
protected int |
numLambdaArgs |
protected com.user00.thunk.SerializedLambda |
serializedLambda |
| Modifier | Constructor and Description |
|---|---|
protected |
LambdaInfo(int lambdaIndex,
int numCapturedArgs,
int numLambdaArgs) |
| Modifier and Type | Method and Description |
|---|---|
static LambdaInfo |
analyze(Object lambda,
int lambdaIndex,
boolean throwExceptionOnFailure) |
LambdaAnalysis |
fullyAnalyze(MetamodelUtil metamodel,
ClassLoader alternateClassLoader,
boolean isObjectEqualsSafe,
boolean isAllEqualsSafe,
boolean isCollectionContainsSafe,
boolean throwExceptionOnFailure) |
Object |
getCapturedArg(int argIndex) |
Object |
getField(String fieldName) |
String |
getLambdaSourceString() |
int |
getNumCapturedArgs() |
int |
getNumLambdaArgs() |
boolean |
hasLambdaObject() |
boolean |
isInvokeStatic() |
boolean |
isInvokeVirtual() |
protected Object Lambda
protected com.user00.thunk.SerializedLambda serializedLambda
protected int numCapturedArgs
protected int numLambdaArgs
protected int lambdaIndex
protected LambdaInfo(int lambdaIndex,
int numCapturedArgs,
int numLambdaArgs)
public static LambdaInfo analyze(Object lambda, int lambdaIndex, boolean throwExceptionOnFailure)
public int getNumCapturedArgs()
public int getNumLambdaArgs()
public boolean hasLambdaObject()
public Object getCapturedArg(int argIndex)
public boolean isInvokeStatic()
public boolean isInvokeVirtual()
public LambdaAnalysis fullyAnalyze(MetamodelUtil metamodel, ClassLoader alternateClassLoader, boolean isObjectEqualsSafe, boolean isAllEqualsSafe, boolean isCollectionContainsSafe, boolean throwExceptionOnFailure)
public String getLambdaSourceString()
Copyright © 2015. All rights reserved.