Class IsSameType<T extends com.sun.source.tree.Tree>

All Implemented Interfaces:
Matcher<T>, Serializable

public class IsSameType<T extends com.sun.source.tree.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: (Yan Xie)
See Also:
Serialized Form
  • Constructor Details

    • IsSameType

      public IsSameType​(Supplier<> typeToCompareSupplier)
    • IsSameType

      public IsSameType​(String typeString)
  • Method Details