Package com.strobel.reflection.emit
Class ScopeTree
- java.lang.Object
-
- com.strobel.reflection.emit.ScopeTree
-
final class ScopeTree extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int_count(package private) LocalSymInfo[]_localSymInfos(package private) int[]_offsets(package private) int_openScopeCount(package private) ScopeAction[]_scopeActions(package private) static intInitialSize
-
Constructor Summary
Constructors Constructor Description ScopeTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddLocalSymInfoToCurrentScope(java.lang.String name, byte[] signature, int slot, int startOffset, int endOffset)(package private) voidaddPackageImportToCurrentScope(java.lang.String packageName)(package private) voidaddScopeInfo(ScopeAction action, int offset)(package private) voidensureCapacity()Helper to ensure arrays are large enough(package private) intgetCurrentActiveScopeIndex()
-
-
-
Field Detail
-
_offsets
int[] _offsets
-
_scopeActions
ScopeAction[] _scopeActions
-
_count
int _count
-
_openScopeCount
int _openScopeCount
-
_localSymInfos
LocalSymInfo[] _localSymInfos
-
InitialSize
static final int InitialSize
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCurrentActiveScopeIndex
int getCurrentActiveScopeIndex()
-
addLocalSymInfoToCurrentScope
void addLocalSymInfoToCurrentScope(java.lang.String name, byte[] signature, int slot, int startOffset, int endOffset)
-
addPackageImportToCurrentScope
void addPackageImportToCurrentScope(java.lang.String packageName)
-
addScopeInfo
void addScopeInfo(ScopeAction action, int offset)
-
ensureCapacity
void ensureCapacity()
Helper to ensure arrays are large enough
-
-