Class PaperExecutionSource
java.lang.Object
io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
Brigadier-based execution generator for Paper commands.
-
Constructor Summary
ConstructorsConstructorDescriptionPaperExecutionSource(PaperCommandProcessor processor, List<io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor.NodeInfo> nodes, int parsedNodeCount) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateExecution(com.palantir.javapoet.MethodSpec.Builder methodSpec, CommandModel classModel, MethodModel method, String instanceExpr, CommandModel rootModel)
-
Constructor Details
-
PaperExecutionSource
public PaperExecutionSource(PaperCommandProcessor processor, List<io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor.NodeInfo> nodes, int parsedNodeCount)
-
-
Method Details
-
generateExecution
public void generateExecution(com.palantir.javapoet.MethodSpec.Builder methodSpec, CommandModel classModel, MethodModel method, String instanceExpr, CommandModel rootModel)
-