Lint
This commit is contained in:
3 files changed
+8
-6
No files matched your search
+6
-2
@@ -1,3 +1,7 @@
|
||||
/*
|
||||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
*/
|
||||
|
||||
package net.sourceforge.pmd.lang.java.symbols;
|
||||
|
||||
import static net.sourceforge.pmd.util.OptionalBool.NO;
|
||||
@@ -100,7 +104,7 @@ public class AnnotationReflectionTest {
|
||||
@ParameterizedTest
|
||||
@EnumSource
|
||||
public void testAnnotOnAnnot(SymImplementation impl) {
|
||||
// This only checks for Target.ANNOTATION_TYPE annotations
|
||||
// This only checks for Target.ANNOTATION_TYPE annotations
|
||||
Class<AnnotWithDefaults> actualClass = AnnotWithDefaults.class;
|
||||
JClassSymbol sym = impl.getSymbol(ts, actualClass);
|
||||
|
||||
@@ -172,7 +176,7 @@ public class AnnotationReflectionTest {
|
||||
@ParameterizedTest
|
||||
@EnumSource
|
||||
public void testAnnotOnConstructor(SymImplementation impl) {
|
||||
// This only checks Target.CONSTRUCTOR annotations, do not confuse with TYPE_USE on return types
|
||||
// This only checks Target.CONSTRUCTOR annotations, do not confuse with TYPE_USE on return types
|
||||
Class<SomeClass> actualClass = SomeClass.class;
|
||||
JClassSymbol sym = impl.getSymbol(ts, actualClass);
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/*
|
||||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
*/
|
||||
|
||||
package net.sourceforge.pmd.lang.java.symbols;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
Vendored
+1
-4
@@ -9,11 +9,8 @@ import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.PARAMETER})
|
||||
@Target(ElementType.PARAMETER)
|
||||
public @interface ParameterAnnotation {
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user