Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.05 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.05 KB

Annotations on Steroids

How to use

  1. Copy and paste this in your project (to be able to use the boolean properties):
package asteroids;
/* Expensive method invocation */
public @interface Expensive {
    boolean singleCall() default true;
    boolean calledInLoop() default true;
    boolean calledInLambda() default true;
}
  1. Add the Expensive class in expensive annotations list immagine

Plugin description

Adds some useful annotations features to Java.

  • "Expensive" annotation type: Allows you to mark some annotations to be used to mark code as "expensive" (high CPU consuming). For example create an annotation called @Expensive and mark it.
  • more to come...

Sourcecode


Plugin based on the IntelliJ Platform Plugin Template.