Class MethodInvocationMatcher.Token.ReceiverType
java.lang.Object
com.google.errorprone.matchers.method.MethodInvocationMatcher.Token.ReceiverType
- All Implemented Interfaces:
MethodInvocationMatcher.Token
- Enclosing interface:
MethodInvocationMatcher.Token
public abstract static class MethodInvocationMatcher.Token.ReceiverType
extends Object
implements MethodInvocationMatcher.Token
A token specifying the exact type of the object on which the method is being invoked (or the
class in which it is defined, for static methods).
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.errorprone.matchers.method.MethodInvocationMatcher.Token
MethodInvocationMatcher.Token.DefinedIn, MethodInvocationMatcher.Token.Kind, MethodInvocationMatcher.Token.MethodName, MethodInvocationMatcher.Token.ParameterTypes, MethodInvocationMatcher.Token.ReceiverSupertype, MethodInvocationMatcher.Token.ReceiverType
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ReceiverType
public ReceiverType()
-
-
Method Details
-
receiverType
-
create
-
comparisonKey
Description copied from interface:MethodInvocationMatcher.Token
The value to compare withMethodInvocationMatcher.TokenType.extract(Context, VisitorState)
to determine whether this property matches.- Specified by:
comparisonKey
in interfaceMethodInvocationMatcher.Token
-
type
Description copied from interface:MethodInvocationMatcher.Token
The category of properties that this value falls into.- Specified by:
type
in interfaceMethodInvocationMatcher.Token
-