1 package jp.sourceforge.stigmata.birthmarks.cvfv;
7 import jp.sourceforge.stigmata.Birthmark;
8 import jp.sourceforge.stigmata.BirthmarkContext;
9 import jp.sourceforge.stigmata.ExtractionUnit;
10 import jp.sourceforge.stigmata.birthmarks.ASMBirthmarkExtractor;
11 import jp.sourceforge.stigmata.birthmarks.BirthmarkExtractVisitor;
12 import jp.sourceforge.stigmata.spi.BirthmarkSpi;
14 import org.objectweb.asm.ClassWriter;
18 * @author Haruaki TAMADA
21 public class ConstantValueOfFieldVariableBirthmarkExtractor extends ASMBirthmarkExtractor{
22 public ConstantValueOfFieldVariableBirthmarkExtractor(BirthmarkSpi spi){
26 public ConstantValueOfFieldVariableBirthmarkExtractor(){
31 public BirthmarkExtractVisitor createExtractVisitor(ClassWriter writer, Birthmark birthmark, BirthmarkContext context) {
32 return new ConstantValueOfFieldVariableBirthmarkExtractVisitor(writer, birthmark, context);
35 public ExtractionUnit[] getAcceptableUnits(){
36 return new ExtractionUnit[] {
37 ExtractionUnit.CLASS, ExtractionUnit.PACKAGE, ExtractionUnit.ARCHIVE,