https://github.com/lonedev6/annotationsonsteroids
Adds some useful annotations features to Java.
https://github.com/lonedev6/annotationsonsteroids
Last synced: 8 months ago
JSON representation
Adds some useful annotations features to Java.
- Host: GitHub
- URL: https://github.com/lonedev6/annotationsonsteroids
- Owner: LoneDev6
- Created: 2021-09-05T10:03:37.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-06T13:39:47.000Z (almost 5 years ago)
- Last Synced: 2025-08-18T11:58:59.759Z (10 months ago)
- Language: Kotlin
- Homepage:
- Size: 296 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Annotations on Steroids
# How to use
1. Copy and paste this in your project (to be able to use the boolean properties):
```java
package asteroids;
/* Expensive method invocation */
public @interface Expensive {
boolean singleCall() default true;
boolean calledInLoop() default true;
boolean calledInLambda() default true;
}
```
2. Add the Expensive class in expensive annotations list

# 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](https://github.com/LoneDev6/AnnotationsOnSteroids)
---
Plugin based on the [IntelliJ Platform Plugin Template][template].
[template]: https://github.com/JetBrains/intellij-platform-plugin-template