1

In C# in Visual Studio I can do this with

#warning The following method needs refactoring for clarity

What's the Android Studio equivalent?

cja
  • 9,512
  • 21
  • 75
  • 129

1 Answers1

1

try something like this: @SuppressWarnings("your message") for example

@SuppressWarnings("your message") 
myMethod(){
body;
}

also, look at this question:

How to intentionally cause a custom java compiler warning message?

Community
  • 1
  • 1
Palejandro
  • 2,092
  • 5
  • 26
  • 38