1 7 8 package javax.lang.model.util; 9 10 11 import java.util.List ; 12 import java.util.Map ; 13 14 import javax.lang.model.element.*; 15 import javax.lang.model.type.*; 16 17 18 31 public interface Elements { 32 33 39 PackageElement getPackageElement(CharSequence name); 40 41 47 TypeElement getTypeElement(CharSequence name); 48 49 56 Map <? extends ExecutableElement, ? extends AnnotationValue> 57 getElementValuesWithDefaults(AnnotationMirror a); 58 59 67 String getDocComment(Element e); 68 69 75 boolean isDeprecated(Element e); 76 77 86 Name getBinaryName(TypeElement type); 87 88 89 96 PackageElement getPackageOf(Element type); 97 98 110 List <? extends Element> getAllMembers(TypeElement type); 111 112 120 List <? extends AnnotationMirror> getAllAnnotationMirrors(Element e); 121 122 130 boolean hides(Element hider, Element hidden); 131 132 183 boolean overrides(ExecutableElement overrider, ExecutableElement overridden, 184 TypeElement type); 185 186 199 String getConstantExpression(Object value); 200 201 210 void printElements(java.io.Writer w, Element... elements); 211 212 218 Name getName(CharSequence cs); 219 } 220 | Popular Tags |