test_class.declarator: scriptRunner = new SequenceScriptRunner()
test_class.original_string: SequenceScriptRunner scriptRunner = new SequenceScriptRunner();
test_class.type: SequenceScriptRunner
test_class.var_name: scriptRunner
test_class.file: beanmother-core/src/test/java/io/beanmother/core/script/std/SequenceScriptRunnerTest.java
test_class.identifier: SequenceScriptRunnerTest
test_case.body: @Test(expected = ScriptOperationException.class)
      public void testRaiseError() {
          scriptRunner.run(ScriptFragment.of("fail"));
      }
test_case.class_method_signature: SequenceScriptRunnerTest.testRaiseError()
test_case.full_signature: @Test(expected = ScriptOperationException.class) public void testRaiseError()
test_case.identifier: testRaiseError
test_case.invocations: run of
test_case.modifiers: @Test(expected = ScriptOperationException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRaiseError()
focal_class.declarator: NAMESPACE = "sequence"
focal_class.modifier: private final static
focal_class.original_string: private final static String NAMESPACE = "sequence";
focal_class.type: String
focal_class.var_name: NAMESPACE
focal_class.declarator: NUMBER_SEQUENCE_METHOD_NAME = "number"
focal_class.modifier: private final static
focal_class.original_string: private final static String NUMBER_SEQUENCE_METHOD_NAME = "number";
focal_class.type: String
focal_class.var_name: NUMBER_SEQUENCE_METHOD_NAME
focal_class.declarator: longSequence = new AtomicLong(0)
focal_class.modifier: private
focal_class.original_string: private AtomicLong longSequence = new AtomicLong(0);
focal_class.type: AtomicLong
focal_class.var_name: longSequence
focal_class.file: beanmother-core/src/main/java/io/beanmother/core/script/std/SequenceScriptRunner.java
focal_class.identifier: SequenceScriptRunner
focal_class.interfaces: implements ScriptRunner
focal_class.class_method_signature: SequenceScriptRunner.run(ScriptFragment scriptFragment)
focal_class.full_signature: @Override public Object run(ScriptFragment scriptFragment)
focal_class.identifier: run
focal_class.modifiers: @Override public
focal_class.parameters: (ScriptFragment scriptFragment)
focal_class.return: Object
focal_class.signature: Object run(ScriptFragment scriptFragment)
focal_class.class_method_signature: SequenceScriptRunner.canHandle(ScriptFragment scriptFragment)
focal_class.full_signature: @Override public boolean canHandle(ScriptFragment scriptFragment)
focal_class.identifier: canHandle
focal_class.modifiers: @Override public
focal_class.parameters: (ScriptFragment scriptFragment)
focal_class.return: boolean
focal_class.signature: boolean canHandle(ScriptFragment scriptFragment)
focal_method.body: @Override
      public Object run(ScriptFragment scriptFragment) {
          if (!canHandle(scriptFragment)) throw new ScriptOperationException(scriptFragment.getMethodName() + " is not support.");
  
          if (scriptFragment.getNext() == null
                  || scriptFragment.getNext().getMethodName().equals(NUMBER_SEQUENCE_METHOD_NAME)) {
              return longSequence.addAndGet(1l);
          } else {
              throw new ScriptOperationException(scriptFragment.getMethodName() + " is not support.");
          }
      }
focal_method.class_method_signature: SequenceScriptRunner.run(ScriptFragment scriptFragment)
focal_method.full_signature: @Override public Object run(ScriptFragment scriptFragment)
focal_method.identifier: run
focal_method.invocations: canHandle getMethodName getNext equals getMethodName getNext addAndGet getMethodName
focal_method.modifiers: @Override public
focal_method.parameters: (ScriptFragment scriptFragment)
focal_method.return: Object
focal_method.signature: Object run(ScriptFragment scriptFragment)