@Documented @Target(value=PARAMETER) @Retention(value=RUNTIME) @Inherited public @interface Name
Can be used in the following locations:
// Identifying bean property names. // The field name can be anything. public class MyBean { public MyBean(@Name("bar") int foo) {} }
String
value
public abstract String value
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.