Dynamically apply this annotation to the specified methods/fields.
Used in conjunction with the BeanConfig.applyNameProperty()
.
It is ignored when the annotation is applied directly to methods/fields.
Valid patterns:
- Methods:
- Fully qualified with args:
- "com.foo.MyClass.myMethod(String,int)"
- "com.foo.MyClass.myMethod(java.lang.String,int)"
- "com.foo.MyClass.myMethod()"
- Fully qualified:
- "com.foo.MyClass.myMethod"
- Simple with args:
- "MyClass.myMethod(String,int)"
- "MyClass.myMethod(java.lang.String,int)"
- "MyClass.myMethod()"
- Simple:
- Simple inner class:
- "MyClass$Inner1$Inner2.myMethod"
- "Inner1$Inner2.myMethod"
- "Inner2.myMethod"
- Fields:
- Fully qualified:
- "com.foo.MyClass.myField"
- Simple:
- Simple inner class:
- "MyClass$Inner1$Inner2.myField"
- "Inner1$Inner2.myField"
- "Inner2.myField"
- A comma-delimited list of anything on this list.