Skip to content

Method: beginTask()

1: package de.fhdw.wtf.walker.tasks;
2:
3: import de.fhdw.wtf.common.ast.Attribute;
4: import de.fhdw.wtf.common.ast.ConstructorOrOperation;
5: import de.fhdw.wtf.common.ast.Group;
6: import de.fhdw.wtf.common.ast.Model;
7: import de.fhdw.wtf.common.ast.type.ClassType;
8: import de.fhdw.wtf.common.exception.walker.TaskException;
9: import de.fhdw.wtf.common.task.TaskExecutor;
10: import de.fhdw.wtf.walker.walker.SimpleWalkerTask;
11:
12: /**
13: * This Checker checks, wheater the Exclamation Mark is only used after ExceptionClasses
14: */
15: public final class OnlyExceptionsThrownCheck extends SimpleWalkerTask {
16:         
17:         public OnlyExceptionsThrownCheck(final Model m, final TaskExecutor taskmanager) {
18:                 super(m, taskmanager);
19:                 // TODO Auto-generated constructor stub
20:         }
21:         
22:         @Override
23:         public void handleClass(final ClassType c) throws TaskException {
24:                 // TODO Auto-generated method stub
25:                 
26:         }
27:         
28:         @Override
29:         public void handleGroup(final Group g) throws TaskException {
30:                 // TODO Auto-generated method stub
31:                 
32:         }
33:         
34:         @Override
35:         public void handleAttribute(final Attribute a, final ClassType owner) throws TaskException {
36:                 // TODO Auto-generated method stub
37:                 
38:         }
39:         
40:         @Override
41:         public void handleConstructorOrOperation(final ConstructorOrOperation coo, final ClassType owner)
42:                         throws TaskException {
43:                 // TODO Auto-generated method stub
44:                 
45:         }
46:         
47:         @Override
48:         public void finalizeTask() throws TaskException {
49:                 // TODO Auto-generated method stub
50:                 
51:         }
52:         
53:         @Override
54:         public void beginTask() throws TaskException {
55:                 // TODO Auto-generated method stub
56:                 
57:         }
58:         
59: }