Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » constructor declaration not a declaration ?
constructor declaration not a declaration ? [message #261121] Fri, 10 July 2009 05:36 Go to next message
Eclipse UserFriend
Hi

I just notice that the simple name of a constructor declaration is a not
considered as a declaration (see
org.eclipse.jdt.core.dom.SimpleName#isDeclaration())

That's strange.
What is the reason for that ?
Re: constructor declaration not a declaration ? [message #261135 is a reply to message #261121] Sat, 11 July 2009 00:31 Go to previous message
Eclipse UserFriend
"Romain Dervaux" <romain.dervaux@free.fr> wrote in message
news:h37239$ui9$1@build.eclipse.org...
> Hi
>
> I just notice that the simple name of a constructor declaration is a not
> considered as a declaration (see
> org.eclipse.jdt.core.dom.SimpleName#isDeclaration())
>
> That's strange.
> What is the reason for that ?

The SimpleName is just one part of the declaration (specifically, it's the
identifier). Consider that there could be multiple constructor
declarations, all with the same simple name, distinguished by their
parameters. See MethodDeclaration.
Previous Topic:Merge results of annotation processor (AbstractProcessor, AnnotationProcessor)
Next Topic:IContainer for LaunchConfigurations
Goto Forum:
  


Current Time: Thu Jul 17 19:23:32 EDT 2025

Powered by FUDForum. Page generated in 0.05604 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top