Class MemberRef
java.lang.Object
org.codehaus.commons.compiler.sandbox.MemberRef
Identifies a field, method or constructor of a class, as it is subject to a
SandboxPolicy.
The class name is a binary name in the format of Class.getName() (e.g. "java.util.Map$Entry");
the descriptor is a JVM field or method descriptor (e.g. "(Ljava/lang/String;)V").
-
Method Details
-
field
-
method
- Parameters:
name- The method name, or"<init>"for a constructordescriptor- E.g."(Ljava/lang/String;)V"- Returns:
- A
MemberRef.Kind.CONSTRUCTORreference iff the name is"<init>"
-
getKind
-
getClassName
-
getName
-
getDescriptor
-
equals
-
hashCode
-
toString
-