T- the type of Tree that this TypeExtractor operates on
public static interface AbstractMockChecker.TypeExtractor<T extends com.sun.source.tree.Tree>
Matcherto return, not just a boolean `matches`, but also extract some type information about the Tree of interest.
This is used to identify what classes are being mocked in a Tree.
|Modifier and Type||Method and Description|
Investigate the provided Tree, and return type information about it if it matches.
Enrich this TypeExtractor with fallback behavior.
Optional<com.sun.tools.javac.code.Type> extract(T tree, VisitorState state)
Copyright © 2019. All rights reserved.