SYMBOL INDEX (1482 symbols across 185 files) FILE: examples/fabric-contract-example-as-service/src/main/java/org/example/contract/MyAsset.java class MyAsset (line 11) | @DataType() method MyAsset (line 17) | public MyAsset() { method getValue (line 20) | public String getValue() { method setValue (line 24) | public void setValue(String value) { method toJSONString (line 28) | public String toJSONString() { method fromJSONString (line 32) | public static MyAsset fromJSONString(String json) { FILE: examples/fabric-contract-example-as-service/src/main/java/org/example/contract/MyAssetContract.java class MyAssetContract (line 14) | @Contract method MyAssetContract (line 18) | public MyAssetContract() { method myAssetExists (line 22) | @Transaction() method createMyAsset (line 28) | @Transaction() method readMyAsset (line 39) | @Transaction() method updateMyAsset (line 50) | @Transaction() method deleteMyAsset (line 62) | @Transaction() FILE: examples/fabric-contract-example-as-service/src/test/java/org/example/MyAssetContractTest.java class MyAssetContractTest (line 26) | public final class MyAssetContractTest { class AssetExists (line 28) | @Nested method noProperAsset (line 31) | @Test method assetExists (line 45) | @Test method noKey (line 60) | @Test class AssetCreates (line 76) | @Nested method newAssetCreate (line 79) | @Test method alreadyExists (line 93) | @Test method assetRead (line 112) | @Test class AssetUpdates (line 129) | @Nested method updateExisting (line 132) | @Test method updateMissing (line 146) | @Test method assetDelete (line 164) | @Test method test (line 179) | @Test FILE: examples/fabric-contract-example-gradle/src/main/java/org/example/MyAsset.java class MyAsset (line 12) | @DataType() method MyAsset (line 18) | public MyAsset(){ method getValue (line 21) | public String getValue() { method setValue (line 25) | public void setValue(String value) { method toJSONString (line 29) | public String toJSONString() { method fromJSONString (line 33) | public static MyAsset fromJSONString(String json) { FILE: examples/fabric-contract-example-gradle/src/main/java/org/example/MyAssetContract.java class MyAssetContract (line 17) | @Contract(name = "MyAssetContract", method MyAssetContract (line 29) | public MyAssetContract() { method myAssetExists (line 32) | @Transaction() method createMyAsset (line 38) | @Transaction() method readMyAsset (line 49) | @Transaction() method updateMyAsset (line 60) | @Transaction() method deleteMyAsset (line 72) | @Transaction() FILE: examples/fabric-contract-example-gradle/src/test/java/org/example/MyAssetContractTest.java class MyAssetContractTest (line 23) | public final class MyAssetContractTest { class AssetExists (line 25) | @Nested method noProperAsset (line 27) | @Test method assetExists (line 41) | @Test method noKey (line 56) | @Test class AssetCreates (line 72) | @Nested method newAssetCreate (line 75) | @Test method alreadyExists (line 89) | @Test method assetRead (line 108) | @Test class AssetUpdates (line 125) | @Nested method updateExisting (line 127) | @Test method updateMissing (line 141) | @Test method assetDelete (line 159) | @Test FILE: examples/fabric-contract-example-maven/src/main/java/org/example/MyAsset.java class MyAsset (line 12) | @DataType() method MyAsset (line 18) | public MyAsset(){ method getValue (line 21) | public String getValue() { method setValue (line 25) | public void setValue(String value) { method toJSONString (line 29) | public String toJSONString() { method fromJSONString (line 33) | public static MyAsset fromJSONString(String json) { FILE: examples/fabric-contract-example-maven/src/main/java/org/example/MyAssetContract.java class MyAssetContract (line 17) | @Contract(name = "MyAssetContract", method MyAssetContract (line 29) | public MyAssetContract() { method myAssetExists (line 32) | @Transaction() method createMyAsset (line 38) | @Transaction() method readMyAsset (line 49) | @Transaction() method updateMyAsset (line 60) | @Transaction() method deleteMyAsset (line 72) | @Transaction() FILE: examples/fabric-contract-example-maven/src/test/java/org/example/MyAssetContractTest.java class MyAssetContractTest (line 23) | public final class MyAssetContractTest { class AssetExists (line 25) | @Nested method noProperAsset (line 27) | @Test method assetExists (line 41) | @Test method noKey (line 56) | @Test class AssetCreates (line 72) | @Nested method newAssetCreate (line 75) | @Test method alreadyExists (line 89) | @Test method assetRead (line 108) | @Test class AssetUpdates (line 125) | @Nested method updateExisting (line 127) | @Test method updateMissing (line 141) | @Test method assetDelete (line 159) | @Test FILE: examples/ledger-api/src/main/java/org/example/LedgerAPIContract.java class LedgerAPIContract (line 17) | @Contract(name = "LedgerAPI", method LedgerAPIContract (line 30) | public LedgerAPIContract() { method assetExistsInWorldState (line 38) | @Transaction() method assetExistsInPrivateData (line 50) | @Transaction() method assetExistsInOrganizationPrivateData (line 61) | @Transaction() FILE: examples/ledger-api/src/main/java/org/example/MyAsset.java class MyAsset (line 12) | @DataType() method MyAsset (line 18) | public MyAsset(){ method getValue (line 21) | public String getValue() { method setValue (line 25) | public void setValue(String value) { method toJSONString (line 29) | public String toJSONString() { method fromJSONString (line 33) | public static MyAsset fromJSONString(String json) { FILE: fabric-chaincode-integration-test/src/contracts/bare-gradle/src/main/java/org/hyperledger/fabric/example/BareGradle.java class BareGradle (line 15) | @Contract(name = "BareGradle", method BareGradle (line 27) | public BareGradle() { method whoami (line 31) | @Transaction() FILE: fabric-chaincode-integration-test/src/contracts/bare-maven/src/main/java/org/hyperledger/fabric/example/BareMaven.java class BareMaven (line 15) | @Contract(name = "BareMaven", method BareMaven (line 27) | public BareMaven() { method whoami (line 31) | @Transaction() FILE: fabric-chaincode-integration-test/src/contracts/fabric-ledger-api/src/main/java/org/hyperledger/fabric/example/AllLedgerAPI.java class AllLedgerAPI (line 16) | @Contract(name = "AllLedgerAPI", method AllLedgerAPI (line 29) | public AllLedgerAPI() { method accessLedgers (line 33) | @Transaction() FILE: fabric-chaincode-integration-test/src/contracts/fabric-shim-api/src/main/java/org/hyperledger/fabric/example/AllAPI.java class AllAPI (line 20) | @Contract(name = "AllAPI", method AllAPI (line 32) | public AllAPI() { method putBulkStates (line 36) | @Transaction() method putState (line 46) | @Transaction() method putStateComposite (line 52) | @Transaction() method getState (line 58) | @Transaction() method getByRange (line 69) | @Transaction() method getByRangePaged (line 85) | @Transaction() method getMetricsProviderName (line 104) | @Transaction() FILE: fabric-chaincode-integration-test/src/contracts/fabric-shim-api/src/main/java/org/hyperledger/fabric/example/EndorsementCC.java class EndorsementCC (line 18) | @Contract() method setup (line 23) | public void setup(Context ctx) { method addorgs (line 29) | @Transaction() method delorgs (line 55) | @Transaction() method listorgs (line 84) | @Transaction() method delEP (line 109) | @Transaction() method setval (line 123) | @Transaction() method getval (line 135) | @Transaction() method deleteval (line 152) | @Transaction() method recordExists (line 165) | @Transaction(intent = Transaction.TYPE.EVALUATE) FILE: fabric-chaincode-integration-test/src/contracts/wrapper-maven/src/main/java/org/hyperledger/fabric/example/WrapperMaven.java class WrapperMaven (line 15) | @Contract(name = "WrapperMaven", method WrapperMaven (line 27) | public WrapperMaven() { method whoami (line 31) | @Transaction() FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/contractinstall/ContractInstallTest.java class ContractInstallTest (line 17) | public class ContractInstallTest { method setUp (line 19) | @BeforeAll method testInstall (line 24) | @Test FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/ledgertests/LedgerIntegrationTest.java class LedgerIntegrationTest (line 17) | public class LedgerIntegrationTest { method setUp (line 19) | @BeforeAll method testLedgers (line 25) | @Test FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/shimtests/SACCIntegrationTest.java class SACCIntegrationTest (line 17) | public class SACCIntegrationTest { method setUp (line 19) | @BeforeAll method testLedger (line 24) | @Test FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/shimtests/SBECCIntegrationTest.java class SBECCIntegrationTest (line 17) | public class SBECCIntegrationTest { method setUp (line 19) | @BeforeAll method runSBE_pub_setget (line 24) | @Test method runSBE_priv (line 87) | @Test FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/util/Bash.java class Bash (line 14) | public final class Bash extends Command { method newBuilder (line 16) | public static BashBuilder newBuilder() { class BashBuilder (line 20) | public static class BashBuilder extends Command.Builder { method duplicate (line 30) | public BashBuilder duplicate() { method cmd (line 40) | public BashBuilder cmd(String cmd) { method cmdargs (line 45) | public BashBuilder cmdargs(String argsArray[]) { method build (line 50) | public Bash build(Map additionalEnv) { method build (line 58) | public Bash build() { method Bash (line 68) | Bash(List cmd) { method Bash (line 72) | Bash(List cmd, Map env) { FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/util/Command.java class Command (line 23) | public class Command { method Command (line 28) | Command(List cmd, Map additionalEnv) { method Command (line 33) | Command(List cmd) { class Result (line 37) | public static final class Result { method run (line 44) | public Result run() { method run (line 53) | public Result run(boolean quiet) { method readOutStream (line 99) | CompletableFuture> readOutStream(InputStream is, Pri... method toString (line 116) | public String toString() { class Builder (line 120) | public static class Builder implements Cloneable { method duplicate (line 121) | @SuppressWarnings("unchecked") FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/util/Docker.java class Docker (line 12) | public final class Docker extends Command { method newBuilder (line 14) | public static DockerBuilder newBuilder() { class DockerBuilder (line 18) | public static final class DockerBuilder implements Cloneable { method duplicate (line 24) | public DockerBuilder duplicate() { method script (line 33) | public DockerBuilder script(String script) { method channel (line 38) | public DockerBuilder channel(String channel) { method container (line 43) | public DockerBuilder container(String container) { method exec (line 48) | public DockerBuilder exec() { method build (line 53) | public Docker build() { method Docker (line 80) | Docker(List cmd) { FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/util/DockerCompose.java class DockerCompose (line 12) | public final class DockerCompose extends Command { method newBuilder (line 14) | public static DockerComposeBuilder newBuilder() { class DockerComposeBuilder (line 18) | public static final class DockerComposeBuilder extends Command.Builder... method file (line 24) | public DockerComposeBuilder file(String composeFile) { method duplicate (line 29) | public DockerComposeBuilder duplicate() { method up (line 33) | public DockerComposeBuilder up() { method detach (line 38) | public DockerComposeBuilder detach() { method down (line 43) | public DockerComposeBuilder down() { method build (line 48) | public DockerCompose build() { method DockerCompose (line 65) | DockerCompose(List cmd) { FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/util/FabricState.java class FabricState (line 14) | public final class FabricState { method getState (line 20) | public static FabricState getState() { method start (line 24) | public synchronized void start() { method orgEnv (line 35) | public Map orgEnv(String org) { FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/util/InvokeHelper.java class InvokeHelper (line 9) | public class InvokeHelper { method newHelper (line 14) | public static InvokeHelper newHelper(String ccname, String channel) { method invoke (line 24) | public String invoke(String org, String... args) { FILE: fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/util/Peer.java class Peer (line 16) | public final class Peer extends Command { method newBuilder (line 18) | public static PeerBuilder newBuilder() { class PeerBuilder (line 22) | public static final class PeerBuilder extends Command.Builder { method duplicate (line 32) | public PeerBuilder duplicate() { method tlsArgs (line 42) | public PeerBuilder tlsArgs(String tlsArgs) { method orderer (line 47) | public PeerBuilder orderer(String orderer) { method channel (line 52) | public PeerBuilder channel(String channel) { method ccname (line 57) | public PeerBuilder ccname(String ccname) { method evaluate (line 62) | public PeerBuilder evaluate() { method invoke (line 67) | public PeerBuilder invoke() { method argsTx (line 72) | public PeerBuilder argsTx(List args) { method argsTx (line 77) | public PeerBuilder argsTx(String[] argsArray) { method transientData (line 82) | public PeerBuilder transientData(Map transientData) { method waitForEvent (line 87) | public PeerBuilder waitForEvent(int seconds) { method waitForEvent (line 92) | public PeerBuilder waitForEvent() { method transientToString (line 97) | private String transientToString() { method argsToString (line 102) | private String argsToString() { method build (line 109) | public Peer build(Map additionalEnv) { method Peer (line 160) | Peer(List cmd, Map additionalEnv) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/Logger.java class Logger (line 15) | public class Logger extends java.util.logging.Logger { method Logger (line 24) | protected Logger(final String name) { method getLogger (line 32) | public static Logger getLogger(final String name) { method debug (line 39) | public void debug(final Supplier msgSupplier) { method debug (line 44) | public void debug(final String msg) { method getLogger (line 52) | public static Logger getLogger(final Class class1) { method error (line 60) | public void error(final String message) { method error (line 65) | public void error(final Supplier msgSupplier) { method formatError (line 73) | public String formatError(final Throwable throwable) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/Logging.java class Logging (line 28) | public final class Logging { method Logging (line 34) | private Logging() {} method formatError (line 42) | public static String formatError(final Throwable throwable) { method setLogLevel (line 65) | public static void setLogLevel(final String newLevel) { method mapLevel (line 83) | private static Level mapLevel(final String level) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/ClientIdentity.java class ClientIdentity (line 32) | public final class ClientIdentity { method ClientIdentity (line 50) | public ClientIdentity(final ChaincodeStub stub) throws CertificateExce... method getId (line 81) | public String getId() { method getMSPID (line 90) | public String getMSPID() { method parseAttributes (line 102) | private Map parseAttributes(final byte[] extensionValu... method getAttributeValue (line 145) | public String getAttributeValue(final String attrName) { method assertAttributeValue (line 159) | public boolean assertAttributeValue(final String attrName, final Strin... method getX509Certificate (line 170) | public X509Certificate getX509Certificate() { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/Context.java class Context (line 31) | public class Context { method Context (line 43) | public Context(final ChaincodeStub stub) { method getStub (line 53) | public ChaincodeStub getStub() { method getClientIdentity (line 58) | public ClientIdentity getClientIdentity() { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/ContextFactory.java class ContextFactory (line 12) | public final class ContextFactory { method getInstance (line 16) | public static ContextFactory getInstance() { method createContext (line 24) | public Context createContext(final ChaincodeStub stub) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/ContractInterface.java type ContractInterface (line 44) | public interface ContractInterface { method createContext (line 54) | default Context createContext(final ChaincodeStub stub) { method unknownTransaction (line 66) | default void unknownTransaction(final Context ctx) { method beforeTransaction (line 78) | default void beforeTransaction(final Context ctx) { method afterTransaction (line 91) | default void afterTransaction(final Context ctx, final Object result) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/ContractRouter.java class ContractRouter (line 37) | public final class ContractRouter extends ChaincodeBase { method ContractRouter (line 55) | public ContractRouter(final String[] args) { method findAllContracts (line 84) | void findAllContracts() { method startRouting (line 95) | @SuppressWarnings("PMD.AvoidCatchingGenericException") method processRequest (line 105) | @SuppressWarnings("PMD.AvoidCatchingGenericException") method invoke (line 123) | @Override method init (line 128) | @Override method getRouting (line 139) | TxFunction getRouting(final InvocationRequest request) { method main (line 155) | @SuppressWarnings("PMD.SignatureDeclareThrowsException") method getTypeRegistry (line 179) | TypeRegistry getTypeRegistry() { method getRoutingRegistry (line 183) | RoutingRegistry getRoutingRegistry() { method startRouterWithChaincodeServer (line 192) | public void startRouterWithChaincodeServer(final ChaincodeServer chain... FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/ContractRuntimeException.java class ContractRuntimeException (line 16) | public class ContractRuntimeException extends ChaincodeException { method ContractRuntimeException (line 21) | public ContractRuntimeException(final String string) { method ContractRuntimeException (line 29) | public ContractRuntimeException(final String string, final Throwable c... method ContractRuntimeException (line 34) | public ContractRuntimeException(final Throwable cause) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/annotation/Serializer.java type TARGET (line 24) | enum TARGET { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/annotation/Transaction.java type TYPE (line 31) | enum TYPE { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/execution/ExecutionFactory.java class ExecutionFactory (line 14) | public class ExecutionFactory { method getInstance (line 18) | public static ExecutionFactory getInstance() { method createRequest (line 26) | public InvocationRequest createRequest(final ChaincodeStub context) { method createExecutionService (line 34) | public ExecutionService createExecutionService(final SerializerRegistr... FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/execution/ExecutionService.java type ExecutionService (line 18) | @FunctionalInterface method executeRequest (line 27) | Chaincode.Response executeRequest(TxFunction txFn, InvocationRequest r... FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/execution/InvocationRequest.java type InvocationRequest (line 16) | public interface InvocationRequest { method getNamespace (line 21) | String getNamespace(); method getMethod (line 24) | String getMethod(); method getArgs (line 27) | List getArgs(); method getRequestName (line 30) | String getRequestName(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/execution/JSONTransactionSerializer.java class JSONTransactionSerializer (line 28) | @Serializer() method toBuffer (line 46) | @Override method normalizeArray (line 109) | @SuppressWarnings("PMD.AvoidInstantiatingObjectsInLoops") method fromBuffer (line 153) | @Override method mapPrimitive (line 172) | private Class mapPrimitive(final Class primitive) { method mapArrayPrimitive (line 180) | private Class mapArrayPrimitive(final Class primitive) { method mapBasicPrimitive (line 203) | private Class mapBasicPrimitive(final Class primitive) { method convert (line 227) | private Object convert(final String stringData, final TypeSchema ts) method convertArray (line 258) | private Object convertArray(final String stringData, final TypeSchema ts) method convertNumber (line 274) | private Object convertNumber(final String stringData, final TypeSchema... method convertInteger (line 282) | private Object convertInteger(final String stringData, final TypeSchem... method convertString (line 297) | private Object convertString(final String stringData, final TypeSchema... method createComponentInstance (line 313) | @SuppressWarnings("PMD.AvoidAccessibilityAlteration") FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/execution/SerializerInterface.java type SerializerInterface (line 20) | public interface SerializerInterface { method toBuffer (line 29) | byte[] toBuffer(Object value, TypeSchema ts); method fromBuffer (line 38) | Object fromBuffer(byte[] buffer, TypeSchema ts); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/execution/impl/ContractExecutionService.java class ContractExecutionService (line 29) | public class ContractExecutionService implements ExecutionService { method ContractExecutionService (line 36) | public ContractExecutionService(final SerializerRegistryImpl serialize... method executeRequest (line 41) | @Override method convertReturn (line 81) | private byte[] convertReturn(final Object obj, final TxFunction txFn) { method convertArgs (line 88) | private List convertArgs(final List stubArgs, final Tx... FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/execution/impl/ContractInvocationRequest.java class ContractInvocationRequest (line 17) | public final class ContractInvocationRequest implements InvocationRequest { method ContractInvocationRequest (line 28) | @SuppressWarnings("PMD.AvoidLiteralsInIfCondition") method getNamespace (line 54) | @Override method getMethod (line 60) | @Override method getArgs (line 66) | @Override method getRequestName (line 72) | @Override method toString (line 78) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/metadata/MetadataBuilder.java class MetadataBuilder (line 44) | @SuppressWarnings("PMD.AvoidDuplicateLiterals") class MetadataMap (line 59) | static final class MetadataMap extends HashMap { method putIfNotNull (line 62) | V putIfNotNull(final K key, final V value) { method MetadataBuilder (line 72) | private MetadataBuilder() {} method validate (line 79) | public static void validate() { method initialize (line 112) | public static void initialize(final RoutingRegistry registry, final Ty... method addComponent (line 131) | public static void addComponent(final DataTypeDefinition datatype) { method addContract (line 152) | @SuppressWarnings("PMD.LooseCoupling") method addTransaction (line 198) | public static void addTransaction(final TxFunction txFunction, final S... method getMetadata (line 238) | public static String getMetadata() { method debugString (line 247) | public static String debugString() { method metadata (line 256) | private static JSONObject metadata() { method getComponents (line 268) | public static Map getComponents() { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/metadata/TypeSchema.java class TypeSchema (line 28) | @SuppressWarnings("PMD.GodClass") method putInternal (line 39) | private Object putInternal(final String key, final Object value) { method putIfNotNull (line 47) | String putIfNotNull(final String key, final String value) { method putIfNotNull (line 51) | String[] putIfNotNull(final String key, final String[] value) { method putIfNotNull (line 55) | TypeSchema putIfNotNull(final String key, final TypeSchema value) { method putIfNotNull (line 59) | TypeSchema[] putIfNotNull(final String key, final TypeSchema[] value) { method getType (line 64) | public String getType() { method getItems (line 73) | public TypeSchema getItems() { method getRef (line 82) | public String getRef() { method getFormat (line 91) | public String getFormat() { method getTypeClass (line 103) | public Class getTypeClass(final TypeRegistry typeRegistry) { method getArrayClass (line 124) | private Class getArrayClass(final TypeRegistry typeRegistry) { method getNumberClass (line 130) | private Class getNumberClass() { method getIntegerClass (line 141) | private Class getIntegerClass() { method getStringClass (line 157) | @SuppressWarnings("PMD.AvoidLiteralsInIfCondition") method getObjectClass (line 165) | private Class getObjectClass(final TypeRegistry typeRegistry) { method typeConvert (line 177) | @SuppressWarnings({"PMD.ReturnEmptyCollectionRatherThanNull", "PMD.Avo... method updateSchemaForClass (line 209) | @SuppressWarnings("PMD.CyclomaticComplexity") method validate (line 264) | public void validate(final JSONObject obj) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/ContractDefinition.java type ContractDefinition (line 26) | public interface ContractDefinition { method getName (line 29) | String getName(); method getTxFunctions (line 32) | Collection getTxFunctions(); method getContractImpl (line 35) | Class getContractImpl(); method addTxFunction (line 41) | TxFunction addTxFunction(Method m); method isDefault (line 44) | boolean isDefault(); method getTxFunction (line 50) | TxFunction getTxFunction(String method); method hasTxFunction (line 56) | boolean hasTxFunction(String method); method getUnknownRoute (line 59) | TxFunction getUnknownRoute(); method getAnnotation (line 62) | Contract getAnnotation(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/DataTypeDefinition.java type DataTypeDefinition (line 11) | public interface DataTypeDefinition { method getName (line 14) | String getName(); method getProperties (line 17) | Map getProperties(); method getSimpleName (line 20) | String getSimpleName(); method getTypeClass (line 23) | Class getTypeClass(); method getSchema (line 26) | TypeSchema getSchema(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/ParameterDefinition.java type ParameterDefinition (line 11) | public interface ParameterDefinition { method getTypeClass (line 14) | Class getTypeClass(); method getSchema (line 17) | TypeSchema getSchema(); method getParameter (line 20) | Parameter getParameter(); method getName (line 23) | String getName(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/PropertyDefinition.java type PropertyDefinition (line 11) | public interface PropertyDefinition { method getTypeClass (line 14) | Class getTypeClass(); method getSchema (line 17) | TypeSchema getSchema(); method getField (line 20) | Field getField(); method getName (line 23) | String getName(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/RoutingRegistry.java type RoutingRegistry (line 12) | public interface RoutingRegistry { method addNewContract (line 20) | ContractDefinition addNewContract(Class clz); method containsRoute (line 28) | boolean containsRoute(InvocationRequest request); method getRoute (line 36) | TxFunction.Routing getRoute(InvocationRequest request); method getTxFn (line 44) | TxFunction getTxFn(InvocationRequest request); method getContract (line 52) | ContractDefinition getContract(String name); method getAllDefinitions (line 59) | Collection getAllDefinitions(); method findAndSetContracts (line 66) | void findAndSetContracts(TypeRegistry typeRegistry); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/TransactionType.java type TransactionType (line 8) | public enum TransactionType { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/TxFunction.java type TxFunction (line 14) | public interface TxFunction { type Routing (line 16) | interface Routing { method getMethod (line 22) | Method getMethod(); method getContractClass (line 29) | Class getContractClass(); method getContractInstance (line 40) | ContractInterface getContractInstance() method getSerializerName (line 48) | String getSerializerName(); method isUnknownTx (line 52) | boolean isUnknownTx(); method setUnknownTx (line 55) | void setUnknownTx(boolean unknown); method getName (line 58) | String getName(); method getRouting (line 61) | Routing getRouting(); method getReturnType (line 64) | Class getReturnType(); method getParameters (line 67) | java.lang.reflect.Parameter[] getParameters(); method getType (line 70) | TransactionType getType(); method setReturnSchema (line 73) | void setReturnSchema(TypeSchema returnSchema); method getReturnSchema (line 76) | TypeSchema getReturnSchema(); method setParameterDefinitions (line 79) | void setParameterDefinitions(List list); method getParamsList (line 82) | List getParamsList(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/TypeRegistry.java type TypeRegistry (line 12) | public interface TypeRegistry { method getRegistry (line 15) | static TypeRegistry getRegistry() { method addDataType (line 20) | void addDataType(DataTypeDefinition dtd); method addDataType (line 23) | void addDataType(Class cl); method getDataType (line 29) | DataTypeDefinition getDataType(String name); method getDataType (line 35) | DataTypeDefinition getDataType(TypeSchema schema); method getAllDataTypes (line 38) | Collection getAllDataTypes(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/impl/ContractDefinitionImpl.java class ContractDefinitionImpl (line 26) | public final class ContractDefinitionImpl implements ContractDefinition { method ContractDefinitionImpl (line 37) | public ContractDefinitionImpl(final Class... method getName (line 69) | @Override method getTxFunctions (line 74) | @Override method getContractImpl (line 79) | @Override method addTxFunction (line 84) | @Override method isDefault (line 98) | @Override method getTxFunction (line 103) | @Override method hasTxFunction (line 108) | @Override method getUnknownRoute (line 113) | @Override method getAnnotation (line 118) | @Override method toString (line 123) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/impl/DataTypeDefinitionImpl.java class DataTypeDefinitionImpl (line 18) | public final class DataTypeDefinitionImpl implements DataTypeDefinition { method DataTypeDefinitionImpl (line 26) | @SuppressWarnings("PMD.AvoidInstantiatingObjectsInLoops") method getTypeClass (line 71) | @Override method getSchema (line 76) | @Override method getName (line 86) | @Override method getProperties (line 97) | @Override method getSimpleName (line 108) | @Override method toString (line 113) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/impl/ParameterDefinitionImpl.java class ParameterDefinitionImpl (line 13) | public final class ParameterDefinitionImpl implements ParameterDefinition { method ParameterDefinitionImpl (line 26) | public ParameterDefinitionImpl( method getTypeClass (line 34) | @Override method getSchema (line 39) | @Override method getParameter (line 44) | @Override method getName (line 49) | @Override method toString (line 54) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/impl/PropertyDefinitionImpl.java class PropertyDefinitionImpl (line 13) | public final class PropertyDefinitionImpl implements PropertyDefinition { method PropertyDefinitionImpl (line 26) | public PropertyDefinitionImpl(final String name, final Class typeCl... method getTypeClass (line 33) | @Override method getSchema (line 38) | @Override method getField (line 43) | @Override method getName (line 48) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/impl/RoutingRegistryImpl.java class RoutingRegistryImpl (line 38) | public final class RoutingRegistryImpl implements RoutingRegistry { method addNewContract (line 50) | @Override method containsRoute (line 73) | @Override method getRoute (line 91) | @Override method getTxFn (line 97) | @Override method getContract (line 109) | @Override method getAllDefinitions (line 126) | @Override method findAndSetContracts (line 137) | @Override method addContracts (line 195) | private void addContracts(final List> contrac... FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/impl/SerializerRegistryImpl.java class SerializerRegistryImpl (line 25) | public class SerializerRegistryImpl { method getSerializer (line 40) | public SerializerInterface getSerializer(final String name, final Seri... method add (line 45) | private void add(final String name, final Serializer.TARGET target, fi... method findAndSetContents (line 68) | public void findAndSetContents() throws InstantiationException, Illega... FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/impl/TxFunctionImpl.java class TxFunctionImpl (line 26) | public final class TxFunctionImpl implements TxFunction { class RoutingImpl (line 37) | public static final class RoutingImpl implements Routing { method RoutingImpl (line 47) | public RoutingImpl(final Method method, final ContractDefinition con... method getMethod (line 53) | @Override method getContractClass (line 58) | @Override method getContractInstance (line 63) | @Override method toString (line 70) | @Override method getSerializerName (line 75) | @Override method TxFunctionImpl (line 87) | public TxFunctionImpl(final Method m, final ContractDefinition contrac... method buildParameters (line 119) | private List buildParameters(final Method m) { method newParameterDefinition (line 141) | private static ParameterDefinitionImpl newParameterDefinition(final Pa... method getName (line 158) | @Override method getRouting (line 163) | @Override method getReturnType (line 168) | @Override method getParameters (line 173) | @Override method getType (line 178) | @Override method toString (line 183) | @Override method setReturnSchema (line 188) | @Override method getParamsList (line 193) | @Override method setParamsList (line 199) | public void setParamsList(final List paramsList) { method getReturnSchema (line 203) | @Override method setParameterDefinitions (line 208) | @Override method isUnknownTx (line 213) | @Override method setUnknownTx (line 218) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/impl/TypeRegistryImpl.java class TypeRegistryImpl (line 16) | public final class TypeRegistryImpl implements TypeRegistry { method getInstance (line 26) | public static TypeRegistry getInstance() { method addDataType (line 37) | @Override method getAllDataTypes (line 48) | @Override method addDataType (line 53) | @Override method getDataType (line 58) | @Override method getDataType (line 63) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/systemcontract/SystemContract.java class SystemContract (line 16) | @Contract( method getMetadata (line 28) | @Transaction(intent = Transaction.TYPE.EVALUATE, name = "GetMetadata") FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/ledger/Collection.java type Collection (line 9) | @SuppressWarnings("PMD.ImplicitFunctionalInterface") method placeholder (line 19) | void placeholder(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/ledger/Ledger.java type Ledger (line 20) | public interface Ledger { method getLedger (line 33) | static Ledger getLedger(final Context ctx) { method getCollection (line 47) | Collection getCollection(String name); method getDefaultCollection (line 56) | Collection getDefaultCollection(); method getOrganizationCollection (line 68) | Collection getOrganizationCollection(String mspid); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/ledger/impl/LedgerImpl.java class LedgerImpl (line 12) | public final class LedgerImpl implements Ledger { method LedgerImpl (line 19) | public LedgerImpl(final Context ctx) { method getCollection (line 23) | @Override method getDefaultCollection (line 33) | @Override method getOrganizationCollection (line 38) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/metrics/Metrics.java class Metrics (line 19) | public final class Metrics { method Metrics (line 28) | private Metrics() {} method initialize (line 34) | @SuppressWarnings("PMD.AvoidCatchingGenericException") method getProvider (line 63) | public static MetricsProvider getProvider() { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/metrics/MetricsProvider.java type MetricsProvider (line 24) | public interface MetricsProvider { method initialize (line 31) | default void initialize(final Properties props) { method setTaskMetricsCollector (line 41) | default void setTaskMetricsCollector(final TaskMetricsCollector taskSe... FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/metrics/TaskMetricsCollector.java type TaskMetricsCollector (line 15) | public interface TaskMetricsCollector { method getCurrentTaskCount (line 22) | int getCurrentTaskCount(); method getCurrentQueueCount (line 29) | int getCurrentQueueCount(); method getActiveCount (line 36) | int getActiveCount(); method getPoolSize (line 43) | int getPoolSize(); method getCorePoolSize (line 50) | int getCorePoolSize(); method getLargestPoolSize (line 57) | int getLargestPoolSize(); method getMaximumPoolSize (line 64) | int getMaximumPoolSize(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/metrics/impl/DefaultProvider.java class DefaultProvider (line 17) | public final class DefaultProvider implements MetricsProvider { method DefaultProvider (line 24) | public DefaultProvider() { method setTaskMetricsCollector (line 28) | @Override method initialize (line 33) | @Override method logMetrics (line 47) | void logMetrics() { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/metrics/impl/NullProvider.java class NullProvider (line 11) | public class NullProvider implements MetricsProvider {} FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/Chaincode.java type Chaincode (line 15) | public interface Chaincode { method init (line 23) | Response init(ChaincodeStub stub); method invoke (line 31) | Response invoke(ChaincodeStub stub); class Response (line 37) | class Response { method Response (line 49) | @SuppressWarnings("PMD.ArrayIsStoredDirectly") method Response (line 63) | @SuppressWarnings("PMD.ArrayIsStoredDirectly") method getStatus (line 75) | public Status getStatus() { method getStatusCode (line 88) | public int getStatusCode() { method getMessage (line 97) | public String getMessage() { method getPayload (line 106) | @SuppressWarnings("PMD.MethodReturnsInternalArray") method getStringPayload (line 116) | public String getStringPayload() { type Status (line 121) | public enum Status { method Status (line 132) | Status(final int code) { method getCode (line 141) | public int getCode() { method forCode (line 151) | public static Status forCode(final int code) { method hasStatusForCode (line 165) | public static boolean hasStatusForCode(final int code) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeBase.java class ChaincodeBase (line 59) | @SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.GodClass"}) method init (line 112) | @Override method invoke (line 115) | @Override method getMaxInboundMessageSize (line 118) | private int getMaxInboundMessageSize() { method start (line 135) | @SuppressWarnings("PMD.AvoidCatchingGenericException") method connectToPeer (line 152) | protected final void connectToPeer() throws IOException { method connectToPeer (line 228) | protected StreamObserver connectToPeer(final StreamO... method initializeLogging (line 274) | protected final void initializeLogging() { method mapLevel (line 312) | private Level mapLevel(final String level) { method parseHostPort (line 335) | private SocketAddress parseHostPort(final String hostAddrStr) throws U... method isServer (line 355) | public boolean isServer() { method validateOptions (line 360) | @SuppressWarnings("PMD.CyclomaticComplexity") method processCommandLineOptions (line 383) | @SuppressWarnings({ method processEnvironmentOptions (line 427) | @SuppressWarnings("PMD.AvoidLiteralsInIfCondition") method getChaincodeConfig (line 486) | public Properties getChaincodeConfig() { method getChaincodeServerConfig (line 518) | public final ChaincodeServerProperties getChaincodeServerConfig() thro... method newChannelBuilder (line 539) | @SuppressWarnings("deprecation") method createSSLContext (line 563) | final SslContext createSSLContext() throws IOException { method newSuccessResponse (line 575) | @Deprecated method newSuccessResponse (line 580) | @Deprecated method newSuccessResponse (line 585) | @Deprecated method newSuccessResponse (line 590) | @Deprecated method newErrorResponse (line 595) | @Deprecated method newErrorResponse (line 600) | @Deprecated method newErrorResponse (line 605) | @Deprecated method newErrorResponse (line 610) | @Deprecated method newErrorResponse (line 615) | @Deprecated method getHost (line 620) | final String getHost() { method getPort (line 624) | final int getPort() { method isTlsEnabled (line 628) | final boolean isTlsEnabled() { method getTlsClientKeyPath (line 632) | final String getTlsClientKeyPath() { method getTlsClientCertPath (line 636) | final String getTlsClientCertPath() { method getTlsClientRootCertPath (line 640) | final String getTlsClientRootCertPath() { method getId (line 649) | String getId() { type CCState (line 654) | public enum CCState { method getState (line 664) | public final CCState getState() { method setState (line 669) | public final void setState(final CCState newState) { method toJsonString (line 679) | public static String toJsonString(final ChaincodeMessage message) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeException.java class ChaincodeException (line 20) | public class ChaincodeException extends RuntimeException { method ChaincodeException (line 27) | public ChaincodeException() { method ChaincodeException (line 36) | public ChaincodeException(final String message) { method ChaincodeException (line 45) | public ChaincodeException(final Throwable cause) { method ChaincodeException (line 55) | public ChaincodeException(final String message, final Throwable cause) { method ChaincodeException (line 65) | @SuppressWarnings("PMD.ArrayIsStoredDirectly") method ChaincodeException (line 79) | @SuppressWarnings("PMD.ArrayIsStoredDirectly") method ChaincodeException (line 92) | public ChaincodeException(final String message, final String payload) { method ChaincodeException (line 105) | public ChaincodeException(final String message, final String payload, ... method getPayload (line 120) | @SuppressWarnings("PMD.MethodReturnsInternalArray") FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeServer.java type ChaincodeServer (line 12) | public interface ChaincodeServer { method start (line 20) | void start() throws IOException, InterruptedException; method stop (line 23) | void stop(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeServerProperties.java class ChaincodeServerProperties (line 10) | public final class ChaincodeServerProperties { method ChaincodeServerProperties (line 26) | public ChaincodeServerProperties() { method ChaincodeServerProperties (line 44) | @SuppressWarnings({"PMD.NullAssignment"}) method getMaxInboundMetadataSize (line 70) | public int getMaxInboundMetadataSize() { method setMaxInboundMetadataSize (line 79) | public void setMaxInboundMetadataSize(final int maxInboundMetadataSize) { method getMaxInboundMessageSize (line 88) | public int getMaxInboundMessageSize() { method setMaxInboundMessageSize (line 97) | public void setMaxInboundMessageSize(final int maxInboundMessageSize) { method getMaxConnectionAgeSeconds (line 106) | public int getMaxConnectionAgeSeconds() { method setMaxConnectionAgeSeconds (line 115) | public void setMaxConnectionAgeSeconds(final int maxConnectionAgeSecon... method getKeepAliveTimeoutSeconds (line 124) | public int getKeepAliveTimeoutSeconds() { method setKeepAliveTimeoutSeconds (line 133) | public void setKeepAliveTimeoutSeconds(final int keepAliveTimeoutSecon... method getPermitKeepAliveTimeMinutes (line 142) | public int getPermitKeepAliveTimeMinutes() { method setPermitKeepAliveTimeMinutes (line 151) | public void setPermitKeepAliveTimeMinutes(final int permitKeepAliveTim... method getKeepAliveTimeMinutes (line 160) | public int getKeepAliveTimeMinutes() { method setKeepAliveTimeMinutes (line 169) | public void setKeepAliveTimeMinutes(final int keepAliveTimeMinutes) { method getPermitKeepAliveWithoutCalls (line 179) | @SuppressWarnings("PMD.BooleanGetMethodName") method getServerAddress (line 189) | public SocketAddress getServerAddress() { method setServerAddress (line 198) | public void setServerAddress(final SocketAddress address) { method isPermitKeepAliveWithoutCalls (line 208) | public boolean isPermitKeepAliveWithoutCalls() { method setPermitKeepAliveWithoutCalls (line 218) | public void setPermitKeepAliveWithoutCalls(final boolean permitKeepAli... method getKeyPassword (line 227) | public String getKeyPassword() { method setKeyPassword (line 236) | public void setKeyPassword(final String keyPassword) { method getKeyCertChainFile (line 245) | public String getKeyCertChainFile() { method setKeyCertChainFile (line 254) | public void setKeyCertChainFile(final String keyCertChainFile) { method getKeyFile (line 263) | public String getKeyFile() { method setKeyFile (line 272) | public void setKeyFile(final String keyFile) { method getTrustCertCollectionFile (line 281) | public String getTrustCertCollectionFile() { method setTrustCertCollectionFile (line 290) | public void setTrustCertCollectionFile(final String trustCertCollectio... method isTlsEnabled (line 299) | public boolean isTlsEnabled() { method setTlsEnabled (line 308) | public void setTlsEnabled(final boolean tlsEnabled) { method validate (line 317) | @SuppressWarnings("PMD.CyclomaticComplexity") FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeStub.java type ChaincodeStub (line 29) | @SuppressWarnings("PMD.ExcessivePublicCount") method getArgs (line 38) | List getArgs(); method getStringArgs (line 46) | List getStringArgs(); method getFunction (line 55) | String getFunction(); method getParameters (line 65) | List getParameters(); method getTxId (line 74) | String getTxId(); method getChannelId (line 84) | String getChannelId(); method invokeChaincode (line 110) | Response invokeChaincode(String chaincodeName, List args, Stri... method getState (line 121) | byte[] getState(String key); method getStateValidationParameter (line 130) | byte[] getStateValidationParameter(String key); method putState (line 143) | void putState(String key, byte[] value); method setStateValidationParameter (line 151) | void setStateValidationParameter(String key, byte[] value); method delState (line 161) | void delState(String key); method getStateByRange (line 176) | QueryResultsIterator getStateByRange(String startKey, String... method getStateByRangeWithPagination (line 196) | QueryResultsIteratorWithMetadata getStateByRangeWithPagination( method getStateByPartialCompositeKey (line 212) | QueryResultsIterator getStateByPartialCompositeKey(String co... method getStateByPartialCompositeKey (line 229) | QueryResultsIterator getStateByPartialCompositeKey(String ob... method getStateByPartialCompositeKey (line 239) | QueryResultsIterator getStateByPartialCompositeKey(Composite... method getStateByPartialCompositeKeyWithPagination (line 263) | QueryResultsIteratorWithMetadata getStateByPartialCompositeK... method createCompositeKey (line 273) | CompositeKey createCompositeKey(String objectType, String... attributes); method splitCompositeKey (line 281) | CompositeKey splitCompositeKey(String compositeKey); method getQueryResult (line 294) | QueryResultsIterator getQueryResult(String query); method getQueryResultWithPagination (line 317) | QueryResultsIteratorWithMetadata getQueryResultWithPagination( method getHistoryForKey (line 330) | QueryResultsIterator getHistoryForKey(String key); method getPrivateData (line 343) | byte[] getPrivateData(String collection, String key); method getPrivateDataHash (line 350) | byte[] getPrivateDataHash(String collection, String key); method getPrivateDataValidationParameter (line 360) | byte[] getPrivateDataValidationParameter(String collection, String key); method putPrivateData (line 376) | void putPrivateData(String collection, String key, byte[] value); method setPrivateDataValidationParameter (line 385) | void setPrivateDataValidationParameter(String collection, String key, ... method delPrivateData (line 398) | void delPrivateData(String collection, String key); method purgePrivateData (line 414) | void purgePrivateData(String collection, String key); method getPrivateDataByRange (line 429) | QueryResultsIterator getPrivateDataByRange(String collection... method getPrivateDataByPartialCompositeKey (line 447) | QueryResultsIterator getPrivateDataByPartialCompositeKey(Str... method getPrivateDataByPartialCompositeKey (line 462) | QueryResultsIterator getPrivateDataByPartialCompositeKey(Str... method getPrivateDataByPartialCompositeKey (line 482) | QueryResultsIterator getPrivateDataByPartialCompositeKey( method getPrivateDataQueryResult (line 501) | QueryResultsIterator getPrivateDataQueryResult(String collec... method setEvent (line 515) | void setEvent(String name, byte[] payload); method invokeChaincode (line 526) | default Response invokeChaincode(final String chaincodeName, final Lis... method invokeChaincodeWithStringArgs (line 541) | default Response invokeChaincodeWithStringArgs( method invokeChaincodeWithStringArgs (line 557) | default Response invokeChaincodeWithStringArgs(final String chaincodeN... method invokeChaincodeWithStringArgs (line 571) | default Response invokeChaincodeWithStringArgs(final String chaincodeN... method getStringState (line 583) | default String getStringState(final String key) { method putPrivateData (line 594) | default void putPrivateData(final String collection, final String key,... method getPrivateDataUTF8 (line 606) | default String getPrivateDataUTF8(final String collection, final Strin... method putStringState (line 616) | default void putStringState(final String key, final String value) { method getEvent (line 626) | ChaincodeEvent getEvent(); method getSignedProposal (line 633) | SignedProposal getSignedProposal(); method getTxTimestamp (line 640) | Instant getTxTimestamp(); method getCreator (line 647) | byte[] getCreator(); method getTransient (line 654) | Map getTransient(); method getBinding (line 661) | byte[] getBinding(); method getMspId (line 668) | String getMspId(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChatChaincodeWithPeer.java class ChatChaincodeWithPeer (line 15) | public class ChatChaincodeWithPeer extends ChaincodeGrpc.ChaincodeImplBa... method ChatChaincodeWithPeer (line 20) | ChatChaincodeWithPeer(final ChaincodeBase chaincodeBase) throws IOExce... method connect (line 37) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/GrpcServer.java type GrpcServer (line 12) | public interface GrpcServer { method start (line 19) | void start() throws IOException; method stop (line 22) | void stop(); method blockUntilShutdown (line 29) | void blockUntilShutdown() throws InterruptedException; FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/NettyChaincodeServer.java class NettyChaincodeServer (line 11) | public class NettyChaincodeServer implements ChaincodeServer { method NettyChaincodeServer (line 23) | public NettyChaincodeServer( method start (line 36) | @Override method stop (line 43) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/NettyGrpcServer.java class NettyGrpcServer (line 24) | public final class NettyGrpcServer implements GrpcServer { method NettyGrpcServer (line 37) | public NettyGrpcServer(final ChaincodeBase chaincodeBase, final Chainc... method configureTls (line 83) | private static void configureTls( method start (line 121) | @SuppressWarnings("PMD.SystemPrintln") method blockUntilShutdown (line 139) | @Override method stop (line 146) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ResponseUtils.java class ResponseUtils (line 13) | public final class ResponseUtils { method ResponseUtils (line 17) | private ResponseUtils() {} method newSuccessResponse (line 24) | public static Chaincode.Response newSuccessResponse(final String messa... method newSuccessResponse (line 29) | public static Chaincode.Response newSuccessResponse() { method newSuccessResponse (line 37) | public static Chaincode.Response newSuccessResponse(final String messa... method newSuccessResponse (line 45) | public static Chaincode.Response newSuccessResponse(final byte[] paylo... method newErrorResponse (line 54) | public static Chaincode.Response newErrorResponse(final String message... method newErrorResponse (line 59) | public static Chaincode.Response newErrorResponse() { method newErrorResponse (line 67) | public static Chaincode.Response newErrorResponse(final String message) { method newErrorResponse (line 75) | public static Chaincode.Response newErrorResponse(final byte[] payload) { method newErrorResponse (line 83) | public static Chaincode.Response newErrorResponse(final Throwable thro... FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ext/sbe/StateBasedEndorsement.java type StateBasedEndorsement (line 17) | public interface StateBasedEndorsement { method policy (line 23) | byte[] policy(); method addOrgs (line 34) | void addOrgs(RoleType roleType, String... organizations); method delOrgs (line 41) | void delOrgs(String... organizations); method listOrgs (line 48) | List listOrgs(); type RoleType (line 51) | @SuppressWarnings("PMD.FieldNamingConventions") method RoleType (line 68) | RoleType(final String val) { method getVal (line 73) | public String getVal() { method forVal (line 81) | public static RoleType forVal(final String val) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ext/sbe/impl/StateBasedEndorsementFactory.java class StateBasedEndorsementFactory (line 11) | public class StateBasedEndorsementFactory { method getInstance (line 15) | public static StateBasedEndorsementFactory getInstance() { method newStateBasedEndorsement (line 26) | public StateBasedEndorsement newStateBasedEndorsement(final byte[] ep) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ext/sbe/impl/StateBasedEndorsementImpl.java class StateBasedEndorsementImpl (line 25) | public final class StateBasedEndorsementImpl implements StateBasedEndors... method StateBasedEndorsementImpl (line 31) | StateBasedEndorsementImpl(final byte[] ep) { method policy (line 46) | @Override method addOrgs (line 52) | @Override method delOrgs (line 65) | @Override method listOrgs (line 72) | @Override method setMSPIDsFromSP (line 79) | private void setMSPIDsFromSP(final SignaturePolicyEnvelope spe) { method addOrg (line 85) | private void addOrg(final MSPPrincipal identity) { method policyFromMSPIDs (line 95) | private SignaturePolicyEnvelope policyFromMSPIDs() { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ext/sbe/impl/StateBasedEndorsementUtils.java class StateBasedEndorsementUtils (line 19) | public final class StateBasedEndorsementUtils { method StateBasedEndorsementUtils (line 21) | private StateBasedEndorsementUtils() {} method signedBy (line 29) | static SignaturePolicy signedBy(final int index) { method nOutOf (line 42) | static SignaturePolicy nOutOf(final int n, final List... method signedByFabricEntity (line 56) | static SignaturePolicyEnvelope signedByFabricEntity(final String mspId... FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/impl/ChaincodeInvocationTask.java class ChaincodeInvocationTask (line 31) | @SuppressWarnings("PMD.MoreThanOneLogger") method ChaincodeInvocationTask (line 58) | public ChaincodeInvocationTask( method call (line 73) | @Override method getTxKey (line 152) | public String getTxKey() { method equals (line 162) | @Override method hashCode (line 172) | @Override method postMessage (line 187) | public void postMessage(final ChaincodeMessage msg) throws Interrupted... method invoke (line 206) | protected ByteString invoke(final ChaincodeMessage message) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/impl/ChaincodeMessageFactory.java class ChaincodeMessageFactory (line 36) | public final class ChaincodeMessageFactory { method ChaincodeMessageFactory (line 38) | private ChaincodeMessageFactory() {} method newGetPrivateDataHashEventMessage (line 40) | static ChaincodeMessage newGetPrivateDataHashEventMessage( method newGetStateEventMessage (line 53) | static ChaincodeMessage newGetStateEventMessage( method newGetStateMetadataEventMessage (line 66) | static ChaincodeMessage newGetStateMetadataEventMessage( method newPutStateEventMessage (line 79) | static ChaincodeMessage newPutStateEventMessage( method newPutStateMetadataEventMessage (line 97) | static ChaincodeMessage newPutStateMetadataEventMessage( method newDeleteStateEventMessage (line 119) | static ChaincodeMessage newDeleteStateEventMessage( method newPurgeStateEventMessage (line 132) | static ChaincodeMessage newPurgeStateEventMessage( method newErrorEventMessage (line 145) | static ChaincodeMessage newErrorEventMessage(final String channelId, f... method newErrorEventMessage (line 149) | static ChaincodeMessage newErrorEventMessage(final String channelId, f... method newErrorEventMessage (line 153) | static ChaincodeMessage newErrorEventMessage( method newCompletedEventMessage (line 158) | static ChaincodeMessage newCompletedEventMessage( method newInvokeChaincodeMessage (line 164) | static ChaincodeMessage newInvokeChaincodeMessage( method newRegisterChaincodeMessage (line 169) | static ChaincodeMessage newRegisterChaincodeMessage(final ChaincodeID ... method newEventMessage (line 176) | static ChaincodeMessage newEventMessage( method newEventMessage (line 181) | static ChaincodeMessage newEventMessage( method toProtoResponse (line 198) | private static Response toProtoResponse(final Chaincode.Response respo... method printStackTrace (line 210) | private static String printStackTrace(final Throwable throwable) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/impl/ChaincodeSupportClient.java class ChaincodeSupportClient (line 23) | public class ChaincodeSupportClient { method ChaincodeSupportClient (line 30) | public ChaincodeSupportClient(final ManagedChannelBuilder channelBu... method shutdown (line 40) | public void shutdown(final InvocationTaskManager itm) { method start (line 61) | public void start(final InvocationTaskManager itm, final StreamObserve... method getStub (line 103) | public ChaincodeSupportStub getStub() { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/impl/InvocationStubImpl.java class InvocationStubImpl (line 62) | @SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.GodClass"}) method InvocationStubImpl (line 105) | InvocationStubImpl(final ChaincodeMessage message, final ChaincodeInvo... method isEmptyString (line 136) | private static boolean isEmptyString(final String str) { method computeBinding (line 145) | private byte[] computeBinding(final ChannelHeader channelHeader, final... method validateProposalType (line 157) | private void validateProposalType(final ChannelHeader channelHeader) { method getArgs (line 168) | @Override method getStringArgs (line 173) | @Override method getFunction (line 178) | @Override method getParameters (line 183) | @Override method setEvent (line 188) | @Override method getEvent (line 203) | @Override method getChannelId (line 208) | @Override method getTxId (line 213) | @Override method getState (line 218) | @Override method getStateValidationParameter (line 225) | @Override method putState (line 251) | @Override method setStateValidationParameter (line 258) | @Override method delState (line 266) | @Override method getStateByRange (line 272) | @Override method executeGetStateByRange (line 288) | private QueryResultsIterator executeGetStateByRange( method getStateByRangeWithPagination (line 306) | @Override method executeGetStateByRangeWithMetadata (line 330) | private QueryResultsIteratorWithMetadataImpl executeGetState... method getStateByPartialCompositeKey (line 350) | @Override method getStateByPartialCompositeKey (line 364) | @Override method getStateByPartialCompositeKey (line 370) | @Override method getStateByPartialCompositeKeyWithPagination (line 384) | @Override method createCompositeKey (line 405) | @Override method splitCompositeKey (line 410) | @Override method getQueryResult (line 415) | @Override method getQueryResultWithPagination (line 431) | @Override method getHistoryForKey (line 454) | @Override method getPrivateData (line 474) | @Override method getPrivateDataHash (line 482) | @Override method getPrivateDataValidationParameter (line 498) | @Override method putPrivateData (line 525) | @Override method setPrivateDataValidationParameter (line 533) | @Override method delPrivateData (line 547) | @Override method purgePrivateData (line 555) | @Override method getPrivateDataByRange (line 563) | @Override method getPrivateDataByPartialCompositeKey (line 581) | @Override method getPrivateDataByPartialCompositeKey (line 598) | @Override method getPrivateDataByPartialCompositeKey (line 611) | @Override method getPrivateDataQueryResult (line 617) | @Override method invokeChaincode (line 633) | @Override method getSignedProposal (line 683) | @Override method getTxTimestamp (line 688) | @Override method getCreator (line 693) | @Override method getTransient (line 702) | @Override method getBinding (line 708) | @Override method validateKey (line 714) | private void validateKey(final String key) { method validateCollection (line 721) | private void validateCollection(final String collection) { method getMspId (line 728) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/impl/InvocationTaskExecutor.java class InvocationTaskExecutor (line 18) | public final class InvocationTaskExecutor extends ThreadPoolExecutor imp... method InvocationTaskExecutor (line 32) | public InvocationTaskExecutor( method beforeExecute (line 45) | @Override method afterExecute (line 51) | @Override method getCurrentTaskCount (line 57) | @Override method getCurrentQueueCount (line 62) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/impl/InvocationTaskManager.java class InvocationTaskManager (line 39) | @SuppressWarnings("PMD.MoreThanOneLogger") method newThread (line 72) | @Override method getManager (line 98) | public static InvocationTaskManager getManager(final ChaincodeBase cha... method InvocationTaskManager (line 108) | public InvocationTaskManager(final ChaincodeBase chaincode, final Chai... method onChaincodeMessage (line 143) | @SuppressWarnings("PMD.AvoidCatchingGenericException") method processChaincodeMessage (line 161) | private void processChaincodeMessage(final ChaincodeMessage chaincodeM... method handleMsg (line 195) | private void handleMsg(final ChaincodeMessage message, final Type msgT... method sendToTask (line 217) | private void sendToTask(final ChaincodeMessage message) { method sendFailure (line 234) | private void sendFailure(final ChaincodeMessage message, final Interru... method newTask (line 249) | private void newTask(final ChaincodeMessage message, final Type type) { method setResponseConsumer (line 297) | public void setResponseConsumer(final Consumer outgo... method register (line 306) | public void register() { method shutdown (line 317) | @SuppressWarnings("PMD.SystemPrintln") FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/impl/KeyModificationImpl.java class KeyModificationImpl (line 12) | public final class KeyModificationImpl implements KeyModification { method KeyModificationImpl (line 19) | KeyModificationImpl(final org.hyperledger.fabric.protos.ledger.queryre... method getTxId (line 27) | @Override method getValue (line 32) | @Override method getStringValue (line 37) | @Override method getTimestamp (line 42) | @Override method isDeleted (line 47) | @Override method hashCode (line 52) | @Override method equals (line 62) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/impl/KeyValueImpl.java class KeyValueImpl (line 12) | class KeyValueImpl implements KeyValue { method KeyValueImpl (line 17) | KeyValueImpl(final KV kv) { method getKey (line 22) | @Override method getValue (line 27) | @Override method getStringValue (line 32) | @Override method hashCode (line 37) | @Override method equals (line 45) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/impl/QueryResultsIteratorImpl.java class QueryResultsIteratorImpl (line 36) | class QueryResultsIteratorImpl implements QueryResultsIterator { method QueryResultsIteratorImpl (line 45) | QueryResultsIteratorImpl( method iterator (line 64) | @Override method close (line 109) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/impl/QueryResultsIteratorWithMetadataImpl.java class QueryResultsIteratorWithMetadataImpl (line 27) | public final class QueryResultsIteratorWithMetadataImpl extends Query... method QueryResultsIteratorWithMetadataImpl (line 40) | public QueryResultsIteratorWithMetadataImpl( method getMetadata (line 56) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ledger/CompositeKey.java class CompositeKey (line 18) | public class CompositeKey { method CompositeKey (line 36) | public CompositeKey(final String objectType, final String... attribute... method CompositeKey (line 44) | public CompositeKey(final String objectType, final List attrib... method getObjectType (line 52) | public String getObjectType() { method getAttributes (line 57) | public List getAttributes() { method toString (line 62) | @Override method parseCompositeKey (line 71) | public static CompositeKey parseCompositeKey(final String compositeKey) { method validateSimpleKeys (line 91) | public static void validateSimpleKeys(final String... keys) { method generateCompositeKeyString (line 99) | private String generateCompositeKeyString(final String objectType, fin... method validateCompositeKeySegment (line 114) | private void validateCompositeKeySegment(final String segment) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ledger/CompositeKeyFormatException.java class CompositeKeyFormatException (line 9) | final class CompositeKeyFormatException extends IllegalArgumentException { method CompositeKeyFormatException (line 12) | private CompositeKeyFormatException(final String s) { method forInputString (line 16) | static CompositeKeyFormatException forInputString(final String s, fina... method forSimpleKey (line 21) | static CompositeKeyFormatException forSimpleKey(final String key) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ledger/KeyModification.java type KeyModification (line 13) | public interface KeyModification { method getTxId (line 20) | String getTxId(); method getValue (line 27) | byte[] getValue(); method getStringValue (line 34) | String getStringValue(); method getTimestamp (line 41) | java.time.Instant getTimestamp(); method isDeleted (line 48) | boolean isDeleted(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ledger/KeyValue.java type KeyValue (line 10) | public interface KeyValue { method getKey (line 17) | String getKey(); method getValue (line 24) | byte[] getValue(); method getStringValue (line 31) | String getStringValue(); FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ledger/QueryResultsIterator.java type QueryResultsIterator (line 15) | public interface QueryResultsIterator extends Iterable, AutoClosea... method close (line 16) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ledger/QueryResultsIteratorWithMetadata.java type QueryResultsIteratorWithMetadata (line 18) | public interface QueryResultsIteratorWithMetadata extends Iterable... method getMetadata (line 20) | QueryResponseMetadata getMetadata(); method close (line 22) | @Override FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/traces/Traces.java class Traces (line 20) | public final class Traces { method Traces (line 29) | private Traces() {} method initialize (line 35) | @SuppressWarnings("PMD.AvoidCatchingGenericException") method getProvider (line 64) | public static TracesProvider getProvider() { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/traces/TracesProvider.java type TracesProvider (line 27) | public interface TracesProvider { method initialize (line 34) | default void initialize(final Properties props) { method createSpan (line 44) | default Span createSpan(ChaincodeStub stub) { method createInterceptor (line 54) | default ClientInterceptor createInterceptor() { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/traces/impl/DefaultTracesProvider.java class DefaultTracesProvider (line 10) | public final class DefaultTracesProvider implements TracesProvider {} FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/traces/impl/NullProvider.java class NullProvider (line 10) | public final class NullProvider implements TracesProvider {} FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/traces/impl/OpenTelemetryProperties.java class OpenTelemetryProperties (line 24) | final class OpenTelemetryProperties implements ConfigProperties { method OpenTelemetryProperties (line 27) | @SafeVarargs method getString (line 37) | @Override method getBoolean (line 42) | @Override method getInt (line 51) | @Override method getLong (line 64) | @Override method getDouble (line 77) | @Override method getDuration (line 90) | @Override method getList (line 112) | @Override method getMap (line 121) | @Override method newInvalidPropertyException (line 138) | private static ConfigurationException newInvalidPropertyException( method filterBlanksAndNulls (line 146) | private static List filterBlanksAndNulls(final String[] values) { method getDurationUnit (line 156) | private static Optional getDurationUnit(final String unitStr... method getUnitString (line 182) | private static String getUnitString(final String rawValue) { FILE: fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/traces/impl/OpenTelemetryTracesProvider.java class OpenTelemetryTracesProvider (line 23) | public final class OpenTelemetryTracesProvider implements TracesProvider { method initialize (line 32) | @Override method getOpenTelemetryProperties (line 46) | private Map getOpenTelemetryProperties(final Propertie... method createSpan (line 57) | @Override method createInterceptor (line 68) | @Override FILE: fabric-chaincode-shim/src/test/java/ChaincodeWithoutPackageTest.java class ChaincodeWithoutPackageTest (line 21) | final class ChaincodeWithoutPackageTest { method afterTest (line 24) | @AfterEach method testRegisterChaincodeWithoutPackage (line 32) | @Test FILE: fabric-chaincode-shim/src/test/java/EmptyChaincodeWithoutPackage.java class EmptyChaincodeWithoutPackage (line 11) | public final class EmptyChaincodeWithoutPackage extends ChaincodeBase { method init (line 12) | @Override method invoke (line 17) | @Override FILE: fabric-chaincode-shim/src/test/java/contract/Greeting.java class Greeting (line 14) | @DataType() method getText (line 23) | public String getText() { method setText (line 27) | public void setText(final String text) { method getTextLength (line 31) | public int getTextLength() { method setTextLength (line 35) | public void setTextLength(final int textLength) { method getWordCount (line 39) | public int getWordCount() { method setWordCount (line 43) | public void setWordCount(final int wordCount) { method Greeting (line 49) | public Greeting(final String text) { method validate (line 55) | public static void validate(final Greeting greeting) { method toJSONString (line 62) | public String toJSONString() { FILE: fabric-chaincode-shim/src/test/java/contract/SampleContract.java class SampleContract (line 19) | @Contract( method getBeforeInvoked (line 30) | public static int getBeforeInvoked() { method getAfterInvoked (line 34) | public static int getAfterInvoked() { method getDoWorkInvoked (line 38) | public static int getDoWorkInvoked() { method getT1Invoked (line 42) | public static int getT1Invoked() { method getI1Invoked (line 46) | public static int getI1Invoked() { method setBeforeInvoked (line 50) | public static void setBeforeInvoked(final int beforeInvoked) { method setAfterInvoked (line 54) | public static void setAfterInvoked(final int afterInvoked) { method setDoWorkInvoked (line 58) | public static void setDoWorkInvoked(final int doWorkInvoked) { method setT1Invoked (line 62) | public static void setT1Invoked(final int t1Invoked) { method setI1Invoked (line 66) | public static void setI1Invoked(final int i1Invoked) { method t5 (line 80) | @Transaction method tFour (line 91) | @Transaction(name = "t4") method t3 (line 104) | @Transaction method t2 (line 121) | @Transaction method noReturn (line 129) | @Transaction method t1 (line 139) | @Transaction method beforeTransaction (line 150) | @Override method afterTransaction (line 156) | @Override method doSomeWork (line 161) | private void doSomeWork() { FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/LoggerTest.java class LoggerTest (line 12) | class LoggerTest { method logger (line 13) | @Test method testContractException (line 19) | @Test method testDebug (line 34) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/LoggingTest.java class LoggingTest (line 18) | final class LoggingTest { method testMapLevel (line 19) | @Test method proxyMapLevel (line 33) | private Object proxyMapLevel(final Object... args) method testFormatError (line 40) | @Test method testSetLogLevel (line 55) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/TestUtil.java class TestUtil (line 21) | public final class TestUtil { method TestUtil (line 23) | private TestUtil() {} method createCertWithIdentityAttributes (line 85) | public static String createCertWithIdentityAttributes(final String att... FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/AllTypesAsset.java class AllTypesAsset (line 11) | @DataType() method getTheByte (line 45) | public byte getTheByte() { method setTheByte (line 49) | public void setTheByte(final byte aByte) { method getTheShort (line 53) | public short getTheShort() { method setTheShort (line 57) | public void setTheShort(final short aShort) { method getTheInt (line 61) | public int getTheInt() { method setTheInt (line 65) | public void setTheInt(final int aInt) { method getTheLong (line 69) | public long getTheLong() { method setTheLong (line 73) | public void setTheLong(final long aLong) { method getTheFloat (line 77) | public float getTheFloat() { method setTheFloat (line 81) | public void setTheFloat(final float aFloat) { method getTheDouble (line 85) | public double getTheDouble() { method setTheDouble (line 89) | public void setTheDouble(final double aDouble) { method isTheBoolean (line 93) | public boolean isTheBoolean() { method setBoolean (line 97) | public void setBoolean(final boolean aBoolean) { method getTheChar (line 101) | public char getTheChar() { method setTheChar (line 105) | public void setTheChar(final char aChar) { method getTheString (line 109) | public String getTheString() { method setString (line 113) | public void setString(final String aString) { method getTheCustomObject (line 117) | public MyType getTheCustomObject() { method setTheCustomObject (line 121) | public void setTheCustomObject(final MyType customObject) { method equals (line 125) | @Override method toString (line 142) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/ChaincodeStubNaiveImpl.java class ChaincodeStubNaiveImpl (line 29) | public final class ChaincodeStubNaiveImpl implements ChaincodeStub { method ChaincodeStubNaiveImpl (line 36) | public ChaincodeStubNaiveImpl() { method ChaincodeStubNaiveImpl (line 50) | ChaincodeStubNaiveImpl(final List args) { method getArgs (line 60) | @Override method getStringArgs (line 70) | @Override method getFunction (line 75) | @Override method getParameters (line 80) | @Override method getTxId (line 85) | @Override method getChannelId (line 90) | @Override method invokeChaincode (line 95) | @Override method getState (line 101) | @Override method getStateValidationParameter (line 106) | @Override method putState (line 111) | @Override method setStateValidationParameter (line 116) | @Override method delState (line 119) | @Override method getStateByRange (line 124) | @Override method getStateByRangeWithPagination (line 129) | @Override method getStateByPartialCompositeKey (line 135) | @Override method getStateByPartialCompositeKey (line 140) | @Override method getStateByPartialCompositeKey (line 146) | @Override method getStateByPartialCompositeKeyWithPagination (line 151) | @Override method createCompositeKey (line 157) | @Override method splitCompositeKey (line 162) | @Override method getQueryResult (line 167) | @Override method getQueryResultWithPagination (line 172) | @Override method getHistoryForKey (line 178) | @Override method getPrivateData (line 183) | @Override method getPrivateDataHash (line 188) | @Override method getPrivateDataValidationParameter (line 193) | @Override method putPrivateData (line 198) | @Override method setPrivateDataValidationParameter (line 201) | @Override method delPrivateData (line 204) | @Override method purgePrivateData (line 207) | @Override method getPrivateDataByRange (line 210) | @Override method getPrivateDataByPartialCompositeKey (line 216) | @Override method getPrivateDataByPartialCompositeKey (line 222) | @Override method getPrivateDataByPartialCompositeKey (line 228) | @Override method getPrivateDataQueryResult (line 234) | @Override method setEvent (line 239) | @Override method getEvent (line 242) | @Override method getSignedProposal (line 247) | @Override method getTxTimestamp (line 252) | @Override method getCreator (line 257) | @Override method getTransient (line 262) | @Override method getBinding (line 267) | @Override method setStringArgs (line 272) | void setStringArgs(final List args) { method buildSerializedIdentity (line 277) | public byte[] buildSerializedIdentity() { method setCertificate (line 288) | public void setCertificate(final String certificateToTest) { method getMspId (line 292) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/ClientIdentityTest.java class ClientIdentityTest (line 19) | final class ClientIdentityTest { method clientIdentityWithoutAttributes (line 21) | @Test method clientIdentityWithAttributes (line 41) | @Test method clientIdentityWithMultipleAttributes (line 60) | @Test method clientIdentityWithLongDNs (line 83) | @Test method catchInvalidProtocolBufferException (line 102) | @Test method createClientIdentityWithDummyAttributesCert (line 113) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/ContextFactoryTest.java class ContextFactoryTest (line 17) | final class ContextFactoryTest { method getInstance (line 19) | @Test method createContext (line 26) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/ContextTest.java class ContextTest (line 14) | final class ContextTest { method getInstance (line 17) | @Test method getSetClientIdentity (line 26) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/ContractInterfaceTest.java class ContractInterfaceTest (line 16) | final class ContractInterfaceTest { method createContext (line 17) | @Test method unknownTransaction (line 23) | @Test method beforeTransaction (line 32) | @Test method afterTransaction (line 39) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/ContractRouterTest.java class ContractRouterTest (line 31) | final class ContractRouterTest { method testCreateFailsWithoutValidOptions (line 32) | @Test method testCreateAndScan (line 40) | @Test method testInit (line 60) | @Test method testInvokeTwoTxnsThatExist (line 88) | @Test method testInvokeTxnWithDefinedName (line 135) | @Test method testInvokeTwoTxnsWithDefaultNamespace (line 163) | @Test method testInvokeTxnWithDefinedNameUsingMethodName (line 210) | @Test method testInvokeContractThatDoesNotExist (line 237) | @Test method testInvokeTxnThatDoesNotExist (line 264) | @Test method testInvokeTxnThatReturnsNullString (line 291) | @Test method testInvokeTxnThatThrowsAnException (line 318) | @Test method testInvokeTxnThatThrowsAChaincodeException (line 344) | @Test method createContractRuntimeExceptions (line 371) | @Test method testStartingContractRouterWithStartingAChaincodeServer (line 378) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/MyType.java class MyType (line 13) | @DataType method setState (line 24) | public void setState(final String state) { method isStarted (line 28) | @JSONPropertyIgnore() method isStopped (line 33) | @JSONPropertyIgnore() method setValue (line 38) | public MyType setValue(final String value) { method getValue (line 43) | public String getValue() { method toString (line 47) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/MyType2.java class MyType2 (line 12) | @DataType method setValue (line 35) | public MyType2 setValue(final String value) { method getValue (line 40) | public String getValue() { method toString (line 44) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/TransactionExceptionTest.java class TransactionExceptionTest (line 15) | final class TransactionExceptionTest { class MyTransactionException (line 17) | class MyTransactionException extends ChaincodeException { method MyTransactionException (line 23) | MyTransactionException(final int errorCode) { method getPayload (line 28) | @Override method testNoArgConstructor (line 35) | @Test method testMessageArgConstructor (line 42) | @Test method testCauseArgConstructor (line 49) | @Test method testMessageAndCauseArgConstructor (line 57) | @Test method testMessageAndPayloadArgConstructor (line 65) | @Test method testMessagePayloadAndCauseArgConstructor (line 72) | @Test method testMessageAndStringPayloadArgConstructor (line 81) | @Test method testMessageStringPayloadAndCauseArgConstructor (line 88) | @Test method testSubclass (line 96) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/execution/ContractExecutionServiceTest.java class ContractExecutionServiceTest (line 36) | final class ContractExecutionServiceTest { method noReturnValue (line 37) | @Test method failureToInvoke (line 63) | @Test() method invokeWithDifferentSerializers (line 90) | @Test() FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/execution/JSONTransactionSerializerTest.java class JSONTransactionSerializerTest (line 24) | final class JSONTransactionSerializerTest { method toBuffer (line 25) | @Test class ComplexDataTypes (line 59) | @Nested method alltypes (line 63) | @Test class PrimitiveArrays (line 82) | @Nested method ints (line 85) | @Test method bytes (line 97) | @Test method floats (line 109) | @Test method booleans (line 121) | @Test method chars (line 133) | @Test class NestedArrays (line 146) | @Nested method ints (line 149) | @Test method longs (line 160) | @Test method doubles (line 171) | @Test method bytes (line 182) | @Test method shorts (line 193) | @Test method fromBufferObject (line 205) | @Test method toBufferPrimitive (line 222) | @Test method fromBufferErrors (line 263) | @Test class MyTestObject (line 274) | class MyTestObject {} FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/metadata/MetadataBuilderTest.java class MetadataBuilderTest (line 24) | final class MetadataBuilderTest { method setMetadataBuilderField (line 26) | private void setMetadataBuilderField(final String name, final Object v... method beforeAndAfterEach (line 33) | @BeforeEach method systemContract (line 43) | @Test method defaultSchemasNotLoadedFromNetwork (line 51) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/metadata/TypeSchemaTest.java class TypeSchemaTest (line 21) | final class TypeSchemaTest { method beforeEach (line 23) | @BeforeEach method putIfNotNull (line 26) | @Test method getType (line 42) | @Test method getFormat (line 53) | @Test method getRef (line 64) | @Test method getItems (line 75) | @Test class MyType (line 88) | @DataType method getTypeClass (line 91) | @Test method unknownConversions (line 138) | @Test method typeConvertPrimitives (line 157) | @Test method typeConvertObjects (line 187) | @Test method validate (line 222) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/routing/ContractDefinitionTest.java class ContractDefinitionTest (line 19) | final class ContractDefinitionTest { method constructor (line 20) | @Test method duplicateTransaction (line 27) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/routing/DataTypeDefinitionTest.java class DataTypeDefinitionTest (line 17) | final class DataTypeDefinitionTest { method constructor (line 18) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/routing/ParameterDefinitionTest.java class ParameterDefinitionTest (line 16) | final class ParameterDefinitionTest { method constructor (line 17) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/routing/PropertyDefinitionTest.java class PropertyDefinitionTest (line 16) | final class PropertyDefinitionTest { method constructor (line 17) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/routing/TxFunctionTest.java class TxFunctionTest (line 27) | final class TxFunctionTest { class TestObject (line 28) | @Contract() method testMethod1 (line 31) | @Transaction() method testMethod2 (line 34) | @Transaction() method wibble (line 37) | @Transaction() method constructor (line 41) | @Test method property (line 55) | @Test method invaldtxfn (line 76) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/routing/TypeRegistryTest.java class TypeRegistryTest (line 16) | final class TypeRegistryTest { method addDataType (line 17) | @Test method addDataTypeDefinition (line 26) | @Test method getAllDataTypes (line 36) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/contract/simplepath/ContractSimplePathTest.java class ContractSimplePathTest (line 33) | @ExtendWith(SystemStubsExtension.class) method afterTest (line 40) | @AfterEach method testContract (line 53) | @Test method newInvokeFn (line 69) | private ChaincodeMessage newInvokeFn(final String[] args) { method getLastReturnString (line 79) | private String getLastReturnString() throws Exception { method setLogLevel (line 84) | private void setLogLevel(final String logLevel) { FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/ledger/LedgerTest.java class LedgerTest (line 15) | final class LedgerTest { method getLedger (line 17) | @Test method getCollection (line 31) | @Test method getNamedCollection (line 46) | @Test method getOrganizationCollection (line 59) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/metrics/MetricsTest.java class MetricsTest (line 19) | final class MetricsTest { class TestProvider (line 21) | private static final class TestProvider implements MetricsProvider { method TestProvider (line 23) | public TestProvider() {} method setTaskMetricsCollector (line 25) | @Override method initialize (line 28) | @Override class Initialize (line 32) | @Nested method metricsDisabled (line 36) | @Test method metricsEnabledUnknownProvider (line 42) | @Test method metricsNoProvider (line 56) | @Test method metricsValid (line 65) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/metrics/impl/DefaultProviderTest.java class DefaultProviderTest (line 21) | final class DefaultProviderTest { method allMethods (line 23) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/ChaincodeBaseTest.java class ChaincodeBaseTest (line 36) | @ExtendWith(SystemStubsExtension.class) method testNewSuccessResponseEmpty (line 41) | @Test method testNewSuccessResponseWithMessage (line 51) | @Test method testNewSuccessResponseWithPayload (line 62) | @Test method testNewSuccessResponseWithMessageAndPayload (line 75) | @Test method testNewErrorResponseEmpty (line 88) | @Test method testNewErrorResponseWithMessage (line 98) | @Test method testNewErrorResponseWithPayload (line 109) | @Test method testNewErrorResponseWithMessageAndPayload (line 122) | @Test method testNewErrorResponseWithException (line 135) | @Test method testNewErrorResponseWithChaincodeException (line 146) | @Test method testOptions (line 157) | @Test method testUnsetOptionId (line 199) | @Test method testUnsetOptionClientCertPath (line 207) | @Test method testUnsetOptionClientKeyPath (line 218) | @Test method testNewChannelBuilder (line 230) | @Test method testInitializeLogging (line 247) | @Test method testStartFailsWithoutValidOptions (line 293) | @Test method setLogLevelForChaincode (line 314) | private static void setLogLevelForChaincode( method connectChaincodeBase (line 325) | @Test method connectChaincodeBaseNull (line 356) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/ChaincodeServerImplTest.java class ChaincodeServerImplTest (line 20) | @ExtendWith(SystemStubsExtension.class) method setEnv (line 25) | @BeforeEach method clearEnv (line 36) | @AfterEach method init (line 47) | @Test method initEnvNotSet (line 58) | @Test method startAndStop (line 70) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/ChaincodeStubTest.java class ChaincodeStubTest (line 22) | final class ChaincodeStubTest { class FakeStub (line 24) | @SuppressWarnings("PMD.ReturnEmptyCollectionRatherThanNull") method getArgs (line 27) | @Override method getStringArgs (line 33) | @Override method getFunction (line 39) | @Override method getParameters (line 45) | @Override method getTxId (line 51) | @Override method getChannelId (line 57) | @Override method invokeChaincode (line 63) | @Override method getState (line 69) | @Override method getStateValidationParameter (line 74) | @Override method putState (line 80) | @Override method setStateValidationParameter (line 86) | @Override method delState (line 92) | @Override method getStateByRange (line 98) | @Override method getStateByRangeWithPagination (line 104) | @Override method getStateByPartialCompositeKey (line 111) | @Override method getStateByPartialCompositeKey (line 117) | @Override method getStateByPartialCompositeKey (line 124) | @Override method getStateByPartialCompositeKeyWithPagination (line 130) | @Override method createCompositeKey (line 137) | @Override method splitCompositeKey (line 143) | @Override method getQueryResult (line 149) | @Override method getQueryResultWithPagination (line 155) | @Override method getHistoryForKey (line 162) | @Override method getPrivateData (line 168) | @Override method getPrivateDataHash (line 173) | @Override method getPrivateDataValidationParameter (line 179) | @Override method putPrivateData (line 185) | @Override method setPrivateDataValidationParameter (line 191) | @Override method delPrivateData (line 197) | @Override method purgePrivateData (line 203) | @Override method getPrivateDataByRange (line 209) | @Override method getPrivateDataByPartialCompositeKey (line 216) | @Override method getPrivateDataByPartialCompositeKey (line 223) | @Override method getPrivateDataByPartialCompositeKey (line 230) | @Override method getPrivateDataQueryResult (line 237) | @Override method setEvent (line 243) | @Override method getEvent (line 249) | @Override method getSignedProposal (line 255) | @Override method getTxTimestamp (line 261) | @Override method getCreator (line 267) | @Override method getTransient (line 273) | @Override method getBinding (line 279) | @Override method getMspId (line 285) | @Override method testDefaultMethods (line 292) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/ChaincodeTest.java class ChaincodeTest (line 14) | final class ChaincodeTest { method testResponse (line 15) | @Test method testResponseWithCode (line 24) | @Test method testStatus (line 48) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/ChatChaincodeWithPeerTest.java class ChatChaincodeWithPeerTest (line 43) | @ExtendWith(SystemStubsExtension.class) method setEnv (line 50) | @BeforeEach method clearEnv (line 60) | @AfterEach method initNull (line 70) | @Test method init (line 80) | @Test method initEmptyId (line 97) | @Test method connectEnvNotSet (line 116) | @Test method connectNull (line 126) | @Test method connectAndReceiveRegister (line 139) | @Test method connectAndReceiveRegisterComplete (line 223) | @Test method connectAndReceiveRegisterException (line 253) | @Test method connectOnCompletedException (line 278) | @Test method testMockChaincodeBase (line 310) | @Test method testMockChaincodeBaseThrowIOException (line 331) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/NettyGrpcServerTest.java class NettyGrpcServerTest (line 23) | @ExtendWith(SystemStubsExtension.class) method setEnv (line 28) | @BeforeEach method clearEnv (line 39) | @AfterEach method initNoTls (line 50) | @Test method validationNoChaincodeServerPropertiesg (line 62) | @Test method validationPortChaincodeServer (line 73) | @Test method validationKeepAliveTimeMinutes (line 87) | @Test method validationKeepAliveTimeoutSeconds (line 101) | @Test method validationPermitKeepAliveTimeMinutes (line 115) | @Test method validationMaxConnectionAgeSeconds (line 129) | @Test method validationMaxInboundMetadataSize (line 143) | @Test method validationMaxInboundMessageSize (line 157) | @Test method validationTlsEnabledButKeyNotSet (line 171) | @Test method initNull (line 188) | @Test method initNullEnvNotSet (line 198) | @Test method initEnvNotSet (line 206) | @Test method initEnvSetPortChaincodeServerAndCoreChaincodeIdName (line 215) | @Test method startAndStopSetCoreChaincodeIdName (line 231) | @Test method startAndStop (line 265) | @Test method startAndStopTlsPassword (line 292) | @Test method startAndStopTlsWithoutPassword (line 323) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/chaincode/EmptyChaincode.java class EmptyChaincode (line 12) | public final class EmptyChaincode extends ChaincodeBase { method init (line 13) | @Override method invoke (line 18) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/ext/sbe/StateBasedEndorsementTest.java class StateBasedEndorsementTest (line 13) | final class StateBasedEndorsementTest { method testRoleType (line 14) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/ext/sbe/impl/StateBasedEndorsementFactoryTest.java class StateBasedEndorsementFactoryTest (line 14) | final class StateBasedEndorsementFactoryTest { method getInstance (line 15) | @Test method newStateBasedEndorsement (line 21) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/ext/sbe/impl/StateBasedEndorsementImplTest.java class StateBasedEndorsementImplTest (line 23) | final class StateBasedEndorsementImplTest { method addOrgs (line 25) | @Test method delOrgs (line 41) | @Test method listOrgs (line 68) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/fvt/ChaincodeFVTest.java class ChaincodeFVTest (line 63) | @ExtendWith(SystemStubsExtension.class) method afterTest (line 71) | @AfterEach method testRegister (line 79) | @Test method testRegisterAndEmptyInit (line 96) | @Test method testInitAndInvoke (line 132) | @Test method testStateValidationParameter (line 206) | @Test method testInvokeRangeQ (line 274) | @Test method testGetQueryResult (line 353) | @Test method testGetHistoryForKey (line 428) | @Test method testInvokeChaincode (line 492) | @Test method testErrorInitInvoke (line 542) | @Test method testStreamShutdown (line 598) | @Test method testChaincodeLogLevel (line 636) | @Test method setLogLevel (line 655) | private void setLogLevel(final String logLevel) { FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/impl/ChaincodeMessageFactoryTest.java class ChaincodeMessageFactoryTest (line 18) | final class ChaincodeMessageFactoryTest { method testNewGetPrivateDataHashEventMessage (line 35) | @Test method testNewGetStateEventMessage (line 40) | @Test method testNewGetStateMetadataEventMessage (line 45) | @Test method testNewPutStateEventMessage (line 50) | @Test method testNewPutStateMetadataEventMessage (line 55) | @Test method testNewDeleteStateEventMessage (line 60) | @Test method testNewErrorEventMessage (line 65) | @Test method testNewCompletedEventMessage (line 72) | @Test method testNewInvokeChaincodeMessage (line 78) | @Test method testNewRegisterChaincodeMessage (line 83) | @Test method testNewEventMessageTypeStringStringByteString (line 88) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/impl/ChaincodeSupportClientTest.java class ChaincodeSupportClientTest (line 26) | @ExtendWith(SystemStubsExtension.class) method testStartInvocationTaskManagerAndRequestObserverNull (line 31) | @Test method testStartInvocationTaskManagerNullAndRequestObserver (line 61) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/impl/InnvocationTaskManagerTest.java class InnvocationTaskManagerTest (line 30) | @ExtendWith(SystemStubsExtension.class) method setEnv (line 35) | @BeforeEach method clearEnv (line 45) | @AfterEach method getManager (line 55) | @Test method getManagerChaincodeIDNull (line 71) | @Test method getManagerChaincodeBaseNull (line 90) | @Test method onChaincodeMessage (line 104) | @Test method setResponseConsumer (line 123) | @Test method registerException (line 140) | @Test method onChaincodeMessageREGISTER (line 158) | @Test method onChaincodeMessageInvokeChaincode (line 181) | @Test method onChaincodeMessagePutState (line 206) | @Test method shutdown (line 231) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/impl/InvocationStubImplTest.java class InvocationStubImplTest (line 28) | final class InvocationStubImplTest { class GetStateByRangeTests (line 34) | @Nested method beforeEach (line 41) | @BeforeEach method regular (line 54) | @Test method nullvalues (line 70) | @Test method unbounded (line 87) | @Test method simplekeys (line 104) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/impl/InvocationTaskManagerTest.java class InvocationTaskManagerTest (line 26) | final class InvocationTaskManagerTest { method setup (line 32) | @BeforeEach method teardown (line 47) | @AfterEach method register (line 54) | @Test method onMessageTestTx (line 59) | @Test method onWrongCreatedState (line 70) | @Test method onWrongEstablishedState (line 82) | @Test method onErrorResponse (line 95) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/impl/KeyModificationImplTest.java class KeyModificationImplTest (line 18) | final class KeyModificationImplTest { method testKeyModificationImpl (line 20) | @Test method testGetTxId (line 30) | @Test method testGetValue (line 39) | @Test method testGetStringValue (line 48) | @Test method testGetTimestamp (line 57) | @Test method testIsDeleted (line 68) | @Test method testHashCode (line 79) | @Test method testEquals (line 93) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/impl/KeyValueImplTest.java class KeyValueImplTest (line 16) | final class KeyValueImplTest { method testKeyValueImpl (line 18) | @Test method testGetKey (line 26) | @Test method testGetValue (line 35) | @Test method testGetStringValue (line 44) | @Test method testHashCode (line 53) | @Test method testEquals (line 61) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/impl/QueryResultsIteratorWithMetadataImplTest.java class QueryResultsIteratorWithMetadataImplTest (line 19) | final class QueryResultsIteratorWithMetadataImplTest { method getMetadata (line 22) | @Test method getInvalidMetadata (line 30) | @Test method prepareQueryResponse (line 37) | private QueryResponse prepareQueryResponse() { method prepareQueryResponseWrongMeta (line 49) | private QueryResponse prepareQueryResponseWrongMeta() { FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/ledger/CompositeKeyTest.java class CompositeKeyTest (line 19) | final class CompositeKeyTest { method testValidateSimpleKeys (line 20) | @Test method testValidateSimpleKeysException (line 25) | @Test method testCompositeKeyStringStringArray (line 31) | @Test method testCompositeKeyStringListOfString (line 39) | @Test method testEmptyAttributes (line 47) | @Test method testCompositeKeyWithInvalidObjectTypeDelimiter (line 55) | @Test method testCompositeKeyWithInvalidAttributeDelimiter (line 61) | @Test method testCompositeKeyWithInvalidObjectTypeMaxCodePoint (line 67) | @Test method testCompositeKeyWithInvalidAttributeMaxCodePoint (line 73) | @Test method testGetObjectType (line 79) | @Test method testGetAttributes (line 85) | @Test method testToString (line 93) | @Test method testParseCompositeKey (line 99) | @Test method testParseCompositeKeyInvalidObjectType (line 108) | @Test method testParseCompositeKeyInvalidAttribute (line 115) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/ChaincodeMockPeer.java class ChaincodeMockPeer (line 26) | public final class ChaincodeMockPeer { method ChaincodeMockPeer (line 40) | public ChaincodeMockPeer(final List scenario, final int ... method start (line 48) | @SuppressWarnings("PMD.SystemPrintln") method stop (line 64) | public void stop() { method send (line 79) | public void send(final ChaincodeMessage msg) { method getLastExecutedStep (line 91) | public int getLastExecutedStep() { method getLastMessageRcvd (line 96) | public ChaincodeMessage getLastMessageRcvd() { method getAllReceivedMessages (line 100) | public List getAllReceivedMessages() { method getLastMessageSend (line 105) | public ChaincodeMessage getLastMessageSend() { method startServer (line 116) | public static ChaincodeMockPeer startServer(final List s... class ChaincodeMockPeerService (line 122) | private static class ChaincodeMockPeerService extends ChaincodeSupport... method ChaincodeMockPeerService (line 133) | ChaincodeMockPeerService(final List scenario) { method send (line 138) | public void send(final ChaincodeMessage msg) { method register (line 151) | @Override method checkScenarioStepEnded (line 208) | @SuppressWarnings("PMD.SystemPrintln") FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/CompleteStep.java class CompleteStep (line 14) | public final class CompleteStep implements ScenarioStep { method expected (line 15) | @Override method next (line 20) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/DelValueStep.java class DelValueStep (line 16) | public final class DelValueStep implements ScenarioStep { method expected (line 19) | @Override method next (line 25) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/ErrorResponseStep.java class ErrorResponseStep (line 13) | public final class ErrorResponseStep implements ScenarioStep { method expected (line 14) | @Override method next (line 19) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/GetHistoryForKeyStep.java class GetHistoryForKeyStep (line 19) | public final class GetHistoryForKeyStep implements ScenarioStep { method GetHistoryForKeyStep (line 30) | public GetHistoryForKeyStep(final boolean hasNext, final String... val... method expected (line 35) | @Override method next (line 41) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/GetQueryResultStep.java class GetQueryResultStep (line 14) | public final class GetQueryResultStep extends QueryResultStep { method GetQueryResultStep (line 22) | public GetQueryResultStep(final boolean hasNext, final String... vals) { method expected (line 26) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/GetStateByRangeStep.java class GetStateByRangeStep (line 14) | public final class GetStateByRangeStep extends QueryResultStep { method GetStateByRangeStep (line 22) | public GetStateByRangeStep(final boolean hasNext, final String... vals) { method expected (line 26) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/GetStateMetadata.java class GetStateMetadata (line 20) | public final class GetStateMetadata implements ScenarioStep { method GetStateMetadata (line 25) | public GetStateMetadata(final StateBasedEndorsement sbe) { method expected (line 29) | @Override method next (line 35) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/GetValueStep.java class GetValueStep (line 14) | public final class GetValueStep implements ScenarioStep { method GetValueStep (line 19) | public GetValueStep(final String val) { method expected (line 23) | @Override method next (line 29) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/InvokeChaincodeStep.java class InvokeChaincodeStep (line 19) | public final class InvokeChaincodeStep implements ScenarioStep { method expected (line 22) | @Override method next (line 31) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/PurgeValueStep.java class PurgeValueStep (line 16) | public final class PurgeValueStep implements ScenarioStep { method expected (line 20) | @Override method next (line 26) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/PutStateMetadata.java class PutStateMetadata (line 20) | public final class PutStateMetadata implements ScenarioStep { method PutStateMetadata (line 24) | public PutStateMetadata(final StateBasedEndorsement sbe) { method expected (line 34) | @Override method next (line 52) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/PutValueStep.java class PutValueStep (line 20) | public final class PutValueStep implements ScenarioStep { method PutValueStep (line 29) | public PutValueStep(final String val) { method expected (line 39) | @Override method next (line 52) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/QueryCloseStep.java class QueryCloseStep (line 16) | public final class QueryCloseStep implements ScenarioStep { method expected (line 19) | @Override method next (line 26) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/QueryNextStep.java class QueryNextStep (line 14) | public final class QueryNextStep extends QueryResultStep { method QueryNextStep (line 22) | public QueryNextStep(final boolean hasNext, final String... vals) { method expected (line 26) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/QueryResultStep.java class QueryResultStep (line 20) | public abstract class QueryResultStep implements ScenarioStep { method QueryResultStep (line 31) | QueryResultStep(final boolean hasNext, final String... vals) { method next (line 41) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/RegisterStep.java class RegisterStep (line 17) | public final class RegisterStep implements ScenarioStep { method expected (line 21) | @Override method next (line 27) | @Override FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/mock/peer/ScenarioStep.java type ScenarioStep (line 12) | public interface ScenarioStep { method expected (line 19) | boolean expected(ChaincodeMessage msg); method next (line 26) | List next(); FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/utils/MessageUtil.java class MessageUtil (line 13) | public final class MessageUtil { method MessageUtil (line 15) | private MessageUtil() {} method newEventMessage (line 27) | public static ChaincodeMessage newEventMessage( FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/shim/utils/TimeoutUtil.java class TimeoutUtil (line 15) | public final class TimeoutUtil { method TimeoutUtil (line 17) | private TimeoutUtil() {} method runWithTimeout (line 19) | public static void runWithTimeout(final Runnable callable, final long ... FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/traces/TracesTest.java class TracesTest (line 22) | final class TracesTest { class TestProvider (line 24) | private static final class TestProvider implements TracesProvider { method TestProvider (line 26) | public TestProvider() {} method initialize (line 28) | @Override method createSpan (line 31) | @Override class Initialize (line 37) | @Nested method tracesDisabled (line 41) | @Test method tracesEnabledUnknownProvider (line 47) | @Test method tracesNoProvider (line 61) | @Test method tracesOpenTelemetryProvider (line 70) | @Test method tracesValid (line 80) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/traces/impl/DefaultProviderTest.java class DefaultProviderTest (line 15) | final class DefaultProviderTest { method testDefaultProvider (line 17) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/traces/impl/OpenTelemetryPropertiesTest.java class OpenTelemetryPropertiesTest (line 24) | final class OpenTelemetryPropertiesTest { method testOverrideValue (line 26) | @Test method testCanGetDurationDays (line 33) | @Test method testCanGetDurationHours (line 39) | @Test method testCanGetDurationMinutes (line 45) | @Test method testCanGetDurationSeconds (line 51) | @Test method testCanGetDurationMilliSeconds (line 57) | @Test method testCanGetDurationInvalid (line 63) | @Test method testGetDouble (line 69) | @Test method testGetDoubleInvalid (line 76) | @Test method testGetLong (line 82) | @Test method testGetInt (line 89) | @Test method testGetBoolean (line 96) | @Test method testGetList (line 103) | @Test method testGetMap (line 110) | @Test method testGetMapInvalid (line 120) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/traces/impl/OpenTelemetryTracesProviderTest.java class OpenTelemetryTracesProviderTest (line 40) | final class OpenTelemetryTracesProviderTest { class ContextGetterChaincode (line 42) | private final class ContextGetterChaincode extends ChaincodeBase { method init (line 44) | @Override method invoke (line 49) | @Override method getChaincodeConfig (line 54) | @Override method testProvider (line 60) | @Test method testTracing (line 70) | @Test FILE: fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/traces/impl/TestSpanExporterProvider.java class TestSpanExporterProvider (line 17) | public final class TestSpanExporterProvider implements ConfigurableSpanE... method export (line 22) | @Override method flush (line 28) | @Override method shutdown (line 33) | @Override method createExporter (line 39) | @Override method getName (line 44) | @Override