@Data public class CodeFragmentRule extends CodeRule implements ICodeFragmentRule
annotationExtensions_elementsExtensions, _eLSupport, _generateClassContext, _messageCollector, _ruleFactory, _ruleUtils, _typesExtensions, _typesRegistry| Constructor and Description |
|---|
CodeFragmentRule(AnnotationMirror metaAnnotation,
Element metaElement) |
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
code()
Gets the code as CharSequence.
|
boolean |
equals(Object obj) |
org.eclipse.xtext.xbase.lib.Functions.Function0<? extends Boolean> |
getActivationRule() |
org.eclipse.xtext.xbase.lib.Functions.Function1<? super org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,? extends CharSequence>,? extends List<CharSequence>> |
getScopeRule() |
int |
hashCode() |
CharSequence |
surround(CharSequence surrounded) |
String |
toString() |
apply, apply, createCodeBodyRule, getAfterExpr, getAsCodeBody, getAsCodeBody, getBeforeExpr, getBodyCases, getBodyExpr, getDefaultFragmentsRule, getEmptyExpr, getErrorValue, getImports, getIteratorExpr, getIteratorLang, getLang, getLINE_DELIM, getSeparator, getTemplate, isIndentAfterLinebreak, isLinebreak, withLinebreak, withLinebreakgetMetaAnnotation, getMetaElement, getRuleCreationException, inRule, registerMetaTypeElement, throwRuleCreationException, throwRuleCreationExceptionclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetMetaAnnotation, getMetaElementpublic CodeFragmentRule(AnnotationMirror metaAnnotation, Element metaElement)
public CharSequence code()
CodeRulecode in interface ICodeFragmentRulecode in class CodeRulepublic CharSequence surround(CharSequence surrounded)
surround in interface ICodeFragmentRule@Pure public org.eclipse.xtext.xbase.lib.Functions.Function0<? extends Boolean> getActivationRule()
@Pure public org.eclipse.xtext.xbase.lib.Functions.Function1<? super org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,? extends CharSequence>,? extends List<CharSequence>> getScopeRule()
Copyright © 2018. All rights reserved.