8a2542c71f
Match the required and actual annotations using Element equivalence rather than TypeMirror equivalence, to avoid trouble with erroneous types. Reviewed-by: darcy
13 lines
324 B
Java
13 lines
324 B
Java
/** /nodynamiccopyright/
|
|
* Class to hold annotations for TestElementsAnnotatedWith.
|
|
*/
|
|
|
|
@AnnotatedElementInfo(annotationName="java.lang.SuppressWarnings",
|
|
expectedSize=0,
|
|
names={})
|
|
@Undefined
|
|
public class ErroneousAnnotations {
|
|
@Undefined
|
|
private void foo() {return;}
|
|
}
|