Please Help Me With .Class

Discussion in 'Plugin Development' started by Legendchetah, Mar 29, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Legendchetah

    I been searching like 4 hours now but still can't find an answer for this. I was just wondering what is the $ simple in the name of the class plugin and how do i create it in eclipse. For example:
    example.class
    example$1.class
    example$2.class
    I just know that when I want to see how it work using jd gui and only the example.class show up
     
  2. Offline

    Glumpz

    The '$' symbol shows up because there are multiple constructors for the said class.
     
  3. Offline

    Sagacious_Zed Bukkit Docs

    the $ in class name is used to denote a a nested or anonymous class within another class. You can have multiple constructors for a class and not have nested classes.
     
  4. Offline

    Glumpz

Thread Status:
Not open for further replies.

Share This Page