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 SerializedInteractionpublic boolean isComplete()
isComplete in interface SerializedInteractionpublic boolean hasResult()
hasResult in interface SerializedInteractionpublic int getId()
getId in interface SerializedInteractionpublic Class<?> getDeclaringClass()
getDeclaringClass in interface SerializedInteractionpublic String getMethodName()
getMethodName in interface SerializedInteractionpublic Type getResultType()
getResultType in interface SerializedInteractionpublic Type[] getArgumentTypes()
getArgumentTypes in interface SerializedInteractionpublic SerializedResult getResult()
getResult in interface SerializedInteractionpublic SerializedArgument[] getArguments()
getArguments in interface SerializedInteractionpublic List<SerializedValue> getAllValues()
getAllValues in interface SerializedInteractionprotected SerializedArgument[] argumentsOf(SerializedValue[] argumentValues)
protected SerializedResult resultOf(SerializedValue resultValue)
Copyright © 2020. All rights reserved.