1 7 8 package javax.annotation.processing; 9 10 import javax.tools.JavaFileManager; 11 import javax.tools.*; 12 import javax.lang.model.element.Element; 13 import java.io.IOException ; 14 15 112 public interface Filer { 113 154 JavaFileObject createSourceFile(CharSequence name, 155 Element... originatingElements) throws IOException ; 156 157 184 JavaFileObject createClassFile(CharSequence name, 185 Element... originatingElements) throws IOException ; 186 187 219 FileObject createResource(JavaFileManager.Location location, 220 CharSequence pkg, 221 CharSequence relativeName, 222 Element... originatingElements) throws IOException ; 223 224 241 FileObject getResource(JavaFileManager.Location location, 242 CharSequence pkg, 243 CharSequence relativeName) throws IOException ; 244 } 245 | Popular Tags |