Package com.scriptbasic.spi
Class NoAccessProxy<T>
java.lang.Object
com.scriptbasic.spi.NoAccessProxy<T>
- Type Parameters:
T- the type of the object that can not be accessed by the BASIC program
- All Implemented Interfaces:
NoAccess
When a BASIC extension function implemented in Java returns an object for the sole purpose that it can be passed
as argument to other extension functions implemented in Java (and probably in the same class), but it does not
want the BASIC program to get or set any field or invoke any method from this object then the return value
can be embedded in a
NoAccessProxy. Since this proxy implements the NoAccess interface the BASIC program
will not be able to access the field 'target'.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
target
-
-
Constructor Details
-
NoAccessProxy
public NoAccessProxy()
-