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 int
InitialSize
-
Constructor Summary
Constructors Constructor Description ScopeTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addLocalSymInfoToCurrentScope(java.lang.String name, byte[] signature, int slot, int startOffset, int endOffset)
(package private) void
addPackageImportToCurrentScope(java.lang.String packageName)
(package private) void
addScopeInfo(ScopeAction action, int offset)
(package private) void
ensureCapacity()
Helper to ensure arrays are large enough(package private) int
getCurrentActiveScopeIndex()
-
-
-
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
-
-