Class PackageMapper
java.lang.Object
software.coley.sourcesolver.mapping.PackageMapper
- All Implemented Interfaces:
Mapper<PackageModel,PackageTree>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmap(MappingContext context, com.sun.tools.javac.tree.EndPosTable table, PackageTree tree) Maps the given tree into our own model format.
-
Constructor Details
-
PackageMapper
-
-
Method Details
-
map
@Nonnull public PackageModel map(@Nonnull MappingContext context, @Nonnull com.sun.tools.javac.tree.EndPosTable table, @Nonnull PackageTree tree) Description copied from interface:MapperMaps the given tree into our own model format.- Specified by:
mapin interfaceMapper<PackageModel,PackageTree> - 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.
-