org.objectweb.fractal.fraclet.annotation.generator.template
Class AttributeTemplate
java.lang.Object
org.objectweb.fractal.fraclet.annotation.generator.template.AttributeTemplate
- All Implemented Interfaces:
- spoon.template.Template
public class AttributeTemplate
- extends Object
- implements spoon.template.Template
A template code to manage the Attribute annotation. This template generate
the actual interface for the Fractal component and use a subclass to
introduce getter/setter.
- Author:
- Nicolas Pessemier
Constructor Summary |
AttributeTemplate(spoon.reflect.Factory spoonFactory,
spoon.reflect.declaration.CtField<?> field)
Constructor for AttributeTemplate This constructor is called from the
Requires Processor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTRIBUTESUFFIX
public static String ATTRIBUTESUFFIX
AttributeTemplate
public AttributeTemplate(spoon.reflect.Factory spoonFactory,
spoon.reflect.declaration.CtField<?> field)
- Constructor for AttributeTemplate This constructor is called from the
Requires Processor
- Parameters:
spoonFactory
- the spoon factoryfield
- the target field