001 package edu.rice.cs.cunit.instrumentors.util; 002 003 import edu.rice.cs.cunit.instrumentors.IInstrumentationStrategy; 004 005 import java.util.List; 006 007 /** 008 * An instrumentation strategy that scans for some property. 009 * @author Mathias Ricken 010 */ 011 public interface IScannerStrategy extends IInstrumentationStrategy { 012 /** 013 * Base interface for scan results. 014 */ 015 public interface IScanResult { 016 /** 017 * Return the name of the property that was scanned for. 018 * @return property name 019 */ 020 public String getPropertyName(); 021 } 022 023 /** 024 * Return a list of scan results. 025 * @return list of scan results. 026 */ 027 public List<? extends IScanResult> getScanResults(); 028 }