package com.google.checkstyle.test.chapter2filebasic.rule21filename;

@interface MyAnnotation1 { //ok
    
String name();
    
int version();
}

@MyAnnotation1(name = "ABC", version = 1)
public class InputOuterTypeFilename1 //ok
{

}

enum Enum1 //ok
{
    
A, B, C;
    
Enum1() {}
    
public String toString() {
        
return ""; //some custom implementation
    
}
}

interface TestRequireThisEnum //ok
{
    
enum DAY_OF_WEEK
    
{
        
SUNDAY,
        
MONDAY,
        
TUESDAY,
        
WEDNESDAY,
        
THURSDAY,
        
FRIDAY,
        
SATURDAY
    
}
}