public static class ParameterAccessor.Parameter extends SSAValue
SSAValue.NamedKey, SSAValue.TypeKey, SSAValue.UniqueKey, SSAValue.VariableKey, SSAValue.WeaklyNamedKey
Modifier | Constructor and Description |
---|---|
protected |
Parameter(int number,
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(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.
|
String |
toString() |
getNumber, getType, getValidIn, getVariableName, isAssigned, setAssigned
protected Parameter(int number, 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(Object o)
equals
in class SSAValue
IllegalArgumentException
- if you compare this to an object totally different.public final int hashCode()