/[classpath]/classpath/java/lang/reflect/Proxy.java
ViewVC logotype

Diff of /classpath/java/lang/reflect/Proxy.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13.2.6 by gnu_andrew, Sat Sep 10 15:31:46 2005 UTC revision 1.13.2.7 by gnu_andrew, Tue Sep 20 18:46:29 2005 UTC
# Line 100  import java.util.Set; Line 100  import java.util.Set;
100   *      belongs to the classloader you designated.</li>   *      belongs to the classloader you designated.</li>
101   *  <li>Reflection works as expected: {@link Class#getInterfaces()} and   *  <li>Reflection works as expected: {@link Class#getInterfaces()} and
102   *      {@link Class#getMethods()} work as they do on normal classes.</li>   *      {@link Class#getMethods()} work as they do on normal classes.</li>
103   *  <li>The method {@link #isProxyClass()} will distinguish between   *  <li>The method {@link #isProxyClass(Class)} will distinguish between
104   *      true proxy classes and user extensions of this class.  It only   *      true proxy classes and user extensions of this class.  It only
105   *      returns true for classes created by {@link #getProxyClass}.</li>   *      returns true for classes created by {@link #getProxyClass}.</li>
106   *  <li>The {@link ProtectionDomain} of a proxy class is the same as for   *  <li>The {@link ProtectionDomain} of a proxy class is the same as for
# Line 126  import java.util.Set; Line 126  import java.util.Set;
126   *      a {@link ClassCastException}.</li>   *      a {@link ClassCastException}.</li>
127   *  <li>Each proxy instance has an invocation handler, which can be   *  <li>Each proxy instance has an invocation handler, which can be
128   *      accessed by {@link #getInvocationHandler(Object)}.  Any call   *      accessed by {@link #getInvocationHandler(Object)}.  Any call
129   *      to an interface method, including {@link Object#hashcode()},   *      to an interface method, including {@link Object#hashCode()},
130   *      {@link Object#equals(Object)}, or {@link Object#toString()},   *      {@link Object#equals(Object)}, or {@link Object#toString()},
131   *      but excluding the public final methods of Object, will be   *      but excluding the public final methods of Object, will be
132   *      encoded and passed to the {@link InvocationHandler#invoke}   *      encoded and passed to the {@link InvocationHandler#invoke}
# Line 436  public class Proxy implements Serializab Line 436  public class Proxy implements Serializab
436      /**      /**
437       * Calculates equality.       * Calculates equality.
438       *       *
439       * @param the object to compare to       * @param other object to compare to
440       * @return true if it is a ProxyType with same data       * @return true if it is a ProxyType with same data
441       */       */
442      public boolean equals(Object other)      public boolean equals(Object other)
# Line 586  public class Proxy implements Serializab Line 586  public class Proxy implements Serializab
586      /**      /**
587       * Calculates equality.       * Calculates equality.
588       *       *
589       * @param the object to compare to       * @param other object to compare to
590       * @return true if it is a ProxySignature with same data       * @return true if it is a ProxySignature with same data
591       */       */
592      public boolean equals(Object other)      public boolean equals(Object other)
# Line 617  public class Proxy implements Serializab Line 617  public class Proxy implements Serializab
617       * The package this class is in <b>including the trailing dot</b>       * The package this class is in <b>including the trailing dot</b>
618       * or an empty string for the unnamed (aka default) package.       * or an empty string for the unnamed (aka default) package.
619       */       */
620      String pack;      String pack = "";
621    
622      /**      /**
623       * The interfaces this class implements.  Non-null, but possibly empty.       * The interfaces this class implements.  Non-null, but possibly empty.

Legend:
Removed from v.1.13.2.6  
changed lines
  Added in v.1.13.2.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26