Annotation Type CssResource.ClassName

Enclosing interface:
CssResource

@Documented @Retention(RUNTIME) @Target(METHOD) public static @interface CssResource.ClassName
The original CSS class name specified in the resource. This allows CSS classes that do not correspond to Java identifiers to be mapped onto obfuscated class accessors.
 .some-non-java-ident { background: blue; }
 
 interface MyCssResource extends CssResource {
   @ClassName("some-non-java-ident")
   String classAccessor();
 }
 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details