Class MethodCallExpression
- java.lang.Object
-
- software.amazon.awssdk.codegen.poet.rules2.MethodCallExpression
-
- All Implemented Interfaces:
RuleExpression
public final class MethodCallExpression extends Object implements RuleExpression
Synthetic expression to represent direct method calls for codegen.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMethodCallExpression.Builder-
Nested classes/interfaces inherited from interface software.amazon.awssdk.codegen.poet.rules2.RuleExpression
RuleExpression.RuleExpressionKind
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(RuleExpressionVisitor<T> visitor)StringBuilderappendTo(StringBuilder buf)List<RuleExpression>arguments()static MethodCallExpression.Builderbuilder()booleanequals(Object o)inthashCode()RuleExpression.RuleExpressionKindkind()Stringname()RuleExpressionsource()StringtoString()RuleTypetype()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.codegen.poet.rules2.RuleExpression
simplify
-
-
-
-
Method Detail
-
builder
public static MethodCallExpression.Builder builder()
-
source
public RuleExpression source()
-
name
public String name()
-
arguments
public List<RuleExpression> arguments()
-
kind
public RuleExpression.RuleExpressionKind kind()
- Specified by:
kindin interfaceRuleExpression
-
appendTo
public StringBuilder appendTo(StringBuilder buf)
- Specified by:
appendToin interfaceRuleExpression
-
accept
public <T> T accept(RuleExpressionVisitor<T> visitor)
- Specified by:
acceptin interfaceRuleExpression
-
type
public RuleType type()
- Specified by:
typein interfaceRuleExpression
-
-