[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[aspectj-dev] [how to create an .aj file]
|
- From: Alex Vasc <altvex@xxxxxxxxx>
- Date: Fri, 10 Jun 2005 17:48:21 -0300
- Delivered-to: aspectj-dev@eclipse.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rG+RgPlrPivpYQfbG1j5w3k8K1ry9gNaa8XKJx/1ZjRJZ9+UlBv+cBWwLcVk7ca+hwhkbdoCv1VHWEYBSIxj7xZTTDFz3UCOQgm3rzjFltaXbgS1Ajh1vDfVlZykOMnUnVERcy9z+QnFFq9bENvVrCUyLikFQVI+FTSQzMYxtDs=
Hello everybody,
Do you know how can I create an empty .aj file? In JDT, I used a
code like this:
--------------------
public ICompilationUnit generateEmptyClass(String newClassName,
IPackageFragment iPackageFragment) throws JavaModelException,
BadLocationException {
ICompilationUnit iCU = iPackageFragment.createCompilationUnit(
newClassName + ".java", "", true, null);
return iCU;
}
----------------------
Afterwards, I would like to open the new file in the Editor by the
source code. Any thoughts?
Best regards,
--
Alexandre Vasconcelos
www.cin.ufpe.br/~atv