@Data public class AnnotationValueMappingRule extends AbstractRule
_elementsExtensions, _eLSupport, _generateClassContext, _messageCollector, _ruleFactory, _ruleUtils, _typesExtensions, _typesRegistry| Constructor and Description |
|---|
AnnotationValueMappingRule(AnnotationMirror a,
Element templateElement,
String avName) |
AnnotationValueMappingRule(AnnotationMirror a,
Map<String,AnnotationMappingRule> mappingsWithId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.eclipse.xtext.xbase.lib.Functions.Function0<? extends Boolean> |
getActivationRule() |
String |
getErrorAvName() |
String |
getExpr() |
String |
getLang() |
org.eclipse.xtext.xbase.lib.Functions.Function0<? extends AnnotationMappingRule> |
getLazyAnnotationMapping() |
AVMode |
getMode() |
String |
getName() |
org.eclipse.xtext.xbase.lib.Functions.Function1<? super org.eclipse.xtext.xbase.lib.Functions.Function1<? super Object,?>,? extends Iterable<Object>> |
getScopeRule() |
Object |
getValue() |
int |
hashCode() |
GenAnnotationValue |
mapAnnotationValue(GenAnnotationMirror annotation,
TypeMirror avType) |
String |
toString() |
getMetaAnnotation, getMetaElement, getRuleCreationException, inRule, registerMetaTypeElement, throwRuleCreationException, throwRuleCreationExceptionpublic AnnotationValueMappingRule(AnnotationMirror a, Map<String,AnnotationMappingRule> mappingsWithId)
public AnnotationValueMappingRule(AnnotationMirror a, Element templateElement, String avName)
public GenAnnotationValue mapAnnotationValue(GenAnnotationMirror annotation, TypeMirror avType)
@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 org.eclipse.xtext.xbase.lib.Functions.Function0<? extends Boolean> getActivationRule()
@Pure public String getName()
@Pure public Object getValue()
@Pure public String getExpr()
@Pure public String getErrorAvName()
@Pure public String getLang()
@Pure public org.eclipse.xtext.xbase.lib.Functions.Function0<? extends AnnotationMappingRule> getLazyAnnotationMapping()
@Pure public AVMode getMode()
Copyright © 2018. All rights reserved.