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