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 |
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} |
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) |
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) |
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. |