KickJava   Java API By Example, From Geeks To Geeks.

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


1 package spoon.support.reflect.code;
2
3 import spoon.reflect.code.CtCodeElement;
4 import spoon.reflect.visitor.JavaPrettyPrinter;
5 import spoon.support.reflect.declaration.CtElementImpl;
6
7 public abstract class CtCodeElementImpl extends CtElementImpl implements
8         CtCodeElement {
9     public CtCodeElementImpl() {
10         super();
11     }
12
13     @Override JavaDoc
14     public String JavaDoc toString() {
15         JavaPrettyPrinter pp = new JavaPrettyPrinter();
16         this.accept(pp);
17         return pp.toString();
18     }
19
20 }
21
Popular Tags