public abstract class AbstractSerializedInteraction extends Object implements SerializedInteraction, Serializable
Modifier and Type | Field and Description |
---|---|
protected SerializedArgument[] |
arguments |
protected int |
id |
protected SerializedResult |
result |
protected MethodSignature |
signature |
STATIC
Constructor and Description |
---|
AbstractSerializedInteraction(int id,
MethodSignature signature) |
Modifier and Type | Method and Description |
---|---|
protected SerializedArgument[] |
argumentsOf(SerializedValue[] argumentValues) |
boolean |
equals(Object obj) |
List<SerializedValue> |
getAllValues() |
SerializedArgument[] |
getArguments() |
Type[] |
getArgumentTypes() |
Class<?> |
getDeclaringClass() |
int |
getId() |
String |
getMethodName() |
SerializedResult |
getResult() |
Type |
getResultType() |
int |
hashCode() |
boolean |
hasResult() |
int |
id() |
boolean |
isComplete() |
boolean |
isStatic() |
protected SerializedResult |
resultOf(SerializedValue resultValue) |
protected int id
protected MethodSignature signature
protected SerializedResult result
protected SerializedArgument[] arguments
public AbstractSerializedInteraction(int id, MethodSignature signature)
public int id()
public boolean isStatic()
isStatic
in interface SerializedInteraction
public boolean isComplete()
isComplete
in interface SerializedInteraction
public boolean hasResult()
hasResult
in interface SerializedInteraction
public int getId()
getId
in interface SerializedInteraction
public Class<?> getDeclaringClass()
getDeclaringClass
in interface SerializedInteraction
public String getMethodName()
getMethodName
in interface SerializedInteraction
public Type getResultType()
getResultType
in interface SerializedInteraction
public Type[] getArgumentTypes()
getArgumentTypes
in interface SerializedInteraction
public SerializedResult getResult()
getResult
in interface SerializedInteraction
public SerializedArgument[] getArguments()
getArguments
in interface SerializedInteraction
public List<SerializedValue> getAllValues()
getAllValues
in interface SerializedInteraction
protected SerializedArgument[] argumentsOf(SerializedValue[] argumentValues)
protected SerializedResult resultOf(SerializedValue resultValue)
Copyright © 2020. All rights reserved.