Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EOL] How to call constructor when using Native
[EOL] How to call constructor when using Native [message #588643] Mon, 26 April 2010 14:41 Go to next message
Yu Sun is currently offline Yu SunFriend
Messages: 58
Registered: July 2009
Member
Hi everyone,

Is it possible to call java classes with constructor in Native?

For example, java.lang.Short can only be instantiated with a parameter like Short(1), Short("1"), but how to realize this in EOL Native?

Thanks a lot.

Yu
Re: [EOL] How to call constructor when using Native [message #588661 is a reply to message #588643] Mon, 26 April 2010 14:52 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
I guess you may need to use a factory.

Steffen

On 26/04/2010 15:41, Yu Sun wrote:
> Hi everyone,
>
> Is it possible to call java classes with constructor in Native?
>
> For example, java.lang.Short can only be instantiated with a parameter
> like Short(1), Short("1"), but how to realize this in EOL Native?
>
> Thanks a lot.
>
> Yu
Previous Topic:Problem loading referenced types
Next Topic:[EOL] How to call constructor when using Native
Goto Forum:
  


Current Time: Fri Apr 26 03:43:40 GMT 2024

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

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

Back to the top