|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.fraclet.annotation.generator.template.GetterSetterTemplate
public class GetterSetterTemplate
A template to insert getter/setter to a given field
Constructor Summary | |
---|---|
GetterSetterTemplate(String fieldName,
spoon.reflect.reference.CtTypeReference<?> typeRef)
The constructor for the GetterSetterTemplate |
Method Summary | |
---|---|
_T_ |
get__FractalField_()
This method has been automatically injected by Spoon |
void |
set__FractalField_(_T_ value)
This method has been automatically injected by Spoon |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetterSetterTemplate(String fieldName, spoon.reflect.reference.CtTypeReference<?> typeRef)
fieldName
- the name of the field to instrumenttypeRef
- a CtTypeReference of the type of the field (field.getType())Method Detail |
---|
public _T_ get__FractalField_()
public void set__FractalField_(_T_ value)
value
- the value to set to the field
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |