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