test_class.declarator: testAttName = "user.coldloc"
test_class.modifier: private
test_class.original_string: private String testAttName = "user.coldloc";
test_class.type: String
test_class.var_name: testAttName
test_class.file: smart-hadoop-support/smart-hadoop/src/test/java/org/smartdata/hdfs/action/TestSetXAttrAction.java
test_class.identifier: TestSetXAttrAction
test_class.superclass: extends MiniClusterHarness
test_case.body: @Test
    public void testInit() throws IOException {
      SetXAttrAction setXAttrAction = new SetXAttrAction();
      Map<String, String> args = new HashMap<>();
      args.put(SetXAttrAction.FILE_PATH, "Test");
      setXAttrAction.init(args);
      args.put(SetXAttrAction.ATT_NAME, testAttName);
      args.put(SetXAttrAction.ATT_VALUE, "test");
      setXAttrAction.init(args);
    }
test_case.class_method_signature: TestSetXAttrAction.testInit()
test_case.full_signature: @Test public void testInit()
test_case.identifier: testInit
test_case.invocations: put init put put init
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInit()
focal_class.declarator: LOG =
        LoggerFactory.getLogger(SetXAttrAction.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG =
        LoggerFactory.getLogger(SetXAttrAction.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: ATT_NAME = "-name"
focal_class.modifier: public static final
focal_class.original_string: public static final String ATT_NAME = "-name";
focal_class.type: String
focal_class.var_name: ATT_NAME
focal_class.declarator: ATT_VALUE = "-value"
focal_class.modifier: public static final
focal_class.original_string: public static final String ATT_VALUE = "-value";
focal_class.type: String
focal_class.var_name: ATT_VALUE
focal_class.declarator: srcPath
focal_class.modifier: private
focal_class.original_string: private String srcPath;
focal_class.type: String
focal_class.var_name: srcPath
focal_class.declarator: attName
focal_class.modifier: private
focal_class.original_string: private String attName;
focal_class.type: String
focal_class.var_name: attName
focal_class.declarator: attValue
focal_class.modifier: private
focal_class.original_string: private String attValue;
focal_class.type: String
focal_class.var_name: attValue
focal_class.file: smart-hadoop-support/smart-hadoop/src/main/java/org/smartdata/hdfs/action/SetXAttrAction.java
focal_class.identifier: SetXAttrAction
focal_class.class_method_signature: SetXAttrAction.init(Map<String, String> args)
focal_class.full_signature: @Override public void init(Map<String, String> args)
focal_class.identifier: init
focal_class.modifiers: @Override public
focal_class.parameters: (Map<String, String> args)
focal_class.return: void
focal_class.signature: void init(Map<String, String> args)
focal_class.class_method_signature: SetXAttrAction.execute()
focal_class.full_signature: @Override protected void execute()
focal_class.identifier: execute
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void execute()
focal_class.superclass: extends HdfsAction
focal_method.body: @Override
    public void init(Map<String, String> args) {
      super.init(args);
      if (args.containsKey(FILE_PATH)) {
        this.srcPath = args.get(FILE_PATH);
      }
      if (args.containsKey(ATT_NAME)) {
        this.attName = args.get(ATT_NAME);
      }
      if (args.containsKey(ATT_VALUE)) {
        this.attValue = args.get(ATT_VALUE);
      }
    }
focal_method.class_method_signature: SetXAttrAction.init(Map<String, String> args)
focal_method.full_signature: @Override public void init(Map<String, String> args)
focal_method.identifier: init
focal_method.invocations: init containsKey get containsKey get containsKey get
focal_method.modifiers: @Override public
focal_method.parameters: (Map<String, String> args)
focal_method.return: void
focal_method.signature: void init(Map<String, String> args)