@Data public class LibraryRule extends AbstractRule implements org.eclipse.xtext.xbase.lib.Procedures.Procedure0
_elementsExtensions, _eLSupport, _generateClassContext, _messageCollector, _ruleFactory, _ruleUtils, _typesExtensions, _typesRegistry| Constructor and Description |
|---|
LibraryRule(AnnotationMirror metaAnnotation,
TypeElement metaElement) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Puts the functions on value stack.
|
AbstractFunctionRule<AnnotationMirror> |
createAnnotationFunction(TypeMirror annotationType) |
boolean |
equals(Object obj) |
static ELImports |
findELImports(Element templateElement) |
ELImports |
getElImports() |
Map<String,Rule> |
getFunctions() |
int |
hashCode() |
boolean |
mayBePutOntoValueStack(Rule rule) |
static TypeElement |
nextEnclosingTypeElementWithLibraryAnnotation(Element e) |
String |
toString() |
getMetaAnnotation, getMetaElement, getRuleCreationException, inRule, registerMetaTypeElement, throwRuleCreationException, throwRuleCreationExceptionpublic LibraryRule(AnnotationMirror metaAnnotation, TypeElement metaElement)
public boolean mayBePutOntoValueStack(Rule rule)
public AbstractFunctionRule<AnnotationMirror> createAnnotationFunction(TypeMirror annotationType)
public void apply()
apply in interface org.eclipse.xtext.xbase.lib.Procedures.Procedure0public static TypeElement nextEnclosingTypeElementWithLibraryAnnotation(Element e)
@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 ELImports getElImports()
Copyright © 2018. All rights reserved.