public abstract static class MethodInvocationMatcher.Token.MethodName extends Object implements MethodInvocationMatcher.Token
MethodInvocationMatcher.Token.DefinedIn, MethodInvocationMatcher.Token.Kind, MethodInvocationMatcher.Token.MethodName, MethodInvocationMatcher.Token.ParameterTypes, MethodInvocationMatcher.Token.ReceiverSupertype, MethodInvocationMatcher.Token.ReceiverType
Constructor and Description |
---|
MethodName() |
Modifier and Type | Method and Description |
---|---|
Object |
comparisonKey()
The value to compare with
TokenType#extract(Context, VisitorState) to determine
whether this property matches. |
static MethodInvocationMatcher.Token.MethodName |
create(String methodName) |
abstract String |
methodName() |
MethodInvocationMatcher.TokenType |
type()
The category of properties that this value falls into.
|
public abstract String methodName()
public Object comparisonKey()
MethodInvocationMatcher.Token
TokenType#extract(Context, VisitorState)
to determine
whether this property matches.comparisonKey
in interface MethodInvocationMatcher.Token
public MethodInvocationMatcher.TokenType type()
MethodInvocationMatcher.Token
type
in interface MethodInvocationMatcher.Token
public static MethodInvocationMatcher.Token.MethodName create(String methodName)
Copyright © 2019. All rights reserved.