• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Code assist without source code

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!

I am looking for method to show code assist without source code.
I know, its not so easy.

I must prepare new api for customers. I want to give them code assist but i dont want do give complete source code. My company want give whole source code. I am looking for any solution.

thanks for any suggestions.

Regards

Lukasz Szymik
 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can build the jar of class files and then distribute. But it is still possible to decompile it.

Or you can strip of all the code in functions and other private members in all classes. You can then distribute these source files.

I am not aware of any automation tool which can help to strip the code for you. But you can use javap command which can generate the skeleton for each class.
 
Saloon Keeper
Posts: 28807
212
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the IDEs I'm familiar with, the primary code assist comes from introspecting the class files, I believe. Then if there's a doc directory, the IDE can reference the corresponding javadocs. Source code would be optional.
 
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic