public class BeanService extends Object
Constructor and Description |
---|
BeanService() |
Modifier and Type | Method and Description |
---|---|
void |
registerBean(org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration annotatedClass,
org.eclipse.xtend.lib.macro.declaration.TypeReference[] beanClasses,
org.eclipse.xtend.lib.macro.declaration.Visibility visibility,
org.eclipse.xtend.lib.macro.TransformationContext context)
Adds beans to the given class.
|
public void registerBean(org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration annotatedClass, org.eclipse.xtend.lib.macro.declaration.TypeReference[] beanClasses, org.eclipse.xtend.lib.macro.declaration.Visibility visibility, @Extension org.eclipse.xtend.lib.macro.TransformationContext context)
annotatedClass
- The class which will get the new fields.beanClasses
- The classes to be registered as beans. A new field is generated for each of those classes.visibility
- The visibility of the new beans.context
- The transformation context as provided by Xtend during a code transformation.Copyright © 2018–2020 b+m Informatik AG. All rights reserved.