mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
cleanup: remove redundant '@author' tags from javadoc comments - 26
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created. GitOrigin-RevId: 535941a4b79bc36c173a27f3e505b43ffc85edc1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
46cb1af953
commit
91d3e0a72b
@@ -5,9 +5,6 @@ import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* @author lambdamix
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.METHOD)
|
||||
public @interface ExpectContract {
|
||||
|
||||
@@ -3,8 +3,5 @@ package bytecodeAnalysis;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
/**
|
||||
* @author lambdamix
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface ExpectLeaking { }
|
||||
@@ -3,8 +3,5 @@ package bytecodeAnalysis;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
/**
|
||||
* @author lambdamix
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface ExpectNoPsiKey { }
|
||||
@@ -3,8 +3,5 @@ package bytecodeAnalysis;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
/**
|
||||
* @author lambdamix
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface ExpectNotNull { }
|
||||
@@ -10,9 +10,6 @@ import java.nio.file.Files;
|
||||
import java.util.List;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* @author lambdamix
|
||||
*/
|
||||
@SuppressWarnings({"unused", "IOResourceOpenedButNotSafelyClosed"})
|
||||
public class Test01 {
|
||||
@ExpectContract("null,_->fail;_,_->param1")
|
||||
|
||||
@@ -2,9 +2,6 @@ package bytecodeAnalysis.data;
|
||||
|
||||
import bytecodeAnalysis.*;
|
||||
|
||||
/**
|
||||
* @author lambdamix
|
||||
*/
|
||||
public final class Test02 {
|
||||
@ExpectContract(pure = true)
|
||||
@ExpectNotNull
|
||||
|
||||
@@ -3,8 +3,5 @@ package bytecodeAnalysis.data;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
/**
|
||||
* @author lambdamix
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface TestAnnotation { }
|
||||
@@ -2,9 +2,6 @@ package bytecodeAnalysis.data;
|
||||
|
||||
import bytecodeAnalysis.ExpectNoPsiKey;
|
||||
|
||||
/**
|
||||
* @author lambdamix
|
||||
*/
|
||||
public class TestConverterData {
|
||||
public static class StaticNestedClass {
|
||||
public StaticNestedClass(Object o) { }
|
||||
|
||||
@@ -2,9 +2,6 @@ package bytecodeAnalysis.data;
|
||||
|
||||
import bytecodeAnalysis.ExpectLeaking;
|
||||
|
||||
/**
|
||||
* @author lambdamix
|
||||
*/
|
||||
public class TestLeakingParametersData {
|
||||
int z;
|
||||
|
||||
|
||||
@@ -2,9 +2,6 @@ package bytecodeAnalysis.data;
|
||||
|
||||
import bytecodeAnalysis.*;
|
||||
|
||||
/**
|
||||
* @author lambdamix
|
||||
*/
|
||||
public class TestNonStable {
|
||||
public String asString1() {
|
||||
return asString();
|
||||
|
||||
Reference in New Issue
Block a user