Serialized Form
-
Package sc.bind
-
Class sc.bind.BindingLoopException extends java.lang.RuntimeException implements Serializable
-
Serialized Fields
-
recurseFrames
java.util.ArrayList<Bind.BindFrame> recurseFrames
-
-
-
-
Package sc.db
-
Class sc.db.DBList extends java.util.ArrayList<E extends IDBObject> implements Serializable
-
Serialized Fields
-
dbObject
DBObject dbObject
-
listProp
DBPropertyDescriptor listProp
-
refIds
java.util.ArrayList<java.lang.Object> refIds
For associations, if we know the id but don't know the type yet, this list parallels the underlying list storing the refId -
trackingChanges
boolean trackingChanges
-
-
-
Class sc.db.StaleDataException extends java.lang.RuntimeException implements Serializable
-
-
Package sc.lang
-
Class sc.lang.DynEnumConstant extends DynObject implements Serializable
-
Class sc.lang.DynObject extends java.lang.Object implements Serializable
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
writeObject
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
-
-
Class sc.lang.SemanticNodeList extends java.util.ArrayList<E> implements Serializable
-
-
Package sc.lang.java
-
Class sc.lang.java.CycleInfo extends java.util.IdentityHashMap<JavaSemanticNode,java.util.List<CycleInfo.CycleEntry>> implements Serializable
-
Serialized Fields
-
context
CycleInfo.ThisContext context
When we traverse an "a.b" reference, we set the qualifier to "a". If we detect a cycle, but the qualifiers do not match, it is only a warning -
cycle
java.util.ArrayList<JavaSemanticNode> cycle
-
start
JavaSemanticNode start
-
-
-
Class sc.lang.java.RuntimeInvocationTargetException extends java.lang.RuntimeException implements Serializable
-
Serialized Fields
-
wrappedException
java.lang.Throwable wrappedException
-
-
-
-
Package sc.lang.js
-
Class sc.lang.js.JSRuntimeProcessor extends DefaultRuntimeProcessor implements Serializable
-
Serialized Fields
-
classPrefix
java.lang.String classPrefix
Used to generate the JS code snippet to prefix all class-based type references -
compileJavaFiles
boolean compileJavaFiles
In addition to generating Javascript should we also compile the equivalent Java files? Though it takes longer, the Java compiler performs more error detection. Also to generate the initial .html files (when just running the client layers, not using a server), you need the .java files there and compiled so we can use them to evaluate the template. -
disableModules
boolean disableModules
Set this option to true to generate one big file from your entry points that includes only the classes you use. -
errorFiles
java.util.ArrayList<SrcEntry> errorFiles
-
evalTemplate
Template evalTemplate
-
evalTemplateName
java.lang.String evalTemplateName
The syncMergeTemplate, updateMergeTemplates and evalTemplates are used when sending incremental changes during the sync process, type update, or eval expression processes (respectively) -
excludeCompilePackages
java.util.Set<java.lang.String> excludeCompilePackages
-
genJSPrefix
java.lang.String genJSPrefix
The prefix for generated individual .js files like Java "one-class-per-file". This is a normalized path name for portability -
instanceTemplate
java.lang.String instanceTemplate
Used to generate the JS code snippet to instantiate a type, to implement MainInit -
javaSysLib
java.lang.String javaSysLib
-
jsCoreLib
java.lang.String jsCoreLib
-
mainTemplate
java.lang.String mainTemplate
-
scLib
java.lang.String scLib
-
srcPathType
java.lang.String srcPathType
-
syncMergeTemplate
Template syncMergeTemplate
-
syncMergeTemplateName
java.lang.String syncMergeTemplateName
The syncMergeTemplate, updateMergeTemplates and evalTemplates are used when sending incremental changes during the sync process, type update, or eval expression processes (respectively) -
templatePrefix
java.lang.String templatePrefix
-
typeInitTemplate
java.lang.String typeInitTemplate
-
typeNameSuffix
java.lang.String typeNameSuffix
-
typeTemplate
Template typeTemplate
-
typeTemplateName
java.lang.String typeTemplateName
-
updateMergeTemplate
Template updateMergeTemplate
-
updateMergeTemplateName
java.lang.String updateMergeTemplateName
The syncMergeTemplate, updateMergeTemplates and evalTemplates are used when sending incremental changes during the sync process, type update, or eval expression processes (respectively) -
useShortTypeNames
boolean useShortTypeNames
Use _c (or typeNameSuffix) as a variable for each type def to avoid reusing the type name for every method and field (smaller JS files but this hurts stack traces and code readability) -
verboseJS
boolean verboseJS
Additional debug messages for JS
-
-
-
Class sc.lang.js.JSRuntimeProcessor.JSBuildInfo extends java.lang.Object implements Serializable
-
Serialized Fields
-
aliasedPackages
java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> aliasedPackages
Used to implement mappings so you can replace one package source in the java/compiled world with another during the JS environment - e.g. how we substitute in the JS version of the binding code -
entryPoints
java.util.LinkedHashMap<sc.lang.js.JSRuntimeProcessor.EntryPoint,sc.lang.js.JSRuntimeProcessor.EntryPoint> entryPoints
Entry points are used to gather only the necessary types for a JS mainInit type, standard Java main method, or a jsModuleFile annotation. Each of these types bootstraps the code generation process. Each is added to the JS file specified for that entry point (via annotations or using defaults) Since each type then recursively adds its dependent types as needed each file is generated in the right order - so dependent types are defined before they are used. Dependencies are collected and the list of files sorted. Any conflicts detected are displayed. -
jsFiles
java.util.ArrayList<java.lang.String> jsFiles
All javascript files - both libraries and generated -
jsGenFiles
java.util.HashMap<java.lang.String,JSRuntimeProcessor.JSGenFile> jsGenFiles
Just library generated files -
jsLibFiles
java.util.HashSet<java.lang.String> jsLibFiles
Just library javascript files -
jsLibFilesForType
java.util.HashMap<java.lang.String,java.lang.String> jsLibFilesForType
Cached jsLibFiles for a given type name -
jsModuleNames
java.util.HashMap<java.lang.String,java.lang.String> jsModuleNames
Cached jsModuleFile for a given type name -
jsTypeInfo
java.util.HashMap<java.lang.String,JSRuntimeProcessor.JSTypeInfo> jsTypeInfo
Map from Java type names to JSTypeInfo for that type -
jsTypeInfoByJS
java.util.HashMap<java.lang.String,JSRuntimeProcessor.JSTypeInfo> jsTypeInfoByJS
Map from JS type names to JSTypeInfo for that type -
prefixAliases
java.util.HashMap<java.lang.String,java.lang.String> prefixAliases
-
replaceNativeTypes
java.util.HashMap<java.lang.String,java.lang.String> replaceNativeTypes
Like replaceTypes but for types where there's no _c variant for types -
replaceTypes
java.util.HashMap<java.lang.String,java.lang.String> replaceTypes
Map from Java full type name to the JS type name to use -
typeAliases
java.util.HashMap<java.lang.String,java.util.List<java.lang.String>> typeAliases
The inverse of replaceTypes - the list of Java types registered for a given JS type -
typeDeps
java.util.HashSet<sc.lang.js.JSRuntimeProcessor.JSFileDep> typeDeps
Maintains the dependencies between the JS files. Used to figure out when we have cyclic references and to order the includes -
typeDepsByType
java.util.HashMap<java.lang.String,java.util.List<sc.lang.js.JSRuntimeProcessor.JSFileDep>> typeDepsByType
-
-
-
Class sc.lang.js.JSRuntimeProcessor.JSGenFile extends JSRuntimeProcessor.JSLayerable implements Serializable
-
Class sc.lang.js.JSRuntimeProcessor.JSLayerable extends java.lang.Object implements Serializable
-
Serialized Fields
-
fromLayerName
java.lang.String fromLayerName
-
toLayerName
java.lang.String toLayerName
-
-
-
Class sc.lang.js.JSRuntimeProcessor.JSTypeInfo extends JSRuntimeProcessor.JSLayerable implements Serializable
-
Serialized Fields
-
execJS
boolean execJS
-
hasLibFile
boolean hasLibFile
-
jsModuleFile
java.lang.String jsModuleFile
-
needsClassInit
boolean needsClassInit
-
typesInSameFile
java.util.LinkedHashSet<java.lang.String> typesInSameFile
This stores the ordered set of types in the file of a given entry point - specifically, the ones we dragged in during the full compile. During an incremental compile, if this type has not changed, we'll include the same types as dependencies for this entry point.
-
-
-
-
Package sc.layer
-
Class sc.layer.BuildInfoData extends java.lang.Object implements Serializable
-
Serialized Fields
-
compiledTypes
java.util.Set<java.lang.String> compiledTypes
-
remoteMethodRuntimes
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> remoteMethodRuntimes
-
resetSyncTypeNames
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> resetSyncTypeNames
-
syncTypeNames
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> syncTypeNames
-
-
-
Class sc.layer.DefaultRuntimeProcessor extends java.lang.Object implements Serializable
-
Serialized Fields
-
destinationName
java.lang.String destinationName
Destination name you can use to talk to this runtime. (TODO: should this be a list?) -
loadClassesInRuntime
boolean loadClassesInRuntime
-
runtimeName
java.lang.String runtimeName
-
syncProcessNames
java.util.ArrayList<java.lang.String> syncProcessNames
-
syncRuntimes
java.util.ArrayList<IRuntimeProcessor> syncRuntimes
-
useContextClassLoader
boolean useContextClassLoader
-
useLocalSyncManager
boolean useLocalSyncManager
-
-
-
Class sc.layer.LayerOrderIndex extends java.lang.Object implements Serializable
-
Serialized Fields
-
disabledLayers
java.util.HashSet<java.lang.String> disabledLayers
-
excludedLayers
java.util.HashSet<java.lang.String> excludedLayers
-
inactiveLayerNames
java.util.ArrayList<java.lang.String> inactiveLayerNames
-
-
-
Class sc.layer.LayerTypeIndex extends java.lang.Object implements Serializable
-
Serialized Fields
-
annotationLayer
boolean annotationLayer
-
baseLayerNames
java.lang.String[] baseLayerNames
-
buildLayer
boolean buildLayer
-
buildSeparate
boolean buildSeparate
-
codeType
CodeType codeType
-
defaultModifier
java.lang.String defaultModifier
-
definedProcessName
java.lang.String definedProcessName
-
definedRuntimeName
java.lang.String definedRuntimeName
-
excludeProcesses
java.util.List<java.lang.String> excludeProcesses
-
excludeRuntimes
java.util.List<java.lang.String> excludeRuntimes
-
fileIndex
java.util.HashMap<java.lang.String,TypeIndexEntry> fileIndex
File name to the type index info we store for that file -
finalLayer
boolean finalLayer
-
hasDefinedProcess
boolean hasDefinedProcess
-
hasDefinedRuntime
boolean hasDefinedRuntime
-
includeProcesses
java.util.List<java.lang.String> includeProcesses
-
includeRuntimes
java.util.List<java.lang.String> includeRuntimes
-
langExtensions
java.lang.String[] langExtensions
-
layerBaseName
java.lang.String layerBaseName
-
layerDirName
java.lang.String layerDirName
-
layerPathName
java.lang.String layerPathName
-
layerTypeIndex
java.util.HashMap<java.lang.String,TypeIndexEntry> layerTypeIndex
Type name to the type index information we store for that type -
packagePrefix
java.lang.String packagePrefix
-
syncMode
SyncMode syncMode
-
topLevelSrcDirs
java.lang.String[] topLevelSrcDirs
-
-
-
Class sc.layer.MethodKey extends java.lang.Object implements Serializable
-
Serialized Fields
-
methodName
java.lang.String methodName
-
paramSig
java.lang.String paramSig
-
-
-
Class sc.layer.ProcessDefinition extends java.lang.Object implements Serializable
-
Serialized Fields
-
perProcessSync
boolean perProcessSync
-
processName
java.lang.String processName
-
syncProcessNames
java.util.List<java.lang.String> syncProcessNames
-
useContextClassLoader
boolean useContextClassLoader
-
-
-
Class sc.layer.ReverseDependencies extends java.lang.Object implements Serializable
-
Serialized Fields
-
bindableDeps
java.util.HashMap<java.lang.String,ReverseDependencies.PropertyDep[]> bindableDeps
Property name to type index code mapping for bindable properties -
dynMethods
java.util.HashMap<MethodKey,int[]> dynMethods
Stores the list of methods which need to be available to the dynamic runtime. The external type index will code-generation the 'invoke('name')' method dispatch logic -
typeCount
int typeCount
-
typeGroupDeps
java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> typeGroupDeps
Only created for files like web.xml which depend on the members of a given type group. When new members are added or removed, we need to regenerate the file -
typeIndex
java.util.HashMap<java.lang.Integer,java.lang.String> typeIndex
-
typeRegistry
java.util.HashMap<java.lang.String,java.lang.Integer> typeRegistry
Stores the type names as the key, the type count id as the value. Designed so multiple references from the same types are efficiently stored.
-
-
-
Class sc.layer.ReverseDependencies.PropertyDep extends java.lang.Object implements Serializable
-
Serialized Fields
-
refOnly
boolean refOnly
-
typeIndex
int typeIndex
-
-
-
Class sc.layer.SrcIndexEntry extends java.lang.Object implements Serializable
-
Serialized Fields
-
extension
java.lang.String extension
-
fileBytes
byte[] fileBytes
-
hash
byte[] hash
-
lastModified
long lastModified
-
layerName
java.lang.String layerName
Name of the layer containing the src file for this index entry
-
-
-
Class sc.layer.TypeIndexEntry extends java.lang.Object implements Serializable
-
Serialized Fields
-
baseTypes
java.util.List<java.lang.String> baseTypes
-
declType
DeclarationType declType
-
excluded
boolean excluded
-
fileName
java.lang.String fileName
-
isInnerType
boolean isInnerType
-
isLayerComponent
boolean isLayerComponent
-
isLayerType
boolean isLayerType
-
isModify
boolean isModify
-
lastModified
long lastModified
-
layerName
java.lang.String layerName
-
layerPosition
int layerPosition
-
processIdent
java.lang.String processIdent
-
typeName
java.lang.String typeName
-
-
-
-
Package sc.parser
-
Class sc.parser.GenFileLineIndex extends java.lang.Object implements Serializable
-
Serialized Fields
-
buildSrcDir
java.lang.String buildSrcDir
-
genFileName
java.lang.String genFileName
-
genLineMapping
IntStack genLineMapping
-
numLines
int numLines
-
srcFiles
java.util.ArrayList<GenFileLineIndex.SrcFileIndexEntry> srcFiles
-
srcFilesByName
java.util.TreeMap<java.lang.String,GenFileLineIndex.SrcFileIndexEntry> srcFilesByName
-
-
-
Class sc.parser.GenFileLineIndex.SrcFileIndexEntry extends java.lang.Object implements Serializable
-
Serialized Fields
-
absFileName
java.lang.String absFileName
-
id
int id
-
-
-
-
Package sc.repos
-
Class sc.repos.DependencyContext extends java.lang.Object implements Serializable
-
Serialized Fields
-
children
java.util.ArrayList<DependencyContext> children
-
depth
int depth
-
fromPkgURL
java.lang.String fromPkgURL
-
parent
DependencyContext parent
-
sourceInfo
java.lang.String sourceInfo
-
-
-
Class sc.repos.RepositoryPackage extends LayerComponent implements Serializable
- serialVersionUID:
- 7334042890983906329L
-
Serialized Fields
-
buildFromSrc
boolean buildFromSrc
Are we building it from src or download the compiled version? -
configPaths
java.lang.String[] configPaths
-
currentSource
RepositorySource currentSource
-
definesClasses
boolean definesClasses
Does this package define class files? -
definesSrc
boolean definesSrc
Does this package define src files? -
depPkgURLs
java.util.ArrayList<java.lang.String> depPkgURLs
-
fileNames
java.util.List<java.lang.String> fileNames
-
includeRuntime
boolean includeRuntime
-
includeTests
boolean includeTests
-
installed
boolean installed
-
installedRoot
java.lang.String installedRoot
-
installedTime
long installedTime
-
installError
java.lang.String installError
If an error occurred, the description of that error -
packageAlias
java.lang.String packageAlias
Lets you define a separate alias for this package -
packageName
java.lang.String packageName
A unique name of this package within the layered system -
parentPkgURL
java.lang.String parentPkgURL
Only set if this package is a module of another parent package -
sources
RepositorySource[] sources
List of possible sources for this package -
srcPaths
java.lang.String[] srcPaths
-
subPkgURLs
java.util.ArrayList<java.lang.String> subPkgURLs
-
testPaths
java.lang.String[] testPaths
-
type
java.lang.String type
-
unwrapZip
boolean unwrapZip
True if the name of the zip should be used to create a new directory for the contents -
unzip
boolean unzip
True if the download is a zip file that needs to be unpacked -
url
java.lang.String url
-
webPaths
java.lang.String[] webPaths
-
-
Class sc.repos.RepositorySource extends java.lang.Object implements Serializable
-
Serialized Fields
-
ctx
DependencyContext ctx
-
managerName
java.lang.String managerName
-
pkg
RepositoryPackage pkg
-
srcURL
java.lang.String srcURL
-
unwrapZip
boolean unwrapZip
Set this to true if we need to put the contents of the zip file in a directory with the same name as the base of the zip file (e.g. pgsql) -
unzip
boolean unzip
-
url
java.lang.String url
-
-
-
-
Package sc.repos.mvn
-
Class sc.repos.mvn.MvnDescriptor extends java.lang.Object implements Serializable
- serialVersionUID:
- 381740762128191325L
-
Serialized Fields
-
artifactId
java.lang.String artifactId
-
classifier
java.lang.String classifier
-
depsOnly
boolean depsOnly
-
exclusions
java.util.List<MvnDescriptor> exclusions
-
groupId
java.lang.String groupId
-
modulePath
java.lang.String modulePath
For sub-modules, this represents the path to the parent. There's a point where we only have the modulePath, before we've read the POM file. -
optional
boolean optional
-
parentPath
java.lang.String parentPath
-
pomOnly
boolean pomOnly
-
reference
boolean reference
Set to true for descriptors that come from URLs - i.e. that did not define the exclusions at all -
scope
java.lang.String scope
-
type
java.lang.String type
-
version
java.lang.String version
-
-
Class sc.repos.mvn.MvnRepositoryPackage extends RepositoryPackage implements Serializable
- serialVersionUID:
- 8392015479919408864L
-
Serialized Fields
-
excludeModules
java.util.ArrayList<java.lang.String> excludeModules
-
includeModules
java.util.ArrayList<java.lang.String> includeModules
Set these to control which sub-modules of this package are included -
includeOptional
boolean includeOptional
Should the optional dependencies of this package be included -
includeProvided
boolean includeProvided
Should we include dependencies marked as "provided" scope in maven - ordinarily provided by the environment this component runs in -
installFileTypes
java.util.ArrayList<java.lang.String> installFileTypes
Should we use the distributionManagement repository tags found in the POM file of the package to define additional maven repositories to search from. Setting to true can slow down searches and also for some packages, it might point to an internal maven server. -
useRepositories
boolean useRepositories
Should we use the repository tags found to define additional maven repositories to search from. Setting to true can slow down searches but might be required if a package uses a non-default repository. Sometimes the repository tag is set to point to an unreachable internal address.
-
-
Class sc.repos.mvn.MvnRepositorySource extends RepositorySource implements Serializable
-
Serialized Fields
-
desc
MvnDescriptor desc
-
-
-
-
Package sc.sync
-
Class sc.sync.RuntimeIOException extends java.lang.RuntimeException implements Serializable
-
-
Package sc.util
-
Class sc.util.BArrayList extends java.util.ArrayList<E> implements Serializable
-
Class sc.util.BHashMap extends java.util.HashMap<K,V> implements Serializable
-
Class sc.util.BTreeMap extends java.util.TreeMap<K,V> implements Serializable
-
Class sc.util.CoalescedHashMap extends java.lang.Object implements Serializable
-
Serialized Fields
-
keyTable
java.lang.Object[] keyTable
-
size
int size
-
valueTable
java.lang.Object[] valueTable
-
-
-
Class sc.util.CoalescedHashSet extends java.lang.Object implements Serializable
-
Serialized Fields
-
size
int size
-
valueTable
T[] valueTable
-
-
-
Class sc.util.IdentityHashSet extends java.util.AbstractSet<E> implements Serializable
-
Class sc.util.IntCoalescedHashMap extends java.lang.Object implements Serializable
-
Serialized Fields
-
keyTable
java.lang.Object[] keyTable
-
size
int size
-
valueTable
int[] valueTable
-
-
-
Class sc.util.IntStack extends java.lang.Object implements Serializable
-
Serialized Fields
-
elements
int[] elements
-
top
int top
-
-
-
Class sc.util.LinkedIdentityHashSet extends java.util.AbstractSet<E> implements Serializable
-
Class sc.util.SingleElementSet extends java.lang.Object implements Serializable
-
Serialized Fields
-
element
T element
-
-
-