Class IdentifierMapper

java.lang.Object
software.coley.sourcesolver.mapping.IdentifierMapper
All Implemented Interfaces:
Mapper<NameExpressionModel,IdentifierTree>

public class IdentifierMapper extends Object implements Mapper<NameExpressionModel,IdentifierTree>
  • Constructor Details

    • IdentifierMapper

      public IdentifierMapper()
  • Method Details

    • map

      @Nonnull public NameExpressionModel map(@Nonnull MappingContext context, @Nonnull com.sun.tools.javac.tree.EndPosTable table, @Nonnull IdentifierTree tree)
      Description copied from interface: Mapper
      Maps the given tree into our own model format.
      Specified by:
      map in interface Mapper<NameExpressionModel,IdentifierTree>
      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.