use of suite.jdk.gen.FunExprM.ProfileFunExpr in project suite by stupidsing.
the class FunCreatorTest method testProfile.
@Test
public void testProfile() {
Iterate<FunExpr> fun = i -> (ProfileFunExpr) f.profile(f.int_(1));
IntSource instance = LambdaInstance.of(IntSource.class, fun).newFun();
assertEquals(1, instance.source());
Dump.out(instance);
}
use of suite.jdk.gen.FunExprM.ProfileFunExpr in project suite by stupidsing.
the class FunFactory method profile.
public FunExpr profile(FunExpr do_) {
ProfileFunExpr expr = new ProfileFunExpr();
expr.do_ = do_;
return expr;
}
Aggregations