Skip to content

Instantly share code, notes, and snippets.

@fatorx
Created April 29, 2015 18:02
Show Gist options
  • Save fatorx/485b2f7a41f172775164 to your computer and use it in GitHub Desktop.
Save fatorx/485b2f7a41f172775164 to your computer and use it in GitHub Desktop.
Annotation para suprimir verificação de métodos não utilizados.
// 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