Class TypeArgumentsMapper
java.lang.Object
software.coley.sourcesolver.mapping.TypeArgumentsMapper
- All Implemented Interfaces:
Mapper<TypeArgumentsMapper.Args,TypeArgumentsMapper.ArgsTree>
public class TypeArgumentsMapper
extends Object
implements Mapper<TypeArgumentsMapper.Args,TypeArgumentsMapper.ArgsTree>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIntermediate holder for the type arguments.static interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmap(MappingContext context, com.sun.tools.javac.tree.EndPosTable table, TypeArgumentsMapper.ArgsTree tree) Maps the given tree into our own model format.
-
Constructor Details
-
TypeArgumentsMapper
public TypeArgumentsMapper()
-
-
Method Details
-
map
@Nonnull public TypeArgumentsMapper.Args map(@Nonnull MappingContext context, @Nonnull com.sun.tools.javac.tree.EndPosTable table, @Nullable TypeArgumentsMapper.ArgsTree tree) Description copied from interface:MapperMaps the given tree into our own model format.- Specified by:
mapin interfaceMapper<TypeArgumentsMapper.Args,TypeArgumentsMapper.ArgsTree> - Parameters:
context- Mapping context to do additional work within.table- Table to lookup tree positions within.tree- Tree to map.- Returns:
- Model representation of the tree.
-