KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > support > reflect > code > CtSynchronizedImpl


1 package spoon.support.reflect.code;
2
3 import spoon.reflect.code.CtBlock;
4 import spoon.reflect.code.CtExpression;
5 import spoon.reflect.code.CtSynchronized;
6 import spoon.reflect.visitor.CtVisitor;
7
8 public class CtSynchronizedImpl extends CtStatementImpl implements
9         CtSynchronized {
10     private static final long serialVersionUID = 1L;
11     CtBlock block;
12
13     CtExpression<?> expression;
14
15     public void accept(CtVisitor visitor) {
16         visitor.visitCtSynchronized(this);
17     }
18
19     public CtBlock getBlock() {
20         return block;
21     }
22
23     public CtExpression<?> getExpression() {
24         return expression;
25     }
26
27     public void setBlock(CtBlock block) {
28         this.block = block;
29     }
30
31     public void setExpression(CtExpression<?> expression) {
32         this.expression = expression;
33     }
34
35 }
36
Popular Tags