Class ActivityStack
java.lang.Object
org.spongepowered.asm.mixin.transformer.ActivityStack
- All Implemented Interfaces:
IActivityContext
Tracker for processors which want to express their activity stack on crash in
a user-readable way.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassAn activity node in the activity stack (yes it's actually a doubly-linked list).Nested classes/interfaces inherited from interface org.spongepowered.asm.mixin.extensibility.IActivityContext
IActivityContext.IActivity -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GLUE_STRING
- See Also:
-
-
Constructor Details
-
ActivityStack
public ActivityStack() -
ActivityStack
-
ActivityStack
-
-
Method Details
-
clear
public void clear()Clear the activity stack- Specified by:
clearin interfaceIActivityContext
-
begin
Begin a new activity (push it onto this activity stack)- Specified by:
beginin interfaceIActivityContext- Parameters:
description- Activity description- Returns:
- new activity handle
-
begin
Begin a new activity (push it onto this activity stack)- Specified by:
beginin interfaceIActivityContext- Parameters:
descriptionFormat- Activity description formatargs- format args- Returns:
- new activity handle
-
toString
-
toString
Convert this activity stack to a string representation using the specified glue string- Specified by:
toStringin interfaceIActivityContext- Parameters:
glue- glue string- Returns:
- string representation of this activity stack
-