All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
protected CharSequence |
_annotationValueCode(AnnotationMirror a) |
protected CharSequence |
_annotationValueCode(AnnotationValue value) |
protected CharSequence |
_annotationValueCode(List<? extends AnnotationValue> values) |
protected CharSequence |
_annotationValueCode(Object value) |
protected CharSequence |
_annotationValueCode(String value) |
protected CharSequence |
_annotationValueCode(TypeMirror type) |
protected CharSequence |
_annotationValueCode(VariableElement ve) |
protected CharSequence |
_annotationValueCode(Void a) |
protected CharSequence |
_code(Element element) |
protected CharSequence |
_code(ExecutableElement ee) |
protected CharSequence |
_code(TypeElement typeElement) |
protected CharSequence |
_code(VariableElement field) |
protected CharSequence |
_codeForBody(ExecutableElement e) |
protected CharSequence |
_codeForBody(GenExecutableElement e) |
protected CharSequence |
_constantExpressionCode(GenField field) |
protected CharSequence |
_constantExpressionCode(VariableElement field) |
protected CharSequence |
_docCommentCode(Element element) |
protected CharSequence |
_docCommentCode(GenElement element) |
protected Iterable<? extends TypeParameterElement> |
_typeParams(Element e) |
protected Iterable<? extends TypeParameterElement> |
_typeParams(ExecutableElement e) |
protected Iterable<? extends TypeParameterElement> |
_typeParams(TypeElement e) |
CharSequence |
annotationCode(AnnotationMirror a) |
CharSequence |
annotationValueCode(Object values) |
CharSequence |
block(CharSequence statements) |
CharSequence |
boundsCode(TypeParameterElement tpe) |
CharSequence |
code(Element ee) |
CharSequence |
codeForAnnotationType(TypeElement element) |
CharSequence |
codeForBody(ExecutableElement e) |
CharSequence |
codeForClass(TypeElement element) |
CharSequence |
codeForConstructor(ExecutableElement e) |
CharSequence |
codeForEnum(TypeElement element) |
CharSequence |
codeForInstanceInitializer(ExecutableElement element) |
CharSequence |
codeForInterface(TypeElement element) |
CharSequence |
codeForInterfaces(TypeElement e) |
CharSequence |
codeForMethod(ExecutableElement e) |
CharSequence |
codeForParameter(VariableElement p) |
CharSequence |
codeForParameters(ExecutableElement ee) |
CharSequence |
codeForStaticInitializer(ExecutableElement element) |
CharSequence |
codeForSuper(TypeElement e) |
CharSequence |
codeForThrows(ExecutableElement e) |
org.eclipse.xtend2.lib.StringConcatenation |
codeListInlineOrWithLinebreaks(Iterable<? extends CharSequence> codeList,
String separator) |
CharSequence |
codeListInlineOrWithLinebreaks(Iterable<? extends CharSequence> codeList,
String before,
String separator,
String after) |
CharSequence |
compilationUnit()
creates the code for the compilation unit for one type element.
|
CharSequence |
constantExpressionCode(VariableElement field) |
CharSequence |
docCommentCode(Element element) |
Name |
enclosingPackageName(TypeElement typeElement) |
boolean |
importIfPossible(DeclaredType type)
Creates an import statement for the given type if it does not conflict with an existing one.
|
boolean |
importIfPossible(String shortName,
String fqn) |
CharSequence |
importIfPossibleAndGetNameForCode(TypeElement te,
String shortName,
String fqn) |
CharSequence |
importStatements(TypeElement rootTypeElement) |
boolean |
isAbstract(Element e) |
boolean |
isDeclaredAndVisible(TypeElement namespace,
String shortName,
String fqn) |
boolean |
isImplicitelyImported(String fqn) |
boolean |
isShadowedOrDeclared(TypeElement namespace,
String shortName) |
List<String> |
orderImports(Collection<String> fqnsToImport) |
CharSequence |
staticTypeRef(TypeElement type) |
CharSequence |
staticTypeRef(TypeMirror type) |
CharSequence |
typeParamCode(TypeParameterElement tpe) |
Iterable<? extends TypeParameterElement> |
typeParams(Element e) |
CharSequence |
typeParamsCode(Element e) |
CharSequence |
typeRef(TypeMirror type) |