public class GenExtensions extends Object
| Modifier and Type | Field and Description |
|---|---|
org.eclipse.xtext.xbase.lib.Functions.Function1<AnnotationMirror,Boolean> |
isNoJapkitAnnotationFilter |
| Constructor and Description |
|---|
GenExtensions() |
| Modifier and Type | Method and Description |
|---|---|
protected static Object |
_copyAvValue(AnnotationMirror v,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer) |
protected static Object |
_copyAvValue(List<? extends AnnotationValue> values,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer) |
protected static Object |
_copyAvValue(Object v,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer) |
protected GenElement |
_copyFrom(ExecutableElement m,
boolean copyAnnotations,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends TypeMirror> typeTransformer) |
protected GenElement |
_copyFrom(VariableElement ve,
boolean copyAnnotations,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends TypeMirror> typeTransformer) |
GenMethod |
asAbstractMethod(ExecutableElement m) |
GenMethod |
asInterfaceMethod(ExecutableElement m) |
GenMethod |
asMemberOf(ExecutableElement m,
TypeElement type) |
static GenAnnotationMirror |
copy(AnnotationMirror am) |
static GenAnnotationMirror |
copy(AnnotationMirror am,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer) |
static GenAnnotationValue |
copy(AnnotationValue av,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer) |
ArrayList<GenAnnotationMirror> |
copyAnnotations(Element src) |
ArrayList<GenAnnotationMirror> |
copyAnnotations(Element src,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super AnnotationMirror,? extends Boolean> filter,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer) |
static Object |
copyAvValue(Object values,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer) |
GenElement |
copyFrom(Element m,
boolean copyAnnotations,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends TypeMirror> typeTransformer) |
GenMethod |
copyFrom(ExecutableElement m) |
GenMethod |
copyFrom(ExecutableElement m,
boolean copyAnnotations) |
List<GenParameter> |
copyParametersFrom(ExecutableElement m,
boolean copyAnnotations) |
List<GenParameter> |
copyParametersFrom(ExecutableElement method,
boolean copyAnnotations,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends TypeMirror> typeTransformer) |
GenParameter |
copyParamFrom(VariableElement p,
boolean copyAnnotations,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends TypeMirror> typeTransformer) |
GenMethod |
createOverride(ExecutableElement m,
CodeBody b) |
boolean |
isJapkitAnnotation(AnnotationMirror am) |
public final org.eclipse.xtext.xbase.lib.Functions.Function1<AnnotationMirror,Boolean> isNoJapkitAnnotationFilter
public GenMethod createOverride(ExecutableElement m, CodeBody b)
public GenMethod copyFrom(ExecutableElement m)
public GenMethod copyFrom(ExecutableElement m, boolean copyAnnotations)
protected GenElement _copyFrom(ExecutableElement m, boolean copyAnnotations, org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends TypeMirror> typeTransformer)
public List<GenParameter> copyParametersFrom(ExecutableElement m, boolean copyAnnotations)
public List<GenParameter> copyParametersFrom(ExecutableElement method, boolean copyAnnotations, org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends TypeMirror> typeTransformer)
public GenParameter copyParamFrom(VariableElement p, boolean copyAnnotations, org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends TypeMirror> typeTransformer)
protected GenElement _copyFrom(VariableElement ve, boolean copyAnnotations, org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends TypeMirror> typeTransformer)
public GenMethod asMemberOf(ExecutableElement m, TypeElement type)
public GenMethod asInterfaceMethod(ExecutableElement m)
public GenMethod asAbstractMethod(ExecutableElement m)
public boolean isJapkitAnnotation(AnnotationMirror am)
public ArrayList<GenAnnotationMirror> copyAnnotations(Element src)
public ArrayList<GenAnnotationMirror> copyAnnotations(Element src, org.eclipse.xtext.xbase.lib.Functions.Function1<? super AnnotationMirror,? extends Boolean> filter, org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer)
public static GenAnnotationMirror copy(AnnotationMirror am)
public static GenAnnotationMirror copy(AnnotationMirror am, org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer)
public static GenAnnotationValue copy(AnnotationValue av, org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer)
protected static Object _copyAvValue(List<? extends AnnotationValue> values, org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer)
protected static Object _copyAvValue(AnnotationMirror v, org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer)
protected static Object _copyAvValue(Object v, org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?> valueTransformer)
public GenElement copyFrom(Element m, boolean copyAnnotations, org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends TypeMirror> typeTransformer)
Copyright © 2018. All rights reserved.