All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jinq.jpa.transform.ScalaLambdaInfo Maven / Gradle / Ivy

There is a newer version: 1.8.37
Show newest version
package org.jinq.jpa.transform;

public class ScalaLambdaInfo extends LambdaInfo
{
   String className;

   protected ScalaLambdaInfo(Object lambdaObject, 
         int lambdaIndex, int numCapturedArgs,
         int numLambdaArgs)
   {
      super(lambdaIndex, numCapturedArgs, numLambdaArgs);
      this.Lambda = lambdaObject;
      className = lambdaObject.getClass().getName();
   }

   @Override
   public String getLambdaSourceString()
   {
      return className;
   }

   @Override
   public LambdaAnalysis fullyAnalyze(MetamodelUtil metamodel, ClassLoader alternateClassLoader, boolean isObjectEqualsSafe, boolean isCollectionContainsSafe, boolean throwExceptionOnFailure)
   {
      return LambdaAnalysis.fullyAnalyzeClassAsLambda(this, new LambdaAnalysis.LambdaAsClassAnalysisConfig(), numLambdaArgs, metamodel, alternateClassLoader, isObjectEqualsSafe, isCollectionContainsSafe, throwExceptionOnFailure);
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy