Package io.neow3j.compiler.sourcelookup
Class CompositeSourceContainer
- java.lang.Object
-
- io.neow3j.compiler.sourcelookup.CompositeSourceContainer
-
- All Implemented Interfaces:
ISourceContainer
- Direct Known Subclasses:
DirectorySourceContainer
public abstract class CompositeSourceContainer extends java.lang.Object implements ISourceContainer
A source container consisting of multiple other containers.Subclasses need to implement
createSourceContainers()where they create the containers that this composite container is made up of.
-
-
Constructor Summary
Constructors Constructor Description CompositeSourceContainer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.util.List<ISourceContainer>createSourceContainers()Creates the source containers of this composite container.java.util.List<ISourceContainer>getSourceContainers()Gets the source containers of this composite container.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.neow3j.compiler.sourcelookup.ISourceContainer
findSourceFile
-
-
-
-
Method Detail
-
getSourceContainers
public java.util.List<ISourceContainer> getSourceContainers()
Gets the source containers of this composite container.- Returns:
- the list of source containers.
-
createSourceContainers
protected abstract java.util.List<ISourceContainer> createSourceContainers()
Creates the source containers of this composite container.- Returns:
- the list of source containers.
-
-