Class ScopeTree

java.lang.Object
com.strobel.reflection.emit.ScopeTree

final class ScopeTree extends Object
  • Field Details

    • _offsets

      int[] _offsets
    • _scopeActions

      ScopeAction[] _scopeActions
    • _count

      int _count
    • _openScopeCount

      int _openScopeCount
    • _localSymInfos

      LocalSymInfo[] _localSymInfos
    • InitialSize

      static final int InitialSize
      See Also:
  • Constructor Details

    • ScopeTree

      ScopeTree()
  • Method Details

    • getCurrentActiveScopeIndex

      int getCurrentActiveScopeIndex()
    • addLocalSymInfoToCurrentScope

      void addLocalSymInfoToCurrentScope(String name, byte[] signature, int slot, int startOffset, int endOffset)
    • addPackageImportToCurrentScope

      void addPackageImportToCurrentScope(String packageName)
    • addScopeInfo

      void addScopeInfo(ScopeAction action, int offset)
    • ensureCapacity

      void ensureCapacity()
      Helper to ensure arrays are large enough