@Data public class ExpressionOrFunctionCallRule<T> extends AbstractRule implements org.eclipse.xtext.xbase.lib.Functions.Function0<T>
| Modifier and Type | Field and Description |
|---|---|
static org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> |
AND_COMBINER |
static org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> |
FLUENT_COMBINER |
static org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> |
OR_COMBINER |
_elementsExtensions, _eLSupport, _generateClassContext, _messageCollector, _ruleFactory, _ruleUtils, _typesExtensions, _typesRegistry| Constructor and Description |
|---|
ExpressionOrFunctionCallRule(AnnotationMirror metaAnnotation,
Element metaElement,
Class<? extends T> type,
String exprAvName,
String langAvName,
String functionAvName,
String avPrefix,
org.eclipse.xtext.xbase.lib.Functions.Function0<? extends T> defaultValue,
boolean nullable,
org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> combiner) |
| Modifier and Type | Method and Description |
|---|---|
T |
apply() |
<V> V |
checkNotNull(V value) |
boolean |
equals(Object obj) |
org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> |
getCombiner() |
org.eclipse.xtext.xbase.lib.Functions.Function0<? extends T> |
getDefaultValue() |
String |
getExpr() |
String |
getExprAvName() |
String |
getFunctionAvName() |
TypeElement[] |
getFunctionClasses() |
String |
getLang() |
Class<? extends T> |
getType() |
int |
hashCode() |
boolean |
isNullable() |
boolean |
isUndefined() |
static <T> ExpressionOrFunctionCallRule<T> |
ruleOrNullIfUndefined(AnnotationMirror metaAnnotation,
Element metaElement,
Class<? extends T> type,
String exprAvName,
String langAvName,
String functionAvName,
String avPrefix,
org.eclipse.xtext.xbase.lib.Functions.Function0<? extends T> defaultValue,
boolean nullable,
org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> combiner) |
String |
toString() |
getMetaAnnotation, getMetaElement, getRuleCreationException, inRule, registerMetaTypeElement, throwRuleCreationException, throwRuleCreationExceptionpublic static final org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> FLUENT_COMBINER
public static final org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> AND_COMBINER
public static final org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> OR_COMBINER
public ExpressionOrFunctionCallRule(AnnotationMirror metaAnnotation, Element metaElement, Class<? extends T> type, String exprAvName, String langAvName, String functionAvName, String avPrefix, org.eclipse.xtext.xbase.lib.Functions.Function0<? extends T> defaultValue, boolean nullable, org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> combiner)
public static <T> ExpressionOrFunctionCallRule<T> ruleOrNullIfUndefined(AnnotationMirror metaAnnotation, Element metaElement, Class<? extends T> type, String exprAvName, String langAvName, String functionAvName, String avPrefix, org.eclipse.xtext.xbase.lib.Functions.Function0<? extends T> defaultValue, boolean nullable, org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> combiner)
public boolean isUndefined()
public T apply()
apply in interface org.eclipse.xtext.xbase.lib.Functions.Function0<T>public <V> V checkNotNull(V value)
@Pure public int hashCode()
hashCode in class AbstractRule@Pure public boolean equals(Object obj)
equals in class AbstractRule@Pure public String toString()
toString in class AbstractRule@Pure public String getExprAvName()
@Pure public String getFunctionAvName()
@Pure public String getExpr()
@Pure public String getLang()
@Pure public TypeElement[] getFunctionClasses()
@Pure public org.eclipse.xtext.xbase.lib.Functions.Function0<? extends T> getDefaultValue()
@Pure public org.eclipse.xtext.xbase.lib.Functions.Function3<? super Boolean,? super Object,? super IParameterlessFunctionRule<?>,?> getCombiner()
@Pure public boolean isNullable()
Copyright © 2018. All rights reserved.