• 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
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

What does this line of code mean?

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I downloaded a game project online so I can see how other people code.
I decompiled a .class file and I found this line of code inside.  What does it mean?


 
Ranch Hand
Posts: 662
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think you would get a reply for a random decompiled code. We folks might want to first understand if whatever you did is legal and ethical.
You might want to put some references here,  like say, it is open source and the company who wrote the game are okay for users to download the code, decompile it and understand it.
That said, if it is was truly open source, they would publish a git or src code in one of the sites.  
 
Marshal
Posts: 4810
604
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Source code for this is available on GitHub.
 
Marshal
Posts: 80758
487
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OP: Please go through the source and see if you can find the original for that code. It is formatted even worse than code in an OCJP book and very difficult to read.
 
reply
    Bookmark Topic Watch Topic
  • New Topic