@Data public class CodeFragmentRules extends Object implements org.eclipse.xtext.xbase.lib.Functions.Function0<CharSequence>, ICodeFragmentRule
| Constructor and Description |
|---|
CodeFragmentRules(Iterable<AnnotationMirror> metaAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
apply() |
CharSequence |
code() |
static CharSequence |
code(String[] fragmentNames) |
static org.eclipse.xtext.xbase.lib.Functions.Function1<? super CharSequence,? extends CharSequence> |
createDefaultFragmentsRule(AnnotationMirror metaAnnotation,
String avPrefix) |
boolean |
equals(Object obj) |
List<CodeFragmentRule> |
getRules() |
int |
hashCode() |
static boolean |
nullOrEmpty(CharSequence cs) |
CharSequence |
surround(CharSequence surrounded) |
static CharSequence |
surround(String[] fragmentNames,
CharSequence surrounded) |
String |
toString() |
public CodeFragmentRules(Iterable<AnnotationMirror> metaAnnotations)
public CharSequence code()
code in interface ICodeFragmentRulepublic CharSequence surround(CharSequence surrounded)
surround in interface ICodeFragmentRulepublic static CharSequence surround(String[] fragmentNames, CharSequence surrounded)
public static CharSequence code(String[] fragmentNames)
public static org.eclipse.xtext.xbase.lib.Functions.Function1<? super CharSequence,? extends CharSequence> createDefaultFragmentsRule(AnnotationMirror metaAnnotation, String avPrefix)
public static boolean nullOrEmpty(CharSequence cs)
public CharSequence apply()
apply in interface org.eclipse.xtext.xbase.lib.Functions.Function0<CharSequence>@Pure public List<CodeFragmentRule> getRules()
Copyright © 2018. All rights reserved.