@VisibleForTesting annotation support for the IntelliJ platform.
It's time-consuming to annotate existing non-public methods: you have to remove modifiers and type the annotation manually.
Now you don't have to: plugin will do that for you.
- android.support.annotation.VisibleForTesting
- com.google.common.annotations.VisibleForTesting
- org.apache.flink.annotation.VisibleForTesting
- org.assertj.core.util.VisibleForTesting
- org.fest.util.VisibleForTesting
The desired annotation type must be accessible in order for intention actions to be shown.
Annotation elements are available since Support Library 25.0.0
and won't be generated by the plugin when using older versions.
Supported programming languages: Java, Kotlin. Please note: Java methods cannot be annotated from Kotlin and vice-versa yet.
- Clone repository
- Run
./gradlew buildPlugin
- You can find the plugin in
build/distributions
directory
Copyright 2017-2019 Nikola Trubitsyn
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.