Class 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 a NoAccessProxy. Since this proxy implements the NoAccess interface the BASIC program will not be able to access the field 'target'.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      T target  
    • Constructor Summary

      Constructors 
      Constructor Description
      NoAccessProxy()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • target

        public T target
    • Constructor Detail

      • NoAccessProxy

        public NoAccessProxy()