KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > processing > AbstractProblemFixer


1 package spoon.processing;
2
3 import spoon.reflect.Factory;
4 import spoon.reflect.declaration.CtElement;
5
6 /**
7  * To be subclassed when defining a new problem fixer.
8  */

9 public abstract class AbstractProblemFixer<T extends CtElement> implements
10         ProblemFixer<T> {
11     Factory factory;
12
13     /**
14      * Default constructor.
15      */

16     public AbstractProblemFixer() {
17     }
18     
19     public Factory getFactory() {
20         return factory;
21     }
22
23     public void setFactory(Factory factory) {
24         this.factory = factory;
25     }
26
27 }
28
Popular Tags