public static class CSVMethodNameMappingParser.Builder extends AbstractCSVMappingParser.MemberBuilder
format
classNameColumn
Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
CSVMethodNameMappingParser |
build(String originalNameColumn,
String targetNameColumn) |
Constructs a new CSV method name mapping parser using the configuration within this builder.
|
CSVMethodNameMappingParser.Builder |
withClassNameColumn(String columnName) |
Selects the column in which the enclosing class name will be found.
|
CSVMethodNameMappingParser.Builder |
withFormat(org.apache.commons.csv.CSVFormat format) |
Selects a CSV format to rely upon when parsing file or stream contents.
|
CSVMethodNameMappingParser.Builder |
withSignatureColumn(String columnName) |
Selects the column in which the ASM signature for the method will be found.
|
@NonNull public CSVMethodNameMappingParser build(@NonNull String originalNameColumn, @NonNull String targetNameColumn)
originalNameColumn
- the name of the column in which the original method name is
stored.targetNameColumn
- the name of the column in which the target method name is stored.@NonNull public CSVMethodNameMappingParser.Builder withClassNameColumn(@Nullable String columnName)
Selects the column in which the enclosing class name will be found.
If none is specified (e.g. this method is not called at all or null is passed), the resulting mapper will attempt to match a member based on any other configured factors).
withClassNameColumn
in class AbstractCSVMappingParser.MemberBuilder
columnName
- a column name.@NonNull public CSVMethodNameMappingParser.Builder withFormat(@NonNull org.apache.commons.csv.CSVFormat format)
withFormat
in class AbstractCSVMappingParser.Builder
format
- a CSV format.@NonNull public CSVMethodNameMappingParser.Builder withSignatureColumn(@Nullable String columnName)
Selects the column in which the ASM signature for the method will be found.
If none is specified (e.g. this method is not called at all or null is passed), the resulting mapper will only evaluate whether or not the method name and class name match (assuming that a class name index was configured).
columnName
- a column index.Copyright © 2018 Basin. All rights reserved.