Class IsSameType<T extends Tree>

java.lang.Object
com.google.errorprone.matchers.AbstractTypeMatcher<T>
com.google.errorprone.matchers.IsSameType<T>
All Implemented Interfaces:
Matcher<T>, Serializable

public class IsSameType<T extends Tree>
extends AbstractTypeMatcher<T>
Matches an AST node if its erased type is the same as the given type, e.g. If the type of the AST node is HashMap<K,V> and the given type is HashMap, then their erased type is the same.
Author:
yanx@google.com (Yan Xie)
See Also:
Serialized Form