public static class ParameterAccessor.Parameter extends SSAValue
It basically consists of a SSA-Value and an associated TypeReference.
Use .getNumber() to access the associated SSA-Value.
SSAValue.NamedKey, SSAValue.TypeKey, SSAValue.UniqueKey, SSAValue.VariableKey, SSAValue.WeaklyNamedKey| Modifier | Constructor and Description |
|---|---|
protected |
Parameter(int number,
java.lang.String name,
TypeReference type,
ParameterAccessor.ParamerterDisposition disp,
ParameterAccessor.BasedOn basedOn,
MethodReference mRef,
int descriptorOffset)
Create Parameters using ParameterAccessor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ParameterAccessor.ParamerterDisposition |
getDisposition() |
int |
getNumberInDescriptor()
The position of the parameter in the methods Desciptor starting with 1.
|
int |
hashCode()
Clashes deliberately with SSAValue as it's basically the same thing.
|
java.lang.String |
toString() |
getNumber, getType, getValidIn, getVariableName, isAssigned, setAssignedprotected Parameter(int number,
java.lang.String name,
TypeReference type,
ParameterAccessor.ParamerterDisposition disp,
ParameterAccessor.BasedOn basedOn,
MethodReference mRef,
int descriptorOffset)
number - SSA-Value to access this parametername - Optional variable-name - may be nulltype - Variable Type to this parameterdisp - Implicit this, regular parameter or return value?basedOn - Is Accessor constructed with IMethod or MethodReferencemRef - Method this parameter belongs todescriptorOffset - add to number to get position in descriptorpublic int getNumberInDescriptor()
public ParameterAccessor.ParamerterDisposition getDisposition()
public boolean equals(java.lang.Object o)
public final int hashCode()