A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AALOAD - io.neow3j.compiler.JVMOpcode
- AASTORE - io.neow3j.compiler.JVMOpcode
- ACONST_NULL - io.neow3j.compiler.JVMOpcode
- addEvent(NeoEvent) - Method in class io.neow3j.compiler.NeoModule
- addInstruction(NeoInstruction) - Method in class io.neow3j.compiler.NeoMethod
-
Adds the given instruction to this method.
- addLoadConstant(AbstractInsnNode, NeoMethod) - Static method in class io.neow3j.compiler.Compiler
- addLoadLocalVariable(int, NeoMethod) - Static method in class io.neow3j.compiler.LocalVariableHelper
- addLoadStaticField(FieldInsnNode, NeoMethod, CompilationUnit) - Static method in class io.neow3j.compiler.converters.ObjectsConverter
- addMethod(NeoMethod) - Method in class io.neow3j.compiler.NeoModule
- addMethods(List<NeoMethod>) - Method in class io.neow3j.compiler.NeoModule
- addMethodToken(NefFile.MethodToken) - Method in class io.neow3j.compiler.NeoModule
-
Adds the given method token to this module's tokens and returns the tokens ID.
- addParameter(NeoVariable) - Method in class io.neow3j.compiler.NeoMethod
-
Adds a parameter to this method.
- addPushNumber(long, NeoMethod) - Static method in class io.neow3j.compiler.Compiler
-
Adds an instruction to push the given number on the stack.
- addReverseArguments(NeoMethod, int) - Static method in class io.neow3j.compiler.Compiler
-
Adds an instruction that reverses the ordering of the parameters on the evaluation stack according to the given number of parameters.
- addReverseArguments(MethodNode, NeoMethod) - Static method in class io.neow3j.compiler.Compiler
-
Adds an instruction that reverses the ordering of the parameters on the evaluation stack according to the number of parameters the called method takes.
- addSourceContainers(List<ISourceContainer>) - Method in class io.neow3j.compiler.CompilationUnit
- addStoreLocalVariable(int, NeoMethod) - Static method in class io.neow3j.compiler.LocalVariableHelper
- addStoreStaticField(FieldInsnNode, NeoMethod, CompilationUnit) - Static method in class io.neow3j.compiler.converters.ObjectsConverter
- addVariable(NeoVariable) - Method in class io.neow3j.compiler.NeoMethod
-
Adds a local variable to this method.
- ALOAD - io.neow3j.compiler.JVMOpcode
- ALOAD_0 - io.neow3j.compiler.JVMOpcode
- ALOAD_1 - io.neow3j.compiler.JVMOpcode
- ALOAD_2 - io.neow3j.compiler.JVMOpcode
- ALOAD_3 - io.neow3j.compiler.JVMOpcode
- ANEWARRAY - io.neow3j.compiler.JVMOpcode
- ARETURN - io.neow3j.compiler.JVMOpcode
- ArithmeticsConverter - Class in io.neow3j.compiler.converters
- ArithmeticsConverter() - Constructor for class io.neow3j.compiler.converters.ArithmeticsConverter
- ARRAYLENGTH - io.neow3j.compiler.JVMOpcode
- ArraysConverter - Class in io.neow3j.compiler.converters
- ArraysConverter() - Constructor for class io.neow3j.compiler.converters.ArraysConverter
- AsmHelper - Class in io.neow3j.compiler
- AsmHelper() - Constructor for class io.neow3j.compiler.AsmHelper
- ASTORE - io.neow3j.compiler.JVMOpcode
- ASTORE_0 - io.neow3j.compiler.JVMOpcode
- ASTORE_1 - io.neow3j.compiler.JVMOpcode
- ASTORE_2 - io.neow3j.compiler.JVMOpcode
- ASTORE_3 - io.neow3j.compiler.JVMOpcode
- ATHROW - io.neow3j.compiler.JVMOpcode
- ATYPE - io.neow3j.compiler.JVMOpcode.Kind
B
- BALOAD - io.neow3j.compiler.JVMOpcode
- BASTORE - io.neow3j.compiler.JVMOpcode
- BIPUSH - io.neow3j.compiler.JVMOpcode
- BitOperationsConverter - Class in io.neow3j.compiler.converters
- BitOperationsConverter() - Constructor for class io.neow3j.compiler.converters.BitOperationsConverter
- BRANCH - io.neow3j.compiler.JVMOpcode.Kind
- BRANCH_W - io.neow3j.compiler.JVMOpcode.Kind
- buildDebugInfo(CompilationUnit) - Static method in class io.neow3j.compiler.DebugInfo
- buildManifest(CompilationUnit) - Static method in class io.neow3j.compiler.ManifestBuilder
- buildPushDataInsn(byte[]) - Static method in class io.neow3j.compiler.Compiler
- buildPushDataInsn(String) - Static method in class io.neow3j.compiler.Compiler
- buildPushNumberInstruction(BigInteger) - Static method in class io.neow3j.compiler.Compiler
-
Builds an instruction that pushes the given number on the stack.
- buildStoreOrLoadVariableInsn(int, OpCode) - Static method in class io.neow3j.compiler.LocalVariableHelper
- BYTE - io.neow3j.compiler.JVMOpcode.Kind
- byteSize() - Method in class io.neow3j.compiler.NeoInstruction
- byteSize() - Method in class io.neow3j.compiler.NeoMethod
C
- CALOAD - io.neow3j.compiler.JVMOpcode
- CASTORE - io.neow3j.compiler.JVMOpcode
- CHECKCAST - io.neow3j.compiler.JVMOpcode
- CLASS_VERSION_SUPPORTED - Static variable in class io.neow3j.compiler.Compiler
- CompilationUnit - Class in io.neow3j.compiler
-
Acts as the central object that is passed around in the compilation process and holds the class loader to use for loading classes required for the compilation, the
NeoModulethat is built in the compilation, and the Java smart contract class that is compiled. - CompilationUnit(ClassLoader) - Constructor for class io.neow3j.compiler.CompilationUnit
- compile(InputStream) - Method in class io.neow3j.compiler.Compiler
-
Compiles the given contract class to neo-vm code.
- compile(InputStream, Map<String, String>) - Method in class io.neow3j.compiler.Compiler
-
Replaces placeholder strings in the contract class according to
replaceMapand compiles the contract to neo-vm code. - compile(String) - Method in class io.neow3j.compiler.Compiler
-
Compiles the given contract class to neo-vm code.
- compile(String, List<ISourceContainer>) - Method in class io.neow3j.compiler.Compiler
-
Compiles the given contract class to neo-vm code and generates debug information with the help of the given source containers.
- compile(String, List<ISourceContainer>, Map<String, String>) - Method in class io.neow3j.compiler.Compiler
-
Replaces placeholder strings in the contract class according to
replaceMapand compiles the contract to neo-vm code and generates debug information with the help of the given source containers. - compile(String, Map<String, String>) - Method in class io.neow3j.compiler.Compiler
-
Replaces placeholder strings in the contract class according to
replaceMapand compiles the contract to neo-vm code. - compile(ClassNode) - Method in class io.neow3j.compiler.Compiler
-
Compiles the given contract class to neo-vm code.
- compile(ClassNode, Map<String, String>) - Method in class io.neow3j.compiler.Compiler
-
Replaces placeholder strings in the contract class according to
replaceMapand compiles the contract to neo-vm code. - Compiler - Class in io.neow3j.compiler
- Compiler() - Constructor for class io.neow3j.compiler.Compiler
- Compiler(ClassLoader) - Constructor for class io.neow3j.compiler.Compiler
- COMPILER_NAME - Static variable in class io.neow3j.compiler.Compiler
- CompilerException - Exception in io.neow3j.compiler
- CompilerException(NeoMethod, String) - Constructor for exception io.neow3j.compiler.CompilerException
- CompilerException(Exception) - Constructor for exception io.neow3j.compiler.CompilerException
- CompilerException(String) - Constructor for exception io.neow3j.compiler.CompilerException
- CompilerException(ClassNode, String) - Constructor for exception io.neow3j.compiler.CompilerException
- CompositeSourceContainer - Class in io.neow3j.compiler.sourcelookup
-
A source container consisting of multiple other containers.
- CompositeSourceContainer() - Constructor for class io.neow3j.compiler.sourcelookup.CompositeSourceContainer
- ConstantsConverter - Class in io.neow3j.compiler.converters
- ConstantsConverter() - Constructor for class io.neow3j.compiler.converters.ConstantsConverter
- containsOnlyAssertionRelatedInstructions() - Method in class io.neow3j.compiler.InitsslotNeoMethod
- convert(CompilationUnit) - Method in class io.neow3j.compiler.InitsslotNeoMethod
- convert(CompilationUnit) - Method in class io.neow3j.compiler.NeoMethod
-
Converts the JVM instructions of this method to neo-vm instructions.
- convert(CompilationUnit) - Method in class io.neow3j.compiler.SuperNeoMethod
-
Converts the JVM instructions of this method to neo-vm instructions.
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in class io.neow3j.compiler.converters.ArithmeticsConverter
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in class io.neow3j.compiler.converters.ArraysConverter
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in class io.neow3j.compiler.converters.BitOperationsConverter
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in class io.neow3j.compiler.converters.ConstantsConverter
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in interface io.neow3j.compiler.converters.Converter
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in class io.neow3j.compiler.converters.JumpsConverter
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in class io.neow3j.compiler.converters.LocalVariablesConverter
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in class io.neow3j.compiler.converters.MethodsConverter
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in class io.neow3j.compiler.converters.MiscConverter
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in class io.neow3j.compiler.converters.ObjectsConverter
- convert(AbstractInsnNode, NeoMethod, CompilationUnit) - Method in class io.neow3j.compiler.converters.StackManipulationConverter
- Converter - Interface in io.neow3j.compiler.converters
- ConverterMap - Class in io.neow3j.compiler.converters
-
Maps JVM opcodes to converter classes that convert those opcodes to neo-vm instructions.
- ConverterMap() - Constructor for class io.neow3j.compiler.converters.ConverterMap
- CPREF - io.neow3j.compiler.JVMOpcode.Kind
- CPREF_W - io.neow3j.compiler.JVMOpcode.Kind
- CPREF_W_UBYTE - io.neow3j.compiler.JVMOpcode.Kind
- CPREF_W_UBYTE_ZERO - io.neow3j.compiler.JVMOpcode.Kind
- createSourceContainers() - Method in class io.neow3j.compiler.sourcelookup.CompositeSourceContainer
-
Creates the source containers of this composite container.
- createSourceContainers() - Method in class io.neow3j.compiler.sourcelookup.DirectorySourceContainer
-
If this container is configured to search through subdirectories, this method returns new
DirectorySourceContainers for each of its subdirectories.
D
- D2F - io.neow3j.compiler.JVMOpcode
- D2I - io.neow3j.compiler.JVMOpcode
- D2L - io.neow3j.compiler.JVMOpcode
- DADD - io.neow3j.compiler.JVMOpcode
- DALOAD - io.neow3j.compiler.JVMOpcode
- DASTORE - io.neow3j.compiler.JVMOpcode
- DCMPG - io.neow3j.compiler.JVMOpcode
- DCMPL - io.neow3j.compiler.JVMOpcode
- DCONST_0 - io.neow3j.compiler.JVMOpcode
- DCONST_1 - io.neow3j.compiler.JVMOpcode
- DDIV - io.neow3j.compiler.JVMOpcode
- DebugInfo - Class in io.neow3j.compiler
- DebugInfo() - Constructor for class io.neow3j.compiler.DebugInfo
- DebugInfo(Hash160, List<String>, List<DebugInfo.Method>, List<DebugInfo.Event>, List<String>) - Constructor for class io.neow3j.compiler.DebugInfo
- DebugInfo.Event - Class in io.neow3j.compiler
- DebugInfo.Method - Class in io.neow3j.compiler
- DirectorySourceContainer - Class in io.neow3j.compiler.sourcelookup
-
A source container that is a simple directory, its contents and subdirectories.
- DirectorySourceContainer(File, boolean) - Constructor for class io.neow3j.compiler.sourcelookup.DirectorySourceContainer
-
Constructs a new source container with the given directory as its root directory.
- DLOAD - io.neow3j.compiler.JVMOpcode
- DLOAD_0 - io.neow3j.compiler.JVMOpcode
- DLOAD_1 - io.neow3j.compiler.JVMOpcode
- DLOAD_2 - io.neow3j.compiler.JVMOpcode
- DLOAD_3 - io.neow3j.compiler.JVMOpcode
- DMUL - io.neow3j.compiler.JVMOpcode
- DNEG - io.neow3j.compiler.JVMOpcode
- DREM - io.neow3j.compiler.JVMOpcode
- DRETURN - io.neow3j.compiler.JVMOpcode
- DSTORE - io.neow3j.compiler.JVMOpcode
- DSTORE_0 - io.neow3j.compiler.JVMOpcode
- DSTORE_1 - io.neow3j.compiler.JVMOpcode
- DSTORE_2 - io.neow3j.compiler.JVMOpcode
- DSTORE_3 - io.neow3j.compiler.JVMOpcode
- DSUB - io.neow3j.compiler.JVMOpcode
- DUP - io.neow3j.compiler.JVMOpcode
- DUP_X1 - io.neow3j.compiler.JVMOpcode
- DUP_X2 - io.neow3j.compiler.JVMOpcode
- DUP2 - io.neow3j.compiler.JVMOpcode
- DUP2_X1 - io.neow3j.compiler.JVMOpcode
- DUP2_X2 - io.neow3j.compiler.JVMOpcode
- DYNAMIC - io.neow3j.compiler.JVMOpcode.Kind
E
- Event() - Constructor for class io.neow3j.compiler.DebugInfo.Event
- Event(String, String, List<String>) - Constructor for class io.neow3j.compiler.DebugInfo.Event
- extractTypeParametersFromSignature(FieldNode) - Static method in class io.neow3j.compiler.AsmHelper
-
Extracts generic type parameters from the given field, if it has any.
F
- F2D - io.neow3j.compiler.JVMOpcode
- F2I - io.neow3j.compiler.JVMOpcode
- F2L - io.neow3j.compiler.JVMOpcode
- FADD - io.neow3j.compiler.JVMOpcode
- FALOAD - io.neow3j.compiler.JVMOpcode
- FASTORE - io.neow3j.compiler.JVMOpcode
- FCMPG - io.neow3j.compiler.JVMOpcode
- FCMPL - io.neow3j.compiler.JVMOpcode
- FCONST_0 - io.neow3j.compiler.JVMOpcode
- FCONST_1 - io.neow3j.compiler.JVMOpcode
- FCONST_2 - io.neow3j.compiler.JVMOpcode
- FDIV - io.neow3j.compiler.JVMOpcode
- finalizeMethod() - Method in class io.neow3j.compiler.NeoMethod
- findSourceFile(String) - Method in class io.neow3j.compiler.sourcelookup.DirectorySourceContainer
-
Looks for the given file name in this container's root directory and subdirectories (depending on configuration).
- findSourceFile(String) - Method in interface io.neow3j.compiler.sourcelookup.ISourceContainer
-
Searches this container for the source file with the given name.
- FLOAD - io.neow3j.compiler.JVMOpcode
- FLOAD_0 - io.neow3j.compiler.JVMOpcode
- FLOAD_1 - io.neow3j.compiler.JVMOpcode
- FLOAD_2 - io.neow3j.compiler.JVMOpcode
- FLOAD_3 - io.neow3j.compiler.JVMOpcode
- FMUL - io.neow3j.compiler.JVMOpcode
- FNEG - io.neow3j.compiler.JVMOpcode
- FREM - io.neow3j.compiler.JVMOpcode
- FRETURN - io.neow3j.compiler.JVMOpcode
- FSTORE - io.neow3j.compiler.JVMOpcode
- FSTORE_0 - io.neow3j.compiler.JVMOpcode
- FSTORE_1 - io.neow3j.compiler.JVMOpcode
- FSTORE_2 - io.neow3j.compiler.JVMOpcode
- FSTORE_3 - io.neow3j.compiler.JVMOpcode
- FSUB - io.neow3j.compiler.JVMOpcode
G
- get(int) - Static method in enum io.neow3j.compiler.JVMOpcode
- get(JVMOpcode) - Static method in class io.neow3j.compiler.converters.ConverterMap
- getAddress() - Method in class io.neow3j.compiler.NeoInstruction
-
Gets this instruction's byte address, i.e., its position in the method it belongs to.
- getAnnotationNode(ClassNode, Class<?>) - Static method in class io.neow3j.compiler.AsmHelper
- getAnnotationNode(FieldNode, Class<?>) - Static method in class io.neow3j.compiler.AsmHelper
- getAnnotationNode(MethodNode, Class<?>) - Static method in class io.neow3j.compiler.AsmHelper
- getAnnotationProperty(AnnotationNode, String) - Static method in class io.neow3j.compiler.AsmHelper
-
Gets the property's value on the given annotation.
- getAnnotations(MethodNode, Class<?>, Class<?>) - Static method in class io.neow3j.compiler.AsmHelper
-
Gets the annotations specified by
singleClassandmultiClassfrom the given method. - getAsContractManifestEvent() - Method in class io.neow3j.compiler.NeoEvent
- getAsDebugInfoEvent() - Method in class io.neow3j.compiler.NeoEvent
- getAsDebugInfoVariable() - Method in class io.neow3j.compiler.NeoContractVariable
-
Gets this' variables in the format required in the debug info for the Neo Debugger.
- getAsmClass(InputStream) - Static method in class io.neow3j.compiler.AsmHelper
-
Gets the
ClassNodefrom the given input stream. - getAsmClass(String, ClassLoader) - Static method in class io.neow3j.compiler.AsmHelper
-
Gets the
ClassNodefor the given fully qualified class name. - getAsmClassForDescriptor(String, ClassLoader) - Static method in class io.neow3j.compiler.AsmHelper
-
Gets the
ClassNodefor the given class descriptor using the given classloader. - getAsmClassForInternalName(String, ClassLoader) - Static method in class io.neow3j.compiler.AsmHelper
-
Gets the
ClassNodefor the given class name using the given classloader. - getAsmMethod() - Method in class io.neow3j.compiler.NeoMethod
- getAsmVariable() - Method in class io.neow3j.compiler.NeoEvent
- getAsmVariable() - Method in class io.neow3j.compiler.NeoVariable
- getByteArrayAnnotationProperty(AnnotationNode, String) - Static method in class io.neow3j.compiler.AsmHelper
-
Gets the byte array property with
propertyNamefrom the given annotation. - getCatchOffsetLabel() - Method in class io.neow3j.compiler.NeoTryInstruction
- getClassLoader() - Method in class io.neow3j.compiler.CompilationUnit
- getContractClass() - Method in class io.neow3j.compiler.CompilationUnit
-
Gets the main contract class of the smart contract being compiled.
- getContractVariable(FieldInsnNode, CompilationUnit) - Method in class io.neow3j.compiler.NeoModule
-
Gets the corresponding contract variable for the variable found in the given instruction.
- getContractVariables() - Method in class io.neow3j.compiler.NeoModule
- getCurrentLine() - Method in class io.neow3j.compiler.NeoMethod
-
Gets the current line number that is currently being converted by the compiler.
- getDebugInfo() - Method in class io.neow3j.compiler.CompilationUnit
- getDescriptor() - Method in class io.neow3j.compiler.NeoVariable
- getDisplayName() - Method in class io.neow3j.compiler.NeoEvent
- getDocuments() - Method in class io.neow3j.compiler.DebugInfo
- getEvents() - Method in class io.neow3j.compiler.DebugInfo
- getEvents() - Method in class io.neow3j.compiler.NeoModule
- getExtra() - Method in class io.neow3j.compiler.NeoInstruction
-
Gets the extra information set on this instruction.
- GETFIELD - io.neow3j.compiler.JVMOpcode
- getFieldIndex(FieldInsnNode, CompilationUnit) - Static method in class io.neow3j.compiler.AsmHelper
-
Gets the field index of the given field instruction node to use on the NeoVM.
- getFinallyOffsetLabel() - Method in class io.neow3j.compiler.NeoTryInstruction
- getHash() - Method in class io.neow3j.compiler.DebugInfo
- getId() - Method in class io.neow3j.compiler.DebugInfo.Event
- getId() - Method in class io.neow3j.compiler.DebugInfo.Method
- getId() - Method in class io.neow3j.compiler.NeoEvent
- getId() - Method in class io.neow3j.compiler.NeoMethod
-
Gets this method's ID, a string uniquely identifying this method.
- getIndexOfMethodToken(NefFile.MethodToken) - Method in class io.neow3j.compiler.NeoModule
-
Gets the index of the given method token in the list of tokens.
- getInstructions() - Method in class io.neow3j.compiler.NeoMethod
-
Gets the sorted instructions of this method.
- getJvmIndex() - Method in class io.neow3j.compiler.NeoVariable
- getKind() - Method in enum io.neow3j.compiler.JVMOpcode
- getLabel() - Method in class io.neow3j.compiler.NeoJumpInstruction
- getLastAddress() - Method in class io.neow3j.compiler.NeoMethod
-
Gets the address that follows this method's last instruction, i.e., the next free address.
- getLastInstruction() - Method in class io.neow3j.compiler.NeoMethod
- getLineNr() - Method in class io.neow3j.compiler.NeoInstruction
- getManifest() - Method in class io.neow3j.compiler.CompilationUnit
- getMethod(String) - Method in class io.neow3j.compiler.NeoModule
- getMethodId(MethodNode, ClassNode) - Static method in class io.neow3j.compiler.NeoMethod
-
Creates a unique ID for the given method used to identify this method in the
NeoModule. - getMethodNode(MethodInsnNode, ClassNode) - Static method in class io.neow3j.compiler.AsmHelper
-
Gets the
MethodNodecorresponding to the method called in the given instruction. - getMethods() - Method in class io.neow3j.compiler.DebugInfo
- getMethodSignatureAnnotation() - Method in class io.neow3j.compiler.NeoMethod
-
Gets this method's
MethodSignatureannotation if it has one. - getMethodTokens() - Method in class io.neow3j.compiler.NeoModule
- getName() - Method in class io.neow3j.compiler.DebugInfo.Event
- getName() - Method in class io.neow3j.compiler.DebugInfo.Method
- getName() - Method in class io.neow3j.compiler.NeoMethod
-
Gets the name of this method.
- getName() - Method in class io.neow3j.compiler.NeoVariable
- getNefFile() - Method in class io.neow3j.compiler.CompilationUnit
- getNeoIdx() - Method in class io.neow3j.compiler.NeoContractVariable
- getNeoIndex() - Method in class io.neow3j.compiler.NeoVariable
- getNeoModule() - Method in class io.neow3j.compiler.CompilationUnit
- getNumberOfParams() - Method in class io.neow3j.compiler.NeoEvent
- getOpcode() - Method in enum io.neow3j.compiler.JVMOpcode
- getOpcode() - Method in class io.neow3j.compiler.NeoInstruction
-
Gets the opcode of this instruction.
- getOperand() - Method in class io.neow3j.compiler.NeoInstruction
-
Gets the operand of this instruction if it has one.
- getOperandPrefix() - Method in class io.neow3j.compiler.NeoInstruction
-
Gets the operand prefix of this instruction if it has one.
- getOwner() - Method in class io.neow3j.compiler.NeoContractVariable
- getOwnerClass() - Method in class io.neow3j.compiler.NeoMethod
- getParameterByJVMIndex(int) - Method in class io.neow3j.compiler.NeoMethod
-
Gets the parameter at the given index from this method in its JVM bytecode representation
- getParametersByNeoIndex() - Method in class io.neow3j.compiler.NeoMethod
-
Gets this method's parameters sorted by their index.
- getParams() - Method in class io.neow3j.compiler.DebugInfo.Event
- getParams() - Method in class io.neow3j.compiler.DebugInfo.Method
- getRange() - Method in class io.neow3j.compiler.DebugInfo.Method
- getReturnType() - Method in class io.neow3j.compiler.DebugInfo.Method
- getSequencePoints() - Method in class io.neow3j.compiler.DebugInfo.Method
- getSortedMethods() - Method in class io.neow3j.compiler.NeoModule
- getSourceContainers() - Method in class io.neow3j.compiler.sourcelookup.CompositeSourceContainer
-
Gets the source containers of this composite container.
- getSourceFile(ClassNode) - Method in class io.neow3j.compiler.CompilationUnit
-
Gets the source file corresponding to the given class if available in this compilation's source containers.
- getSourceMethodName() - Method in class io.neow3j.compiler.NeoMethod
-
Gets the name of the JVM method that this Neo method was derived from.
- getStartAddress() - Method in class io.neow3j.compiler.NeoMethod
-
Gets this methods start address.
- GETSTATIC - io.neow3j.compiler.JVMOpcode
- getStaticVariables() - Method in class io.neow3j.compiler.DebugInfo
- getStringAnnotationProperty(AnnotationNode, String) - Static method in class io.neow3j.compiler.AsmHelper
-
Gets the value of a string property with
propertyNameon the given annotation. - getVariableByJVMIndex(int) - Method in class io.neow3j.compiler.NeoMethod
-
Gets the variable at the given index from this method in its JVM bytecode representation
- getVariableId(ClassNode, FieldNode) - Static method in class io.neow3j.compiler.NeoContractVariable
- getVariables() - Method in class io.neow3j.compiler.DebugInfo.Method
- getVariablesByNeoIndex() - Method in class io.neow3j.compiler.NeoMethod
-
Gets this method's variables sorted by their index.
- GOTO - io.neow3j.compiler.JVMOpcode
- GOTO_W - io.neow3j.compiler.JVMOpcode
H
- handleInsn(AbstractInsnNode, NeoMethod, CompilationUnit) - Static method in class io.neow3j.compiler.Compiler
-
Handles and/or converts the given instructions.
- handleInvoke(AbstractInsnNode, NeoMethod, CompilationUnit) - Static method in class io.neow3j.compiler.converters.MethodsConverter
-
Handles all INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC instructions.
- handleNew(AbstractInsnNode, NeoMethod, CompilationUnit) - Static method in class io.neow3j.compiler.converters.ObjectsConverter
- handleNewStruct(AbstractInsnNode, NeoMethod, CompilationUnit) - Static method in class io.neow3j.compiler.converters.ObjectsConverter
- hasAnnotations(ClassNode, Class<?>...) - Static method in class io.neow3j.compiler.AsmHelper
-
Checks if the given
ClassNodehas any of the given annotations. - hasAnnotations(MethodNode, Class<?>...) - Static method in class io.neow3j.compiler.AsmHelper
-
Checks if the given method has one or more of the given annotations.
- hasMethod(String) - Method in class io.neow3j.compiler.NeoModule
I
- I2B - io.neow3j.compiler.JVMOpcode
- I2C - io.neow3j.compiler.JVMOpcode
- I2D - io.neow3j.compiler.JVMOpcode
- I2F - io.neow3j.compiler.JVMOpcode
- I2L - io.neow3j.compiler.JVMOpcode
- I2S - io.neow3j.compiler.JVMOpcode
- IADD - io.neow3j.compiler.JVMOpcode
- IALOAD - io.neow3j.compiler.JVMOpcode
- IAND - io.neow3j.compiler.JVMOpcode
- IASTORE - io.neow3j.compiler.JVMOpcode
- ICONST_0 - io.neow3j.compiler.JVMOpcode
- ICONST_1 - io.neow3j.compiler.JVMOpcode
- ICONST_2 - io.neow3j.compiler.JVMOpcode
- ICONST_3 - io.neow3j.compiler.JVMOpcode
- ICONST_4 - io.neow3j.compiler.JVMOpcode
- ICONST_5 - io.neow3j.compiler.JVMOpcode
- ICONST_M1 - io.neow3j.compiler.JVMOpcode
- IDIV - io.neow3j.compiler.JVMOpcode
- IF_ACMPEQ - io.neow3j.compiler.JVMOpcode
- IF_ACMPNE - io.neow3j.compiler.JVMOpcode
- IF_ICMPEQ - io.neow3j.compiler.JVMOpcode
- IF_ICMPGE - io.neow3j.compiler.JVMOpcode
- IF_ICMPGT - io.neow3j.compiler.JVMOpcode
- IF_ICMPLE - io.neow3j.compiler.JVMOpcode
- IF_ICMPLT - io.neow3j.compiler.JVMOpcode
- IF_ICMPNE - io.neow3j.compiler.JVMOpcode
- IFEQ - io.neow3j.compiler.JVMOpcode
- IFGE - io.neow3j.compiler.JVMOpcode
- IFGT - io.neow3j.compiler.JVMOpcode
- IFLE - io.neow3j.compiler.JVMOpcode
- IFLT - io.neow3j.compiler.JVMOpcode
- IFNE - io.neow3j.compiler.JVMOpcode
- IFNONNULL - io.neow3j.compiler.JVMOpcode
- IFNULL - io.neow3j.compiler.JVMOpcode
- IINC - io.neow3j.compiler.JVMOpcode
- ILOAD - io.neow3j.compiler.JVMOpcode
- ILOAD_0 - io.neow3j.compiler.JVMOpcode
- ILOAD_1 - io.neow3j.compiler.JVMOpcode
- ILOAD_2 - io.neow3j.compiler.JVMOpcode
- ILOAD_3 - io.neow3j.compiler.JVMOpcode
- IMUL - io.neow3j.compiler.JVMOpcode
- INEG - io.neow3j.compiler.JVMOpcode
- initialize(CompilationUnit) - Method in class io.neow3j.compiler.InitsslotNeoMethod
- initialize(CompilationUnit) - Method in class io.neow3j.compiler.NeoMethod
- InitsslotNeoMethod - Class in io.neow3j.compiler
- InitsslotNeoMethod(MethodNode, ClassNode, CompilationUnit) - Constructor for class io.neow3j.compiler.InitsslotNeoMethod
-
Constructs a new INITSSLOT method.
- insertTryCatchBlocks() - Method in class io.neow3j.compiler.NeoMethod
- INSN_ANNOTATION_INTEROPSERVICE - Static variable in class io.neow3j.compiler.Compiler
- INSN_ANNOTATION_OPCODE - Static variable in class io.neow3j.compiler.Compiler
- INSN_ANNOTATION_OPERAND - Static variable in class io.neow3j.compiler.Compiler
- INSN_ANNOTATION_OPERAND_PREFIX - Static variable in class io.neow3j.compiler.Compiler
- INSTANCE_CTOR - Static variable in class io.neow3j.compiler.Compiler
- INSTANCEOF - io.neow3j.compiler.JVMOpcode
- INVOKEDYNAMIC - io.neow3j.compiler.JVMOpcode
- INVOKEINTERFACE - io.neow3j.compiler.JVMOpcode
- INVOKESPECIAL - io.neow3j.compiler.JVMOpcode
- INVOKESTATIC - io.neow3j.compiler.JVMOpcode
- INVOKEVIRTUAL - io.neow3j.compiler.JVMOpcode
- io.neow3j.compiler - package io.neow3j.compiler
- io.neow3j.compiler.converters - package io.neow3j.compiler.converters
- io.neow3j.compiler.sourcelookup - package io.neow3j.compiler.sourcelookup
- IOR - io.neow3j.compiler.JVMOpcode
- IREM - io.neow3j.compiler.JVMOpcode
- IRETURN - io.neow3j.compiler.JVMOpcode
- isAbiMethod() - Method in class io.neow3j.compiler.NeoMethod
-
Checks if this method should show up in the ABI, i.e., is public and directly invocable from outside the smart contract.
- isAssertionDisabledStaticField(AbstractInsnNode) - Static method in class io.neow3j.compiler.Compiler
- isCallToCtor(AbstractInsnNode, String) - Static method in class io.neow3j.compiler.Compiler
-
Checks if the given instruction is a call to the given class' constructor (i.e.,
<init>). - isEvent(String, CompilationUnit) - Static method in class io.neow3j.compiler.Compiler
-
Checks if the given class descriptor belongs to an event class.
- ISHL - io.neow3j.compiler.JVMOpcode
- ISHR - io.neow3j.compiler.JVMOpcode
- ISourceContainer - Interface in io.neow3j.compiler.sourcelookup
- isStringLiteralConverter(MethodNode, ClassNode) - Static method in class io.neow3j.compiler.converters.MethodsConverter
- ISTORE - io.neow3j.compiler.JVMOpcode
- ISTORE_0 - io.neow3j.compiler.JVMOpcode
- ISTORE_1 - io.neow3j.compiler.JVMOpcode
- ISTORE_2 - io.neow3j.compiler.JVMOpcode
- ISTORE_3 - io.neow3j.compiler.JVMOpcode
- ISUB - io.neow3j.compiler.JVMOpcode
- isVerifyMethod() - Method in class io.neow3j.compiler.NeoMethod
- IUSHR - io.neow3j.compiler.JVMOpcode
- IXOR - io.neow3j.compiler.JVMOpcode
J
- JSR - io.neow3j.compiler.JVMOpcode
- JSR_W - io.neow3j.compiler.JVMOpcode
- JumpsConverter - Class in io.neow3j.compiler.converters
- JumpsConverter() - Constructor for class io.neow3j.compiler.converters.JumpsConverter
- JVMOpcode - Enum in io.neow3j.compiler
-
Contains all opcodes from the JVM instruction set as documented in the Java Virtual Machine Specification Java SE 8 Edition, which can be found here in chapter 6.
- JVMOpcode.Kind - Enum in io.neow3j.compiler
L
- L2D - io.neow3j.compiler.JVMOpcode
- L2F - io.neow3j.compiler.JVMOpcode
- L2I - io.neow3j.compiler.JVMOpcode
- LADD - io.neow3j.compiler.JVMOpcode
- LALOAD - io.neow3j.compiler.JVMOpcode
- LAND - io.neow3j.compiler.JVMOpcode
- LASTORE - io.neow3j.compiler.JVMOpcode
- LCMP - io.neow3j.compiler.JVMOpcode
- LCONST_0 - io.neow3j.compiler.JVMOpcode
- LCONST_1 - io.neow3j.compiler.JVMOpcode
- LDC - io.neow3j.compiler.JVMOpcode
- LDC_W - io.neow3j.compiler.JVMOpcode
- LDC2_W - io.neow3j.compiler.JVMOpcode
- LDIV - io.neow3j.compiler.JVMOpcode
- length - Variable in enum io.neow3j.compiler.JVMOpcode.Kind
- LLOAD - io.neow3j.compiler.JVMOpcode
- LLOAD_0 - io.neow3j.compiler.JVMOpcode
- LLOAD_1 - io.neow3j.compiler.JVMOpcode
- LLOAD_2 - io.neow3j.compiler.JVMOpcode
- LLOAD_3 - io.neow3j.compiler.JVMOpcode
- LMUL - io.neow3j.compiler.JVMOpcode
- LNEG - io.neow3j.compiler.JVMOpcode
- LOCAL - io.neow3j.compiler.JVMOpcode.Kind
- LOCAL_BYTE - io.neow3j.compiler.JVMOpcode.Kind
- LocalVariableHelper - Class in io.neow3j.compiler
- LocalVariableHelper() - Constructor for class io.neow3j.compiler.LocalVariableHelper
- LocalVariablesConverter - Class in io.neow3j.compiler.converters
- LocalVariablesConverter() - Constructor for class io.neow3j.compiler.converters.LocalVariablesConverter
- LOOKUPSWITCH - io.neow3j.compiler.JVMOpcode
- LOR - io.neow3j.compiler.JVMOpcode
- LREM - io.neow3j.compiler.JVMOpcode
- LRETURN - io.neow3j.compiler.JVMOpcode
- LSHL - io.neow3j.compiler.JVMOpcode
- LSHR - io.neow3j.compiler.JVMOpcode
- LSTORE - io.neow3j.compiler.JVMOpcode
- LSTORE_0 - io.neow3j.compiler.JVMOpcode
- LSTORE_1 - io.neow3j.compiler.JVMOpcode
- LSTORE_2 - io.neow3j.compiler.JVMOpcode
- LSTORE_3 - io.neow3j.compiler.JVMOpcode
- LSUB - io.neow3j.compiler.JVMOpcode
- LUSHR - io.neow3j.compiler.JVMOpcode
- LXOR - io.neow3j.compiler.JVMOpcode
M
- ManifestBuilder - Class in io.neow3j.compiler
-
Contains all functionality required to build a contract manifest from a compilation unit.
- ManifestBuilder() - Constructor for class io.neow3j.compiler.ManifestBuilder
- mapTypeToParameterType(Type) - Static method in class io.neow3j.compiler.Compiler
- mapTypeToStackItemType(Type) - Static method in class io.neow3j.compiler.Compiler
-
Maps the given Java type to the corresponding neo-vm stack item type.
- MAX_LOCAL_VARIABLES - Static variable in class io.neow3j.compiler.Compiler
- MAX_PARAMS_COUNT - Static variable in class io.neow3j.compiler.Compiler
- MAX_STATIC_FIELDS - Static variable in class io.neow3j.compiler.Compiler
- Method() - Constructor for class io.neow3j.compiler.DebugInfo.Method
- Method(String, String, String, List<String>, String, List<String>, List<String>) - Constructor for class io.neow3j.compiler.DebugInfo.Method
- MethodsConverter - Class in io.neow3j.compiler.converters
- MethodsConverter() - Constructor for class io.neow3j.compiler.converters.MethodsConverter
- MiscConverter - Class in io.neow3j.compiler.converters
- MiscConverter() - Constructor for class io.neow3j.compiler.converters.MiscConverter
- MONITORENTER - io.neow3j.compiler.JVMOpcode
- MONITOREXIT - io.neow3j.compiler.JVMOpcode
- MULTIANEWARRAY - io.neow3j.compiler.JVMOpcode
N
- NeoContractVariable - Class in io.neow3j.compiler
-
Represents a static field variable, also called a contract variable.
- NeoContractVariable(FieldNode, ClassNode, int) - Constructor for class io.neow3j.compiler.NeoContractVariable
- NeoEvent - Class in io.neow3j.compiler
- NeoEvent(FieldNode, ClassNode) - Constructor for class io.neow3j.compiler.NeoEvent
- NeoInstruction - Class in io.neow3j.compiler
-
Represents a single NeoVM opcode and possible operands that belong to the opcode.
- NeoInstruction(OpCode) - Constructor for class io.neow3j.compiler.NeoInstruction
-
Constructs a new instruction with the given opcode and an empty operand.
- NeoInstruction(OpCode, byte[]) - Constructor for class io.neow3j.compiler.NeoInstruction
-
Constructs a new instruction with the given opcode and operand.
- NeoInstruction(OpCode, byte[], byte[]) - Constructor for class io.neow3j.compiler.NeoInstruction
-
Constructs a new instruction with the given opcode, operand prefix, and operand.
- NeoJumpInstruction - Class in io.neow3j.compiler
- NeoJumpInstruction(OpCode, byte[]) - Constructor for class io.neow3j.compiler.NeoJumpInstruction
- NeoJumpInstruction(OpCode, Label) - Constructor for class io.neow3j.compiler.NeoJumpInstruction
- NeoMethod - Class in io.neow3j.compiler
-
Represents a method in a NeoVM script.
- NeoMethod(MethodNode, ClassNode) - Constructor for class io.neow3j.compiler.NeoMethod
-
Constructs a new Neo method.
- NeoModule - Class in io.neow3j.compiler
- NeoModule() - Constructor for class io.neow3j.compiler.NeoModule
- NeoTryInstruction - Class in io.neow3j.compiler
- NeoTryInstruction(Label, Label) - Constructor for class io.neow3j.compiler.NeoTryInstruction
- NeoVariable - Class in io.neow3j.compiler
-
A representation for variables, e.g., method-local variables and method parameters.
- NEW - io.neow3j.compiler.JVMOpcode
- NEWARRAY - io.neow3j.compiler.JVMOpcode
- NO_OPERANDS - io.neow3j.compiler.JVMOpcode.Kind
- NOP - io.neow3j.compiler.JVMOpcode
O
- ObjectsConverter - Class in io.neow3j.compiler.converters
- ObjectsConverter() - Constructor for class io.neow3j.compiler.converters.ObjectsConverter
P
- POP - io.neow3j.compiler.JVMOpcode
- POP2 - io.neow3j.compiler.JVMOpcode
- PRIMITIVE_TYPE_NAMES - Static variable in class io.neow3j.compiler.AsmHelper
- printJVMInstructions(InputStream) - Static method in class io.neow3j.compiler.AsmHelper
-
Prints the instructions of the given class input stream.
- printJVMInstructions(String) - Static method in class io.neow3j.compiler.AsmHelper
-
Prints the JVM instructions for the given class.
- processInstructionAnnotations(MethodNode, NeoMethod) - Static method in class io.neow3j.compiler.Compiler
-
Checks if the
calleehas theInstructionorInstruction.Instructionsannotation and, if yes, processes it. - PUTFIELD - io.neow3j.compiler.JVMOpcode
- PUTSTATIC - io.neow3j.compiler.JVMOpcode
R
- removeLastInstruction() - Method in class io.neow3j.compiler.NeoMethod
-
Removes the last instruction from this method.
- replaceLastInstruction(NeoInstruction) - Method in class io.neow3j.compiler.NeoMethod
-
Replaces the last instruction on this method with the given one.
- RET - io.neow3j.compiler.JVMOpcode
- RETURN - io.neow3j.compiler.JVMOpcode
S
- SALOAD - io.neow3j.compiler.JVMOpcode
- SASTORE - io.neow3j.compiler.JVMOpcode
- setAddress(int) - Method in class io.neow3j.compiler.NeoInstruction
- setClassLoader(ClassLoader) - Method in class io.neow3j.compiler.CompilationUnit
- setContractClass(ClassNode) - Method in class io.neow3j.compiler.CompilationUnit
-
Adds the given
ClassNodeto the list of classes that form the smart contract. - setCurrentLabel(Label) - Method in class io.neow3j.compiler.NeoMethod
- setCurrentLine(int) - Method in class io.neow3j.compiler.NeoMethod
-
Set the current line of this meethod to the given number.
- setDebugInfo(DebugInfo) - Method in class io.neow3j.compiler.CompilationUnit
- setExtra(Object) - Method in class io.neow3j.compiler.NeoInstruction
-
Sets the given object as extra information on this instruction.
- setIsAbiMethod(boolean) - Method in class io.neow3j.compiler.NeoMethod
- setManifest(ContractManifest) - Method in class io.neow3j.compiler.CompilationUnit
- setName(String) - Method in class io.neow3j.compiler.NeoMethod
-
Sets this method's name to the given string.
- setNef(NefFile) - Method in class io.neow3j.compiler.CompilationUnit
- setOpcode(OpCode) - Method in class io.neow3j.compiler.NeoInstruction
- setOperand(byte[]) - Method in class io.neow3j.compiler.NeoInstruction
-
Sets the given operand on this instruction.
- setOperand(byte[], byte[]) - Method in class io.neow3j.compiler.NeoInstruction
-
Sets the given operand on this instruction.
- setStartAddress(int) - Method in class io.neow3j.compiler.NeoMethod
-
Sets the given start address on this method.
- SHORT - io.neow3j.compiler.JVMOpcode.Kind
- SIPUSH - io.neow3j.compiler.JVMOpcode
- skipToCtorCall(AbstractInsnNode, ClassNode) - Static method in class io.neow3j.compiler.Compiler
-
Skips instructions, starting at the given one, until the constructor call to the given class is reached.
- skipToSuperCtorCall(MethodNode, ClassNode) - Static method in class io.neow3j.compiler.Compiler
-
Skips instructions in the given constructor method up to the super constructor call.
- StackManipulationConverter - Class in io.neow3j.compiler.converters
- StackManipulationConverter() - Constructor for class io.neow3j.compiler.converters.StackManipulationConverter
- stripObjectDescriptor(String) - Static method in class io.neow3j.compiler.AsmHelper
-
Strips the given object descriptor of the starting 'L' and ending ';' characters if they are present.
- SuperNeoMethod - Class in io.neow3j.compiler
-
Represents a method in a NeoVM script that handles the inheritance conversion of structs.
- SuperNeoMethod(MethodNode, ClassNode) - Constructor for class io.neow3j.compiler.SuperNeoMethod
-
Constructs a new
SuperNeoMethod. - SWAP - io.neow3j.compiler.JVMOpcode
T
- TABLESWITCH - io.neow3j.compiler.JVMOpcode
- THIS_KEYWORD - Static variable in class io.neow3j.compiler.Compiler
- toByteArray() - Method in class io.neow3j.compiler.NeoInstruction
-
Produces a consecutive array of bytes of this instruction's opcode and operands.
- toByteArray() - Method in class io.neow3j.compiler.NeoMethod
-
Serializes this method to a byte array, by serializing all its instructions ordered by instruction address.
- toString() - Method in class io.neow3j.compiler.NeoInstruction
U
- UNKNOWN - io.neow3j.compiler.JVMOpcode.Kind
V
- valueOf(String) - Static method in enum io.neow3j.compiler.JVMOpcode.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.neow3j.compiler.JVMOpcode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.neow3j.compiler.JVMOpcode.Kind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.neow3j.compiler.JVMOpcode
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WIDE - io.neow3j.compiler.JVMOpcode
- WIDE_CPREF_W - io.neow3j.compiler.JVMOpcode.Kind
- WIDE_CPREF_W_SHORT - io.neow3j.compiler.JVMOpcode.Kind
- WIDE_LOCAL - io.neow3j.compiler.JVMOpcode.Kind
- WIDE_LOCAL_SHORT - io.neow3j.compiler.JVMOpcode.Kind
- WIDE_NO_OPERANDS - io.neow3j.compiler.JVMOpcode.Kind
All Classes All Packages