Class ModuleInfo


  • public final class ModuleInfo
    extends java.lang.Object
    • Constructor Detail

      • ModuleInfo

        public ModuleInfo​(com.oracle.truffle.api.source.SourceSection sourceSection,
                          com.oracle.truffle.api.source.SourceSection headerSection,
                          @Nullable com.oracle.truffle.api.source.SourceSection docComment,
                          java.lang.String moduleName,
                          ModuleKey moduleKey,
                          ResolvedModuleKey resolvedModuleKey,
                          boolean isAmend)
    • Method Detail

      • initAnnotations

        public void initAnnotations​(java.util.List<VmTyped> annotations)
      • getAnnotations

        public java.util.List<VmTyped> getAnnotations()
      • getSourceSection

        public com.oracle.truffle.api.source.SourceSection getSourceSection()
      • getHeaderSection

        public com.oracle.truffle.api.source.SourceSection getHeaderSection()
      • getDocComment

        public @Nullable com.oracle.truffle.api.source.SourceSection getDocComment()
      • getModuleName

        public java.lang.String getModuleName()
      • getModuleKey

        public ModuleKey getModuleKey()
      • isAmend

        public boolean isAmend()
        Tells whether this module amends another module.