Class TypingContext
java.lang.Object
net.sourceforge.pmd.lang.java.types.TypingContext
- All Implemented Interfaces:
Function<JVariableSymbol,JTypeMirror>
A mapping of variables to types.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionandThen(Map<JVariableSymbol, @Nullable JTypeMirror> map) Return a new typing context which uses this one as a parent.andThenZip(List<JVariableSymbol> symbols, List<? extends JTypeMirror> types) @Nullable JTypeMirrorapply(JVariableSymbol var) protected Map<JVariableSymbol, @Nullable JTypeMirror> getMap()booleanisEmpty()toString()static TypingContextzip(List<JVariableSymbol> symbols, List<JTypeMirror> types)
-
Field Details
-
DEFAULT
Empty context. Corresponds to defaulting all lambda param types to their value in the AST.
-
-
Method Details