Skip to content

Instantly share code, notes, and snippets.

@loordgek
Created May 4, 2017 20:07
Show Gist options
  • Save loordgek/6765853caf6433bc9178cd9b8aa53a1c to your computer and use it in GitHub Desktop.
Save loordgek/6765853caf6433bc9178cd9b8aa53a1c to your computer and use it in GitHub Desktop.
package loordgek.extragenarators;
public class help {
static help.field field = new field();
public static help getInstance() {
return new help();
}
public static void getfield(){
loordgek.extragenarators.help.field.getClass().getDeclaredFields();
// this returns the fields inside Field i dont want that i want anint
}
public static class field {
public int anInt;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment