public static class UastCallMatcher.Builder
extends java.lang.Object
UastCallMatcher.SimpleUastCallMatcher
. At least one qualifier must be specified.
Please note that withArgumentsCount(int)
and withArgumentTypes(String...)
cannot be used
at the same time (only the last call will have an effect).Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UastCallMatcher |
build() |
UastCallMatcher.Builder |
withArgumentsCount(int argumentsCount) |
UastCallMatcher.Builder |
withArgumentTypes(java.lang.String... arguments) |
UastCallMatcher.Builder |
withClassFqn(java.lang.String classFqn) |
UastCallMatcher.Builder |
withMatchArgumentTypeInheritors(boolean matchArgumentTypeInheritors) |
UastCallMatcher.Builder |
withMethodName(java.lang.String methodName) |
UastCallMatcher.Builder |
withReturnType(java.lang.String returnTypeClassFqn) |
public UastCallMatcher.Builder withMethodName(java.lang.String methodName)
public UastCallMatcher.Builder withClassFqn(java.lang.String classFqn)
public UastCallMatcher.Builder withReturnType(java.lang.String returnTypeClassFqn)
public UastCallMatcher.Builder withArgumentsCount(int argumentsCount)
public UastCallMatcher.Builder withArgumentTypes(java.lang.String... arguments)
public UastCallMatcher.Builder withMatchArgumentTypeInheritors(boolean matchArgumentTypeInheritors)
public UastCallMatcher build()