
software.amazon.awssdk.codegen.rules.SingleArgFn.resource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codegen Show documentation
Show all versions of codegen Show documentation
The AWS SDK for Java - Code Generator module holds the classes and templates required to generate the
AWS Java SDK clients for AWS services.
The newest version!
import software.amazon.awssdk.annotations.SdkInternalApi;
@SdkInternalApi
public abstract class SingleArgFn extends Fn {
public SingleArgFn(FnNode fnNode) {
super(fnNode);
}
public Expr target() {
return expectOneArg();
}
@Override
public Value eval(Scope scope) {
return evalArg(expectOneArg().eval(scope));
}
protected abstract Value evalArg(Value arg);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy