Created
April 29, 2015 18:02
-
-
Save fatorx/485b2f7a41f172775164 to your computer and use it in GitHub Desktop.
Annotation para suprimir verificação de métodos não utilizados.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Quando um método é chamado via Reflection em Java, as IDE's marcam o método como não utilizado. | |
// Para alterar essa verificação, adicione a seguinte annotation ao método: | |
@SuppressWarnings("unused") | |
public void timerMethod() { | |
} | |
// Funcionou no Android Studio. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment