@Documented @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Unproxiable
Any descriptor that returns true from Descriptor.isProxiable()
but whose
scope is Unproxiable will cause an exception when the Descriptor
is
reified.
A scope must not be marked with both Proxiable
and Unproxiable
The PerLookup
scope is Unproxiable because every method invocation on a
PerLookup
object would cause a new instance to be created
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.