exposing Java private fields with reflection
This commit is contained in:
9
classes/private/pt-br/ObjetoSecreto.java
Normal file
9
classes/private/pt-br/ObjetoSecreto.java
Normal file
@@ -0,0 +1,9 @@
|
||||
public class ObjetoSecreto {
|
||||
|
||||
private String escondido = "";
|
||||
private String oculto = "dado ultra secreto";
|
||||
|
||||
public ObjetoSecreto(String texto) {
|
||||
this.escondido = texto;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user