public static < T extends Tree > Matcher < T > isSameType ( Class < ? > clazz ) { return new IsSameType <> ( typeFromClass ( clazz ) ) ; }
Matches an AST node if it has the same erased type as the given class .