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
public class NoAccessProxy<T> extends java.lang.Object implements 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 aNoAccessProxy. Since this proxy implements the NoAccess interface the BASIC program will not be able to access the field 'target'.
-
-
Constructor Summary
Constructors Constructor Description NoAccessProxy()
-
-
-
Field Detail
-
target
public T target
-
-