Package com.strobel.reflection.emit
Class ScopeTree
java.lang.Object
com.strobel.reflection.emit.ScopeTree
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) LocalSymInfo[]
(package private) int[]
(package private) int
(package private) ScopeAction[]
(package private) static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
addLocalSymInfoToCurrentScope
(String name, byte[] signature, int slot, int startOffset, int endOffset) (package private) void
addPackageImportToCurrentScope
(String packageName) (package private) void
addScopeInfo
(ScopeAction action, int offset) (package private) void
Helper to ensure arrays are large enough(package private) int
-
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
-
addScopeInfo
-
ensureCapacity
void ensureCapacity()Helper to ensure arrays are large enough
-