[jboss-cvs] jbosside/aop/plugins/org.jboss.ide.eclipse.jdt.aop.core/src/main/org/jboss/ide/eclipse/jdt/aop/core ...
Robert Stryker
rawblem at gmail.com
Fri Sep 22 15:20:34 EDT 2006
User: rawb
Date: 06/09/22 15:20:34
Modified: aop/plugins/org.jboss.ide.eclipse.jdt.aop.core/src/main/org/jboss/ide/eclipse/jdt/aop/core
AopCorePlugin.java
Log:
All references to 'report' should have been removed long ago
Revision Changes Path
1.5 +0 -35 jbosside/aop/plugins/org.jboss.ide.eclipse.jdt.aop.core/src/main/org/jboss/ide/eclipse/jdt/aop/core/AopCorePlugin.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AopCorePlugin.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/aop/plugins/org.jboss.ide.eclipse.jdt.aop.core/src/main/org/jboss/ide/eclipse/jdt/aop/core/AopCorePlugin.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- AopCorePlugin.java 31 Jan 2006 04:58:30 -0000 1.4
+++ AopCorePlugin.java 22 Sep 2006 19:20:34 -0000 1.5
@@ -61,8 +61,6 @@
import org.jboss.ide.eclipse.jdt.aop.core.classpath.AopClasspathContainer;
import org.jboss.ide.eclipse.jdt.aop.core.jaxb.Advice;
import org.jboss.ide.eclipse.jdt.aop.core.jaxb.Aop;
-import org.jboss.ide.eclipse.jdt.aop.core.jaxb.AopReport;
-import org.jboss.ide.eclipse.jdt.aop.core.jaxb.ReportAdvice;
import org.jboss.ide.eclipse.jdt.aop.core.model.AopModel;
import org.jboss.ide.eclipse.jdt.aop.core.util.JaxbAopUtil;
import org.osgi.framework.BundleContext;
@@ -555,10 +553,6 @@
AopModel.instance().updateModel(project, monitor);
}
- public AopReport getProjectReport(IJavaProject project)
- {
- return (AopReport) projectReports.get(project);
- }
public IPath getProjectLocation(IProject project)
{
@@ -580,35 +574,6 @@
AopCorePlugin.currentJavaProject = currentJavaProject;
}
- public IMethod findAdviceMethod(ReportAdvice advice)
- {
- try
- {
- int lastPeriod = advice.getName().lastIndexOf(".");
- String aspectClass = advice.getName().substring(0, lastPeriod);
- String adviceName = advice.getName().substring(lastPeriod + 1);
-
- IType type = currentJavaProject.findType(aspectClass);
- if (type != null)
- {
- IMethod methods[] = type.getMethods();
- for (int i = 0; i < methods.length; i++)
- {
- if (methods[i].getElementName().equals(adviceName))
- {
- return methods[i];
- }
- }
- }
- }
- catch (JavaModelException e)
- {
- e.printStackTrace();
- }
-
- return null;
- }
-
public IMethod findAdviceMethod(IType type, String methodName)
{
try
More information about the jboss-cvs-commits
mailing list