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,406
  • 20
  • 70
  • 124

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
  • 1,920
  • 4
  • 23
  • 34