KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > reflect > code > CtNewClass


1 package spoon.reflect.code;
2
3 import spoon.reflect.declaration.CtClass;
4
5 /**
6  * This code element represents the creation of a anonymous class.
7  *
8  * @param <T>
9  * created type
10  */

11 public interface CtNewClass<T> extends
12         CtTargetedExpression<T, CtExpression<?>>, CtAbstractInvocation<T>,
13         CtStatement {
14
15     /**
16      * Gets the created class.
17      */

18     CtClass<?> getAnonymousClass();
19
20     /**
21      * Sets the created class.
22      */

23     void setAnonymousClass(CtClass<?> anonymousClass);
24
25 }
26
Popular Tags