test_class.declarator: testOutBaseDir = new File("target/test-out/ScanArtifactMojoTest")
test_class.modifier: private final
test_class.original_string: private final File testOutBaseDir = new File("target/test-out/ScanArtifactMojoTest");
test_class.type: File
test_class.var_name: testOutBaseDir
test_class.file: maven/src/test/java/net/adamcin/oakpal/maven/mojo/ScanArtifactMojoTest.java
test_class.identifier: ScanArtifactMojoTest
test_case.body: @Test(expected = MojoFailureException.class)
      public void testGetScanArtifactFile_failWhenEmpty() throws Exception {
          newMojo().getScanArtifactFile();
      }
test_case.class_method_signature: ScanArtifactMojoTest.testGetScanArtifactFile_failWhenEmpty()
test_case.full_signature: @Test(expected = MojoFailureException.class) public void testGetScanArtifactFile_failWhenEmpty()
test_case.identifier: testGetScanArtifactFile_failWhenEmpty
test_case.invocations: getScanArtifactFile newMojo
test_case.modifiers: @Test(expected = MojoFailureException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetScanArtifactFile_failWhenEmpty()
focal_class.declarator: skip
focal_class.modifier: @Parameter(property = "oakpal.scan.skip")
      public
focal_class.original_string: @Parameter(property = "oakpal.scan.skip")
      public boolean skip;
focal_class.type: boolean
focal_class.var_name: skip
focal_class.file: maven/src/main/java/net/adamcin/oakpal/maven/mojo/ScanArtifactMojo.java
focal_class.identifier: ScanArtifactMojo
focal_class.class_method_signature: ScanArtifactMojo.isIndividuallySkipped()
focal_class.full_signature: @Override protected boolean isIndividuallySkipped()
focal_class.identifier: isIndividuallySkipped
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isIndividuallySkipped()
focal_class.class_method_signature: ScanArtifactMojo.getScanArtifactFile()
focal_class.full_signature: final @NotNull File getScanArtifactFile()
focal_class.identifier: getScanArtifactFile
focal_class.modifiers: final @NotNull
focal_class.parameters: ()
focal_class.return: File
focal_class.signature: File getScanArtifactFile()
focal_class.class_method_signature: ScanArtifactMojo.executeGuardedIntegrationTest()
focal_class.full_signature: @Override protected void executeGuardedIntegrationTest()
focal_class.identifier: executeGuardedIntegrationTest
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void executeGuardedIntegrationTest()
focal_class.superclass: extends AbstractITestWithPlanMojo
focal_method.body: final @NotNull File getScanArtifactFile() throws MojoFailureException {
          Optional<File> packageArtifact = getProject()
                  .flatMap(p -> Optional.ofNullable(p.getArtifact()))
                  .flatMap(a -> Optional.ofNullable(a.getFile()));
          if (packageArtifact.isPresent() && packageArtifact.get().exists()) {
              return packageArtifact.get();
          } else {
              throw new MojoFailureException("Failed to resolve file for project artifact.");
          }
      }
focal_method.class_method_signature: ScanArtifactMojo.getScanArtifactFile()
focal_method.full_signature: final @NotNull File getScanArtifactFile()
focal_method.identifier: getScanArtifactFile
focal_method.invocations: flatMap flatMap getProject ofNullable getArtifact ofNullable getFile isPresent exists get get
focal_method.modifiers: final @NotNull
focal_method.parameters: ()
focal_method.return: File
focal_method.signature: File getScanArtifactFile()