Class PrivatePropertyDescriptor


  • @Beta
    public class PrivatePropertyDescriptor
    extends java.lang.Object
    Object private field descriptor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<RemoteObject> getGet()
      A function which serves as a getter for the private property, or `undefined` if there is no getter (accessor descriptors only).
      java.lang.String getName()
      Private property name.
      java.util.Optional<RemoteObject> getSet()
      A function which serves as a setter for the private property, or `undefined` if there is no setter (accessor descriptors only).
      java.util.Optional<RemoteObject> getValue()
      The value associated with the private property.
      • Methods inherited from class java.lang.Object

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

      • PrivatePropertyDescriptor

        public PrivatePropertyDescriptor​(java.lang.String name,
                                         java.util.Optional<RemoteObject> value,
                                         java.util.Optional<RemoteObject> get,
                                         java.util.Optional<RemoteObject> set)
    • Method Detail

      • getName

        public java.lang.String getName()
        Private property name.
      • getValue

        public java.util.Optional<RemoteObject> getValue()
        The value associated with the private property.
      • getGet

        public java.util.Optional<RemoteObject> getGet()
        A function which serves as a getter for the private property, or `undefined` if there is no getter (accessor descriptors only).
      • getSet

        public java.util.Optional<RemoteObject> getSet()
        A function which serves as a setter for the private property, or `undefined` if there is no setter (accessor descriptors only).