@Retention(value=RUNTIME) @Target(value=METHOD) public static @interface ReadOnlyProxyContext.ReadOnly
@ReadOnly("org.acme") public SomeType someMethod() {...}
or as follows:
@ReadOnly({"org.acme", "com.foo.sample.MyClass"}) public SomeType someMethod() {...}
to allow write-access to the values returned by someMethod only from, respectively, code under
org.acme and code in org.acme or in com.foo.sample.MyClass.
By default, code which is part of the gCore distribution is allowed write-access:
@ReadOnly public void someMethod() {...}
public abstract String[] value
Copyright © 2015. All Rights Reserved.