Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Code Generation
Code Generation [message #236478] Thu, 28 June 2007 11:57
Eclipse UserFriend
Originally posted by: pankaj.somvanshi.gmail.com

Hi,
I want to generate code for myMethod of myClass mentioned below.
in myMethod i have one argument which i am passing.This method don't have getter and setter methods.This code showing NullPointerException for oStructuralFeature.For one other method for setVisible it is working fine. If pls anyone have any idea abt this pls let me know.

EStructuralFeature oStructuralFeature = JavaInstantiation.getReference(oBeanInstance, URI.createURI("java:/org.myApp.myJar#myClass/myMethod"));
System.out.println("55"+oStructuralFeature.getName());

Thanks
Previous Topic:coordinate systems
Next Topic:extend the size of a figure
Goto Forum:
  


Current Time: Fri Aug 12 09:29:02 GMT 2022

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

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

Back to the top