Class CompilationResult

    • Constructor Detail

      • CompilationResult

        protected CompilationResult​(java.lang.Class<? extends Linker> linkerType)
    • Method Detail

      • getJavaScript

        public abstract java.lang.String[] getJavaScript()
        Returns the JavaScript compilation. The first element of the array contains the code that should be run when the application starts up. The remaining elements are loaded via GWT.runAsync. See AsyncFragmentLoader for details on the necessary linker support for runAsync.
      • getPermutationId

        public abstract int getPermutationId()
        Returns the permutation ID.
      • getPropertyMap

        public abstract java.util.SortedSet<java.util.SortedMap<SelectionProperty,​java.lang.String>> getPropertyMap()
        Provides values for SelectionProperty instances that are not explicitly set during the compilation phase. This method will return multiple mappings, one for each permutation that resulted in the compilation.
      • getSoftPermutations

        public abstract SoftPermutation[] getSoftPermutations()
        Returns the permutations of the collapsed deferred-binding property values that are compiled into the CompilationResult.
      • getStatementRanges

        public StatementRanges[] getStatementRanges()
        Returns the statement ranges for the JavaScript returned by getJavaScript(). Some subclasses return null, in which case there is no statement range information available.
      • getStrongName

        public abstract java.lang.String getStrongName()
        Return a string that uniquely identifies this compilation result. Typically this is a cryptographic hash of the compiled data.
      • getSymbolMap

        public abstract SymbolData[] getSymbolMap()
        Returns a sorted array of obfuscated symbol names in the compilation to metadata about the symbol. This data can allow for on-the-fly deobfuscation of stack trace information or to allow server components to have in-depth knowledge of the runtime structure of compiled objects.