public class StaticMethodAccess extends Expression
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name
The name of the method.
|
protected Expression[] |
parametervalues
The parameter value expressions.
|
protected OAVJavaType |
type
The object type.
|
| Constructor and Description |
|---|
StaticMethodAccess(OAVJavaType type,
java.lang.String name,
Expression[] parametervalues)
Create a new method access.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsVariable(Variable var)
Test if a variable is contained in the expression.
|
boolean |
equals(java.lang.Object o)
Test if this method access is equal to some object.
|
java.lang.String |
getName()
Get the name of the method.
|
Expression[] |
getParameterValues()
Get the parameter values expressions (if any).
|
OAVJavaType |
getType()
Get the object type.
|
int |
hashCode()
Get the hash code of this unary expression.
|
java.lang.String |
toString()
Get a string representation of this method access.
|
protected OAVJavaType type
protected java.lang.String name
protected Expression[] parametervalues
public StaticMethodAccess(OAVJavaType type, java.lang.String name, Expression[] parametervalues)
type - The object type.name - The method name.parametervalues - Expressions for the parameter values (if any).public boolean containsVariable(Variable var)
containsVariable in class Expressionvar - The variable.public OAVJavaType getType()
public java.lang.String getName()
public Expression[] getParameterValues()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object