1 19 package org.netbeans.modules.refactoring.api.impl; 20 21 import java.util.ArrayList ; 22 import java.util.Collection ; 23 import java.util.List ; 24 import org.netbeans.modules.refactoring.api.RefactoringSession; 25 import org.netbeans.modules.refactoring.spi.RefactoringElementsBag; 26 import org.netbeans.modules.refactoring.spi.Transaction; 27 28 32 public abstract class SPIAccessor { 33 public static SPIAccessor DEFAULT; 34 35 static { 36 Class c = RefactoringElementsBag.class; 37 try { 38 Class.forName(c.getName(), true, c.getClassLoader()); 39 } catch (Exception ex) { 40 ex.printStackTrace(); 41 } 42 } 43 44 public abstract RefactoringElementsBag createBag(RefactoringSession session, List delegate); 45 public abstract Collection getReadOnlyFiles(RefactoringElementsBag bag); 46 public abstract ArrayList <Transaction> getCommits(RefactoringElementsBag bag); 47 public abstract ArrayList <Transaction> getFileChanges(RefactoringElementsBag bag); 48 49 50 51 } 52 | Popular Tags |