1 19 20 package org.netbeans.modules.java.parser; 21 22 import org.netbeans.modules.java.ElementFactory; 23 import java.io.IOException ; 24 import java.io.InputStream ; 25 import java.util.Collection ; 26 import org.netbeans.api.java.classpath.ClassPath; 27 28 38 public interface ParseObjectRequest { 39 41 public void setSyntaxErrors(int errors); 42 43 45 public int getSyntaxErrors(); 46 47 50 public void setSemanticErrors(int errors); 51 52 56 public ElementFactory getFactory(); 57 58 62 public char[] getSource() throws IOException ; 63 64 72 public InputStream findCompiledClass(String className); 73 74 81 public boolean isValid(); 82 83 public boolean needsProcessing(); 84 85 89 public void notifyStart(); 90 91 94 public void notifyComplete(); 95 96 public Object getParserType(); 97 98 100 public Collection getMessages(); 101 102 public String getSourceName(); 103 104 public ClassPath getLibraryPath(); 105 public ClassPath getBootClassPath(); 106 public ClassPath getSourcePath(); 107 } 108 | Popular Tags |