1 19 20 package org.netbeans.jmi.javamodel; 21 22 30 public interface Resource extends org.netbeans.jmi.javamodel.NamedElement { 31 34 public java.lang.String getSourceText(); 35 39 public boolean containsIdentifier(java.lang.String identifier); 40 43 public int getStatus(); 44 47 public java.util.List getErrors(); 48 53 public org.netbeans.jmi.javamodel.Element getElementByOffset(int offset); 54 62 public java.util.List getMain(); 63 80 public boolean addImport(org.netbeans.jmi.javamodel.Import importToAdd); 81 86 public long getTimestamp(); 87 92 public void setTimestamp(long newValue); 93 98 public java.util.List getClassifiers(); 99 104 public java.util.List getImports(); 105 110 public java.lang.String getPackageName(); 111 116 public void setPackageName(java.lang.String newValue); 117 121 public org.netbeans.jmi.javamodel.MultipartId getPackageIdentifier(); 122 127 public void setPackageIdentifier(org.netbeans.jmi.javamodel.MultipartId newValue); 128 132 public java.util.List getPackageAnnotations(); 133 } 134 | Popular Tags |