KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > aspectj > internal > lang > reflect > PerClauseImpl


1 /* *******************************************************************
2  * Copyright (c) 2005 Contributors.
3  * All rights reserved.
4  * This program and the accompanying materials are made available
5  * under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution and is available at
7  * http://eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Adrian Colyer Initial implementation
11  * ******************************************************************/

12 package org.aspectj.internal.lang.reflect;
13
14 import org.aspectj.lang.reflect.PerClause;
15 import org.aspectj.lang.reflect.PerClauseKind;
16
17 /**
18  * @author colyer
19  *
20  */

21 public class PerClauseImpl implements PerClause {
22
23     private final PerClauseKind kind;
24     
25     protected PerClauseImpl(PerClauseKind kind) {
26         this.kind = kind;
27     }
28     
29     /* (non-Javadoc)
30      * @see org.aspectj.lang.reflect.PerClause#getKind()
31      */

32     public PerClauseKind getKind() {
33         return kind;
34     }
35
36     public String JavaDoc toString() {
37         return "issingleton()";
38     }
39 }
40
Popular Tags