From 0cab721b47834199c2fdff0059767e3826c2d58a Mon Sep 17 00:00:00 2001 From: Joel Dudley Date: Fri, 8 Jun 2018 10:23:05 +0100 Subject: [PATCH] Documents use of $ to access internal classes. (#3325) --- docs/source/shell.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/shell.rst b/docs/source/shell.rst index a83c018655..726c5fd5a6 100644 --- a/docs/source/shell.rst +++ b/docs/source/shell.rst @@ -233,6 +233,8 @@ simple JSON-like language. The key features of Yaml are: * Strings do not need to be surrounded by quotes unless they contain commas, colons or embedded quotes * Class names must be fully-qualified (e.g. ``java.lang.String``) +* Nested classes are referenced using ``$``. For example, the ``net.corda.finance.contracts.asset.Cash.State`` + class is referenced as ``net.corda.finance.contracts.asset.Cash$State`` (note the ``$``) .. note:: If your CorDapp is written in Java, named arguments won't work unless you compiled the node using the ``-parameters`` argument to javac. See :doc:`generating-a-node` for how to specify it via Gradle.