Skip to content

LoneDev6/AnnotationsOnSteroids

Repository files navigation

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.