@Documented @Retention(value=RUNTIME) @Target(value={TYPE_USE,TYPE_PARAMETER}) @SubtypeOf(value=SignatureUnknown.class) @QualifierForLiterals(stringPatterns="(^[A-Za-z_][A-Za-z_0-9]*(\\.[A-Za-z_][A-Za-z_0-9]*|\\$[A-Za-z_0-9]+)*$)|^\\[+([BCDFIJSZ]|L[A-Za-z_][A-Za-z_0-9]*(\\.[A-Za-z_][A-Za-z_0-9]*|\\$[A-Za-z_0-9]+)*;)$") public @interface ClassGetName
Class.getName()
, Class.forName(String)
, and
Class.forName(String, boolean, ClassLoader)
methods. This format is:
binary name
field descriptor
, but using
'.' where the field descriptor uses '/'
Examples include
java.lang.String [Ljava.lang.Object; int [[[I