Modifier and Type | Method and Description |
---|---|
Set<String> |
IconCellDecorator.getConsumedEvents() |
Set<String> |
AbstractCell.getConsumedEvents() |
Set<String> |
CompositeCell.getConsumedEvents() |
Set<String> |
Cell.getConsumedEvents()
Get the set of events that this cell consumes (see
BrowserEvents for useful
constants). |
Constructor and Description |
---|
AbstractCell(Set<String> consumedEvents)
Construct a new
AbstractCell with the specified consumed events. |
AbstractEditableCell(Set<String> consumedEvents)
Construct a new
AbstractEditableCell with the specified consumed
events. |
AbstractInputCell(Set<String> consumedEvents)
Construct a new
AbstractInputCell with the specified consumed
events. |
AbstractSafeHtmlCell(SafeHtmlRenderer<C> renderer,
Set<String> consumedEvents)
Construct an AbstractSafeHtmlCell using a given
SafeHtmlRenderer
that will consume a given set of events. |
Modifier and Type | Method and Description |
---|---|
List<? extends Set<String>> |
SelectionProperty.getFallbackValues(String value)
Returns the list of fall back values for a given value.
|
List<? extends Set<String>> |
DefaultSelectionProperty.getFallbackValues(String value) |
Constructor and Description |
---|
SubsetFilteringPropertyOracle(Set<String> accessiblePropertyNames,
PropertyOracle wrappedPropertyOracle,
String accessViolationMessage) |
Constructor and Description |
---|
DefaultSelectionProperty(String currentValue,
String fallbackValue,
String name,
SortedSet<String> possibleValues,
Map<String,? extends List<? extends Set<String>>> fallbackValueMap)
Construct a selection property.
|
Modifier and Type | Class and Description |
---|---|
class |
ArtifactSet
Provides stable ordering and de-duplication of artifacts.
|
Constructor and Description |
---|
StandardCompilationResult(PermutationResult applicationPermutationResult,
Set<PermutationResult> libraryPermutationResults) |
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
EntityDescriptor.obfuscatedNames
Stores obfuscated names.
|
Modifier and Type | Method and Description |
---|---|
Set<MethodDescriptor> |
MethodDescriptor.getDependentMethods() |
Set<JMethod> |
MethodDescriptor.getMethodReferences()
Returns the set of JMethods that share the same signature.
|
Set<String> |
EntityDescriptor.getObfuscatedNames() |
Modifier and Type | Method and Description |
---|---|
Set<? extends JClassType> |
JClassType.getFlattenedSupertypeHierarchy()
Returns all of the superclasses and superinterfaces for a given type
including the type itself.
|
abstract Set<? extends JClassType> |
TypeOracle.getSingleJsoImplInterfaces()
Returns an unmodifiable, live view of all interface types that are
implemented by exactly one JSO subtype.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
MinimalRebuildCache.computeAndClearStaleTypesCache(TreeLogger logger,
JTypeOracle typeOracle)
Calculates the set of stale types and clears their cached Js, StatementRanges and SourceMaps.
|
Set<String> |
NullRebuildCache.computeAndClearStaleTypesCache(TreeLogger logger,
JTypeOracle typeOracle) |
Set<String> |
MinimalRebuildCache.computeDeletedTypeNames()
Computes and returns the set of names of deleted types.
|
Set<String> |
NullRebuildCache.computeDeletedTypeNames() |
Set<String> |
MinimalRebuildCache.computeModifiedTypeNames()
Computes and returns the set of names of modified types.
|
Set<String> |
NullRebuildCache.computeModifiedTypeNames() |
Set<String> |
MinimalRebuildCache.computeReachableTypeNames()
Computes and returns the names of the set of types that are transitively referenceable starting
from the set of root types.
|
Set<String> |
NullRebuildCache.computeReachableTypeNames() |
Set<String> |
MinimalRebuildCache.filterUnreachableTypeNames(Set<String> typeNames)
Return the set of provided typeNames with unreachable types filtered out.
|
Set<String> |
MinimalRebuildCache.getModifiedCompilationUnitNames() |
Set<String> |
NullRebuildCache.getModifiedCompilationUnitNames() |
Set<String> |
MinimalRebuildCache.getPreambleTypeNames() |
Set<String> |
NullRebuildCache.getPreambleTypeNames() |
Set<String> |
CompilerContext.getProcessedReboundTypeSourceNames(String generatorName)
Returns the set of source names of rebound types that have been processed by the given
Generator.
|
Set<String> |
MinimalRebuildCache.getProcessedStaleTypeNames()
Returns the set of the names of types that were processed as stale.
|
Set<String> |
CompilerContext.getReboundTypeSourceNames()
Returns the set of source names of types for which GWT.create() rebind has been requested.
|
Set<String> |
MinimalRebuildCache.getStaleTypeNames() |
Set<String> |
NullRebuildCache.getStaleTypeNames() |
Modifier and Type | Method and Description |
---|---|
void |
MinimalRebuildCache.addModifiedCompilationUnitNames(TreeLogger logger,
Set<String> modifiedCompilationUnitNames) |
void |
NullRebuildCache.addModifiedCompilationUnitNames(TreeLogger logger,
Set<String> modifiedCompilationUnitNames) |
Set<String> |
MinimalRebuildCache.filterUnreachableTypeNames(Set<String> typeNames)
Return the set of provided typeNames with unreachable types filtered out.
|
static SortedMap<String,SortedSet<String>> |
GwtCreateMap.getPossibleAnswers(Iterable<GwtCreateMap> maps,
Set<String> keysWanted)
Returns the Java classes that GWT.create() might return in at least one permutation.
|
static void |
Link.link(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
ArtifactSet generatedArtifacts,
Permutation[] permutations,
List<PersistenceBackedObject<PermutationResult>> resultFiles,
Set<PermutationResult> libraries,
PrecompileTaskOptions precompileOptions,
Link.LinkOptions linkOptions) |
void |
MinimalRebuildCache.setJsoTypeNames(Set<String> jsoTypeNames,
Set<String> singleJsoImplInterfaceNames,
Set<String> dualJsoImplInterfaceNames)
Records the names of JSO subtypes, single impl interfaces and dual impl interfaces as well as
keeps track of types that entered or left one of the lists in the most recent iteration.
|
void |
MinimalRebuildCache.setJsoTypeNames(Set<String> jsoTypeNames,
Set<String> singleJsoImplInterfaceNames,
Set<String> dualJsoImplInterfaceNames)
Records the names of JSO subtypes, single impl interfaces and dual impl interfaces as well as
keeps track of types that entered or left one of the lists in the most recent iteration.
|
void |
MinimalRebuildCache.setJsoTypeNames(Set<String> jsoTypeNames,
Set<String> singleJsoImplInterfaceNames,
Set<String> dualJsoImplInterfaceNames)
Records the names of JSO subtypes, single impl interfaces and dual impl interfaces as well as
keeps track of types that entered or left one of the lists in the most recent iteration.
|
void |
NullRebuildCache.setJsoTypeNames(Set<String> jsoTypeNames,
Set<String> singleJsoImplInterfaceNames,
Set<String> dualJsoImplInterfaceNames) |
void |
NullRebuildCache.setJsoTypeNames(Set<String> jsoTypeNames,
Set<String> singleJsoImplInterfaceNames,
Set<String> dualJsoImplInterfaceNames) |
void |
NullRebuildCache.setJsoTypeNames(Set<String> jsoTypeNames,
Set<String> singleJsoImplInterfaceNames,
Set<String> dualJsoImplInterfaceNames) |
void |
MinimalRebuildCache.setPreambleTypeNames(TreeLogger logger,
Set<String> preambleTypeNames) |
void |
NullRebuildCache.setPreambleTypeNames(TreeLogger logger,
Set<String> preambleTypeNames) |
void |
MinimalRebuildCache.setProcessedStaleTypeNames(Set<String> processedStaleTypeNames) |
Modifier and Type | Field and Description |
---|---|
static Set<String> |
RuleGenerateWith.ALL_PROPERTIES |
Modifier and Type | Method and Description |
---|---|
Set<BindingProperty> |
DynamicPropertyOracle.getAccessedProperties() |
static Set<String> |
RuleGenerateWith.getAccessedPropertyNames(Class<? extends Generator> generatorClass)
Returns a Set of the names of properties that will be accessed by the given Generator.
|
Set<String> |
ModuleDef.getActiveLinkerNames() |
Set<Class<? extends Linker>> |
ModuleDef.getActiveLinkers() |
Set<String> |
ZipLibrary.getBuildResourcePaths() |
Set<String> |
LibraryGroup.getBuildResourcePaths()
Returns the set of all build resource paths.
|
Set<String> |
Library.getBuildResourcePaths()
Returns the set of paths of build resources.
|
Set<String> |
LibraryGroup.getCompilationUnitTypeSourceNames()
Returns the set of all compilation unit type source names (both regular and super sourced).
|
Set<String> |
ZipLibrary.getDependencyLibraryNames() |
Set<String> |
Library.getDependencyLibraryNames()
Returns the set of names of dependency libraries.
|
Set<String> |
ModuleDef.getExternalLibraryCanonicalModuleNames()
Returns the names of free-standing compilable library modules that are depended upon by this
module.
|
Set<String> |
DeferredBindingQuery.getLinkerNames() |
Set<String> |
LibraryGroupBuildResourceOracle.getPathNames() |
Set<String> |
CombinedResourceOracle.getPathNames() |
Set<String> |
LibraryGroupPublicResourceOracle.getPathNames() |
Set<String> |
ZipLibraryWriter.getProcessedReboundTypeSourceNames(String generatorName) |
Set<String> |
LibraryWriter.getProcessedReboundTypeSourceNames(String generatorName)
Returns the set of source names of rebound types that have been processed by the given
Generator.
|
Set<String> |
NullLibraryWriter.getProcessedReboundTypeSourceNames(String generatorName) |
Set<String> |
LibraryGroup.getProcessedReboundTypeSourceNames(String generatorName)
Returns a list of source names of types which have already been rebound by the given generator.
|
Set<String> |
ZipLibrary.getPublicResourcePaths() |
Set<String> |
LibraryGroup.getPublicResourcePaths()
Returns the set of all public resource paths.
|
Set<String> |
Library.getPublicResourcePaths()
Returns the set of paths of public resources.
|
Set<String> |
ZipLibraryWriter.getReboundTypeSourceNames() |
Set<String> |
ZipLibrary.getReboundTypeSourceNames() |
Set<String> |
LibraryWriter.getReboundTypeSourceNames()
Returns the set of source names of types which are the subject of GWT.create() calls in source
code for this library.
|
Set<String> |
NullLibraryWriter.getReboundTypeSourceNames() |
Set<String> |
LibraryGroup.getReboundTypeSourceNames()
Returns the set of names of types which are the subject of GWT.create() calls in source code in
any of the contained libraries.
|
Set<String> |
Library.getReboundTypeSourceNames()
Returns the set of source names of types which are the subject of GWT.create() calls in source
code for this library.
|
Set<String> |
ZipLibrary.getRegularClassFilePaths() |
Set<String> |
Library.getRegularClassFilePaths()
Returns the set of regular (non-super-source) class file paths.
|
Set<String> |
ZipLibrary.getRegularCompilationUnitTypeSourceNames() |
Set<String> |
Library.getRegularCompilationUnitTypeSourceNames()
Returns the set of regular (non-super-source) compilation unit type source names.
|
Set<String> |
ConditionWhenPropertyIs.getRequiredProperties() |
Set<String> |
CompoundCondition.getRequiredProperties() |
Set<String> |
Condition.getRequiredProperties()
Returns the set of property names that the Condition requires in order to
be evaluated.
|
Set<String> |
BindingProperty.getRequiredProperties() |
Set<Resource> |
LibraryGroupBuildResourceOracle.getResources() |
Set<Resource> |
CombinedResourceOracle.getResources() |
Set<Resource> |
LibraryGroupPublicResourceOracle.getResources() |
Set<Resource> |
ModuleDef.getResourcesNewerThan(long modificationTime) |
Set<String> |
ModuleDef.getSourceModuleNames(String typeSourceName) |
Set<String> |
DepsInfoProvider.getSourceModuleNames(String typeSourceName)
Returns a set of the names of modules that source included the given type referenced by name.
|
Set<String> |
ZipLibrary.getSuperSourceClassFilePaths() |
Set<String> |
Library.getSuperSourceClassFilePaths()
Returns the set of super source class file paths.
|
Set<String> |
ZipLibrary.getSuperSourceCompilationUnitTypeSourceNames() |
Set<String> |
LibraryGroup.getSuperSourceCompilationUnitTypeSourceNames()
Returns the set of compilation unit type source names for all contained super source
compilation units.
|
Set<String> |
Library.getSuperSourceCompilationUnitTypeSourceNames()
Returns the set of super source compilation unit type source names.
|
Set<String> |
ModuleDef.getTargetLibraryCanonicalModuleNames()
Returns the names of non-independently-compilable modules (mostly filesets) that together make
up the current module.
|
Set<String> |
ModuleDef.getTransitiveDepModuleNames(String libraryModuleName) |
Set<String> |
DepsInfoProvider.getTransitiveDepModuleNames(String targetModuleName)
Returns a set of the names of modules in the transitive dependency tree for the given module
referenced by name.
|
Modifier and Type | Method and Description |
---|---|
Map<String,? extends List<? extends Set<String>>> |
BindingProperty.getFallbackValuesMap()
Returns the map of values to fall back values.
|
Modifier and Type | Method and Description |
---|---|
void |
ZipLibraryWriter.addDependencyLibraryNames(Set<String> dependencyLibraryNames) |
void |
LibraryWriter.addDependencyLibraryNames(Set<String> dependencyLibraryNames)
Registers dependency on a set of other libraries.
|
void |
NullLibraryWriter.addDependencyLibraryNames(Set<String> dependencyLibraryNames) |
boolean |
RuleGenerateWith.caresAboutProperties(Set<String> propertyNames)
Returns whether the output of the Generator being managed by this rule is modified by or
whether the rules embedded condition is judging any of the properties whose names have been
passed.
Makes it possible for external callers to watch the changing property environment and only trigger Generators within Rules whose output might have changed. |
void |
ZipLibraryWriter.markReboundTypesProcessed(Set<String> reboundTypeSourceNames) |
void |
LibraryWriter.markReboundTypesProcessed(Set<String> reboundTypeSourceNames)
Records the set of names of types which are the subject of GWT.create() calls in source code
for this library.
|
void |
NullLibraryWriter.markReboundTypesProcessed(Set<String> reboundTypeSourceNames) |
Constructor and Description |
---|
DeferredBindingQuery(PropertyOracle propertyOracle,
Set<String> linkerNames)
Construct a query for contexts where a type is not available.
|
DeferredBindingQuery(PropertyOracle propertyOracle,
Set<String> linkerNames,
CompilationState compilationState,
String testType)
Construct a fully general query, including a query type and type oracle.
|
PropertyPermutations(Properties properties,
Set<String> activeLinkerNames) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
StandardGeneratorContext.getActiveLinkerNames() |
Set<String> |
CompilationErrorsIndex.getCompileErrors(String typeSourceName)
Returns the compile error strings previously recorded for a given type.
|
Set<String> |
CompilationErrorsIndexImpl.getCompileErrors(String typeSourceName) |
Set<String> |
CombinedCompilationErrorsIndex.getCompileErrors(String typeSourceName) |
Set<String> |
CompilationErrorsIndex.getTypeReferences(String typeSourceName)
Returns the type reference strings previously recorded for a given type.
|
Set<String> |
CompilationErrorsIndexImpl.getTypeReferences(String typeSourceName) |
Set<String> |
CombinedCompilationErrorsIndex.getTypeReferences(String typeSourceName) |
Modifier and Type | Method and Description |
---|---|
static CompilationState |
CompilationStateBuilder.buildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources)
Compiles the given source files and adds them to the CompilationState.
|
static CompilationState |
CompilationStateBuilder.buildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources,
JdtCompiler.AdditionalTypeProviderDelegate delegate)
Compiles the given source files and adds them to the CompilationState.
|
CompilationState |
CompilationStateBuilder.doBuildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources) |
CompilationState |
CompilationStateBuilder.doBuildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources,
JdtCompiler.AdditionalTypeProviderDelegate compilerDelegate)
Build a new compilation state from a source oracle.
|
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
CollectReferencesVisitor.referencedTypes |
Modifier and Type | Method and Description |
---|---|
Set<String> |
CollectReferencesVisitor.getReferencedTypes() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
MockResourceOracle.getPathNames() |
Set<Resource> |
MockResourceOracle.getResources() |
Modifier and Type | Method and Description |
---|---|
Set<? extends JClassType> |
TypeOracle.getDualJsoImplInterfaces()
Returns an unmodifiable, live view of all interface types that are
implemented by both a JSO subtype and at least one Object subtype.
|
Set<JClassType> |
JClassType.getFlattenedSupertypeHierarchy()
Returns all of the superclasses and superinterfaces for a given type
including the type itself.
|
protected static Set<JClassType> |
JClassType.getFlattenedSuperTypeHierarchy(JClassType type)
Returns all of the superclasses and superinterfaces for a given type
including the type itself.
|
Set<? extends JClassType> |
TypeOracle.getSingleJsoImplInterfaces()
Returns an unmodifiable, live view of all interface types that are
implemented by exactly one JSO subtype.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
JavaToJavaScriptCompiler.Precompiler.beforeUnifyAst(Set<String> allRootTypes) |
protected abstract void |
JavaToJavaScriptCompiler.PermutationCompiler.optimizeJs(Set<JsNode> inlinableJsFunctions) |
Constructor and Description |
---|
UnifiedAst(PrecompileTaskOptions options,
UnifiedAst.AST initialAst,
boolean singlePermutation,
Set<String> rebindRequests) |
Modifier and Type | Field and Description |
---|---|
static Set<String> |
JProgram.CODEGEN_TYPES_SET |
static Set<String> |
JProgram.IMMORTAL_CODEGEN_TYPES_SET |
static Set<String> |
JProgram.SYNTHETIC_TYPE_NAMES
Types whose entire implementation is synthesized at compile time.
|
Modifier and Type | Method and Description |
---|---|
Set<JMethod> |
JTypeOracle.getAllOverriddenMethods(JMethod method)
References to any methods which this method implementation might override
or implement in any instantiable class, including strange cases where there
is no direct relationship between the methods except in a subclass that
inherits one and implements the other.
|
Set<JReferenceType> |
JTypeOracle.getCastableDestinationTypes(JReferenceType type) |
Set<JField> |
JTypeOracle.getExportedFields() |
Set<JMethod> |
JTypeOracle.getExportedMethods() |
Set<JReferenceType> |
JTypeOracle.getInstantiatedJsoTypesViaCast() |
Set<String> |
JTypeOracle.getSubTypeNames(String typeName) |
Set<String> |
JProgram.getTypeNamesToIndex() |
Modifier and Type | Method and Description |
---|---|
void |
JTypeOracle.setInstantiatedJsoTypesViaCast(Set<JReferenceType> instantiatedJsoTypesViaCast) |
void |
JTypeOracle.setInstantiatedTypes(Set<JReferenceType> instantiatedTypes) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
JsniMethodBody.getUsedStrings() |
Constructor and Description |
---|
JsniMethodBody(SourceInfo info,
JsFunction function,
List<JsniClassLiteral> classRefs,
List<JsniFieldRef> jsniFieldRefs,
List<JsniMethodRef> jsniMethodRefs,
Set<String> stringLiterals) |
Modifier and Type | Field and Description |
---|---|
protected Set<JMethod> |
MakeCallsStatic.toBeMadeStatic |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
RecordRebinds.exec(JProgram program) |
Set<JField> |
ControlFlowAnalyzer.getFieldsWritten()
Return the set of all fields that are written.
|
Set<JReferenceType> |
ControlFlowAnalyzer.getInstantiatedTypes()
Return the complete set of types that have been instantiated.
|
Set<? extends JNode> |
ControlFlowAnalyzer.getLiveFieldsAndMethods()
Return all methods that could be executed, and all variables that could be
read, based on the given entry points so far.
|
Set<String> |
ControlFlowAnalyzer.getLiveStrings() |
Set<String> |
EnumOrdinalizer.Tracker.getOrdinalizedNames() |
Set<? extends JReferenceType> |
ControlFlowAnalyzer.getReferencedTypes()
Return the complete set of types that have been referenced.
|
Modifier and Type | Method and Description |
---|---|
static Pair<JavaToJavaScriptMap,Set<JsNode>> |
GenerateJavaScriptAST.exec(TreeLogger logger,
JProgram program,
JsProgram jsProgram,
CompilerContext compilerContext,
ResolveRuntimeTypeReferences.TypeMapper<?> typeMapper,
Map<StandardSymbolData,JsName> symbolTable,
PermProps props)
This is the main entry point for the translation from Java to JavaScript.
|
Modifier and Type | Method and Description |
---|---|
static void |
ReboundTypeRecorder.exec(JNode node,
Set<JDeclaredType> reboundTypes)
Walks the AST from the provided node and records seen rebound types into the provided
reboundTypes set.
|
Modifier and Type | Method and Description |
---|---|
Set<JMethod> |
FragmentExtractor.findAllMethodsInJavaScript()
Find all Java methods that still exist in the resulting JavaScript, even
after JavaScript inlining and pruning.
|
Modifier and Type | Field and Description |
---|---|
protected Set<JsName> |
JsNamer.referenced |
Constructor and Description |
---|
CoverageVisitor(Set<String> instrumentedFiles) |
DuplicateExecuteOnceRemover(JsProgram program,
Set<JsFunction> alreadyCalled) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
ResourceOracle.getPathNames()
Returns an unmodifiable set of unique abstract path names with constant
lookup time.
|
Set<Resource> |
ResourceOracle.getResources()
Returns an unmodifiable set of unique resources with constant lookup time.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
ResourceOracleImpl.getPathNames() |
Set<Resource> |
ResourceOracleImpl.getResources() |
Modifier and Type | Method and Description |
---|---|
Set<Integer> |
RemoteObjectTable.getRefIdsForCleanup() |
Set<Integer> |
BrowserChannel.getRefIdsForCleanup() |
Set<Integer> |
BrowserChannel.ObjectRefFactory.getRefIdsForCleanup() |
Modifier and Type | Method and Description |
---|---|
static String |
BrowserWidgetHostChecker.checkHost(String hostUnderConsideration,
Set<String> hosts)
This method checks the host to see if it is in the supplied set of regexes.
|
static String |
BrowserWidgetHostChecker.formatRules(Set<String> hosts)
This method formats the list of rules for display in the treeLogger.
|
Constructor and Description |
---|
ModuleSpacePropertyOracle(Properties props,
Set<String> activeLinkerNames,
ModuleSpace space)
Create a property oracle that computes its properties from a module.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
HostedModeClassRewriter.SingleJsoImplData.getSingleJsoIntfTypes()
Returns the internal names of all interface types implemented by JSOs.
|
Constructor and Description |
---|
HostedModeClassRewriter(Set<String> jsoSubtypes,
Map<String,List<String>> jsoSuperTypes,
HostedModeClassRewriter.SingleJsoImplData jsoData,
HostedModeClassRewriter.InstanceMethodOracle mapper)
Creates a new
HostedModeClassRewriter for a specified set of
subclasses of JavaScriptObject. |
Modifier and Type | Class and Description |
---|---|
class |
IdentityHashSet<E>
A memory-efficient identity hash set.
|
Modifier and Type | Method and Description |
---|---|
static <T> Set<T> |
Sets.add(Set<T> set,
T toAdd) |
static <T> Set<T> |
IdentitySets.add(Set<T> set,
T toAdd) |
static <T> Set<T> |
Sets.addAll(Set<T> set,
Collection<T> toAdd) |
static <T> Set<T> |
Sets.create() |
static <T> Set<T> |
IdentitySets.create() |
static <T> Set<T> |
Sets.create(T... items) |
static <T> Set<T> |
IdentitySets.create(T... items) |
static <T> Set<T> |
Sets.create(T item) |
static <T> Set<T> |
IdentitySets.create(T item) |
Set<Map.Entry<K,V>> |
HashMap.entrySet() |
Set<K> |
HashMap.keySet() |
static <T> Set<T> |
Sets.normalize(Set<T> set) |
static <T> Set<T> |
IdentitySets.normalize(Set<T> set) |
static <T> Set<T> |
Sets.normalizeUnmodifiable(Set<T> set) |
static <T> Set<T> |
IdentitySets.normalizeUnmodifiable(Set<T> set) |
static <T> Set<T> |
Sets.remove(Set<T> set,
T toRemove) |
static <T> Set<T> |
IdentitySets.remove(Set<T> set,
T toRemove) |
Modifier and Type | Method and Description |
---|---|
static <T> Set<T> |
Sets.add(Set<T> set,
T toAdd) |
static <T> Set<T> |
IdentitySets.add(Set<T> set,
T toAdd) |
static <T> Set<T> |
Sets.addAll(Set<T> set,
Collection<T> toAdd) |
static <T> Set<T> |
Sets.normalize(Set<T> set) |
static <T> Set<T> |
IdentitySets.normalize(Set<T> set) |
static <T> Set<T> |
Sets.normalizeUnmodifiable(Set<T> set) |
static <T> Set<T> |
IdentitySets.normalizeUnmodifiable(Set<T> set) |
static <T> Set<T> |
Sets.remove(Set<T> set,
T toRemove) |
static <T> Set<T> |
IdentitySets.remove(Set<T> set,
T toRemove) |
Modifier and Type | Method and Description |
---|---|
Set<T> |
TransitiveClosureSolver.getReachableNodes(T node) |
Constructor and Description |
---|
UmbrellaException(Set<Throwable> causes) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
Dictionary.keySet()
The set of keys associated with this dictionary.
|
Modifier and Type | Method and Description |
---|---|
static Set<String> |
RegionInheritance.getImmediateParents(String region)
Returns the set of immediate parents of a given region, not including
this region.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
JSONObject.keySet()
Returns the set of properties defined on this JSONObject.
|
Constructor and Description |
---|
UndefinedConstantVisitor(Set<String> gssContantNames,
boolean lenient,
TreeLogger treeLogger) |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
ExtractClassNamesVisitor.exec(CssStylesheet sheet)
Extract all CSS class names in the provided stylesheet.
|
static Set<String> |
ExtractClassNamesVisitor.exec(CssStylesheet sheet,
JClassType... imports)
Extract all CSS class names in the provided stylesheet, modulo those
imported from another context.
|
Set<String> |
DefsCollector.getDefs() |
Constructor and Description |
---|
ClassRenamer(TreeLogger logger,
Map<String,Map<JMethod,String>> classReplacementsWithPrefix,
boolean strict,
Set<String> externalClasses) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
CssExternalSelectors.getClasses() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
ClassNamesCollector.getClassNames(com.google.gwt.thirdparty.common.css.compiler.ast.CssTree tree,
Set<JClassType> imports)
Extract all CSS class names in the provided stylesheet, modulo those
imported from another context.
|
Set<String> |
RenamingSubstitutionMap.getExternalClassCandidates() |
Set<com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode> |
RuntimeConditionalBlockCollector.getRuntimeConditionalBlock() |
Set<String> |
RenamingSubstitutionMap.getStyleClasses() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
ClassNamesCollector.getClassNames(com.google.gwt.thirdparty.common.css.compiler.ast.CssTree tree,
Set<JClassType> imports)
Extract all CSS class names in the provided stylesheet, modulo those
imported from another context.
|
com.google.gwt.thirdparty.guava.common.collect.ImmutableSet<String> |
ExternalClassesCollector.getExternalClassNames(Set<String> styleClassesSet,
Set<String> orphanClassName)
Returns an immutable set of external class names that should not be renamed.
|
com.google.gwt.thirdparty.guava.common.collect.ImmutableSet<String> |
ExternalClassesCollector.getExternalClassNames(Set<String> styleClassesSet,
Set<String> orphanClassName)
Returns an immutable set of external class names that should not be renamed.
|
Constructor and Description |
---|
ExtendedEliminateConditionalNodes(com.google.gwt.thirdparty.common.css.compiler.ast.MutatingVisitController visitController,
Set<String> trueConditions,
Set<com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode> runtimeConditionalNodes) |
ExtendedEliminateConditionalNodes(com.google.gwt.thirdparty.common.css.compiler.ast.MutatingVisitController visitController,
Set<String> trueConditions,
Set<com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode> runtimeConditionalNodes) |
Modifier and Type | Field and Description |
---|---|
Set<String> |
LiteralsCollection.literals |
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,String>> |
StorageMap.entrySet()
Returns a Set containing all entries of the Storage.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
CssNameConverter.convertSet(Set<String> classNames) |
Modifier and Type | Method and Description |
---|---|
static Set |
Collections.EmptySet_CustomFieldSerializer.instantiate(SerializationStreamReader streamReader) |
Set |
Collections.EmptySet_CustomFieldSerializer.instantiateInstance(SerializationStreamReader streamReader) |
Modifier and Type | Method and Description |
---|---|
static void |
Collections.EmptySet_CustomFieldSerializer.deserialize(SerializationStreamReader streamReader,
Set instance) |
void |
Collections.EmptySet_CustomFieldSerializer.deserializeInstance(SerializationStreamReader streamReader,
Set instance) |
static void |
Collections.EmptySet_CustomFieldSerializer.serialize(SerializationStreamWriter streamWriter,
Set instance) |
void |
Collections.EmptySet_CustomFieldSerializer.serializeInstance(SerializationStreamWriter streamWriter,
Set instance) |
Constructor and Description |
---|
AttachDetachException(Set<Throwable> causes)
Construct a new
AttachDetachException . |
Modifier and Type | Method and Description |
---|---|
Set<String> |
SerializationPolicy.getClientFieldNamesForEnhancedClass(Class<?> clazz)
Returns the field names of the given class known to the client for classes
that are expected to be enhanced on the server to have additional fields,
or null for classes that are not expected to be enhanced.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
StandardSerializationPolicy.getClientFieldNamesForEnhancedClass(Class<?> clazz) |
Constructor and Description |
---|
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds,
Map<Class<?>,Set<String>> clientFields)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds,
Map<Class<?>,Set<String>> clientFields,
boolean shouldSerializeFinalFields)
Constructs a
SerializationPolicy from several Map s. |
Modifier and Type | Method and Description |
---|---|
Set<javax.validation.metadata.ConstraintDescriptor<?>> |
ConstraintDescriptorImpl.getComposingConstraints() |
Set<javax.validation.metadata.PropertyDescriptor> |
GwtBeanDescriptorImpl.getConstrainedProperties() |
Set<javax.validation.metadata.ConstraintDescriptor<?>> |
PropertyDescriptorImpl.getConstraintDescriptors() |
Set<javax.validation.metadata.ConstraintDescriptor<?>> |
ConstraintFinderImpl.getConstraintDescriptors() |
Set<javax.validation.metadata.ConstraintDescriptor<?>> |
GwtBeanDescriptorImpl.getConstraintDescriptors() |
Set<Class<?>> |
ConstraintDescriptorImpl.getGroups() |
Set<MessageAndPath> |
ConstraintValidatorContextImpl.getMessageAndPaths() |
Set<Class<? extends javax.validation.Payload>> |
ConstraintDescriptorImpl.getPayload() |
Set<javax.validation.ConstraintViolation<T>> |
ConstraintValidatorContextImpl.getViolations() |
<T> Set<javax.validation.ConstraintViolation<T>> |
AbstractGwtSpecificValidator.validate(GwtValidationContext<T> context,
G object,
Class<?>... groups) |
<T> Set<javax.validation.ConstraintViolation<T>> |
GwtSpecificValidator.validate(GwtValidationContext<T> context,
G object,
Class<?>... groups)
Validates all constraints on
object . |
abstract <T> Set<javax.validation.ConstraintViolation<T>> |
AbstractGwtValidator.validate(GwtValidationContext<T> context,
Object object,
Class<?>... groups) |
<T> Set<javax.validation.ConstraintViolation<T>> |
AbstractGwtSpecificValidator.validateProperty(GwtValidationContext<T> context,
G object,
String propertyName,
Class<?>... groups) |
<T> Set<javax.validation.ConstraintViolation<T>> |
GwtSpecificValidator.validateProperty(GwtValidationContext<T> context,
G object,
String propertyName,
Class<?>... groups)
Validates all constraints placed on the property of
object
named propertyName . |
<T> Set<javax.validation.ConstraintViolation<T>> |
AbstractGwtSpecificValidator.validateValue(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Class<?>... groups) |
<T> Set<javax.validation.ConstraintViolation<T>> |
GwtSpecificValidator.validateValue(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Class<?>... groups)
Validates all constraints placed on the property named
propertyName of the class beanType where the
property value is value . |
Modifier and Type | Method and Description |
---|---|
protected <V,T,A extends Annotation> |
AbstractGwtSpecificValidator.addSingleViolation(GwtValidationContext<T> context,
Set<javax.validation.ConstraintViolation<T>> violations,
G object,
V value,
ConstraintDescriptorImpl<A> constraintDescriptor) |
<T> void |
GwtSpecificValidator.expandDefaultAndValidateClassGroups(GwtValidationContext<T> context,
G object,
Set<javax.validation.ConstraintViolation<T>> violations,
Group... groups)
Helper method used to first expand the Default group sequence and then
perform validation of a bean using the specific group(s).
|
<T> void |
GwtSpecificValidator.expandDefaultAndValidatePropertyGroups(GwtValidationContext<T> context,
G object,
String propertyName,
Set<javax.validation.ConstraintViolation<T>> violations,
Group... groups)
Helper method used to first expand the Default group sequence and then
perform validation of a bean using the specific group(s).
|
<T> void |
GwtSpecificValidator.expandDefaultAndValidateValueGroups(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Set<javax.validation.ConstraintViolation<T>> violations,
Group... groups)
Helper method used to first expand the Default group sequence and then
perform validation of a bean using the specific group(s).
|
ConstraintDescriptorImpl.Builder<T> |
ConstraintDescriptorImpl.Builder.setGroups(Set<Class<?>> groups) |
ConstraintDescriptorImpl.Builder<T> |
ConstraintDescriptorImpl.Builder.setPayload(Set<Class<? extends javax.validation.Payload>> payload) |
protected <A extends Annotation,T,V> |
AbstractGwtSpecificValidator.validate(GwtValidationContext<T> context,
Set<javax.validation.ConstraintViolation<T>> violations,
G object,
V value,
javax.validation.ConstraintValidator<A,? super V> validator,
ConstraintDescriptorImpl<A> constraintDescriptor,
Class<?>... groups)
Perform the actual validation of a single
ConstraintValidator . |
<T> void |
GwtSpecificValidator.validateClassGroups(GwtValidationContext<T> context,
G object,
Set<javax.validation.ConstraintViolation<T>> violations,
Class<?>... groups)
Helper method used to perform validation of a bean using specific group(s).
|
<T> void |
GroupValidator.validateGroups(GwtValidationContext<T> context,
Set<javax.validation.ConstraintViolation<T>> violations,
Group... groups)
Validates the given group(s) (may not include group sequences)
and adds any violations to the set.
|
<T> void |
GwtSpecificValidator.validatePropertyGroups(GwtValidationContext<T> context,
G object,
String propertyName,
Set<javax.validation.ConstraintViolation<T>> violations,
Class<?>... groups)
Helper method used to perform validation of a bean property using specific group(s).
|
<T> void |
GwtSpecificValidator.validateValueGroups(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Set<javax.validation.ConstraintViolation<T>> violations,
Class<?>... groups)
Helper method used to perform validation of a class property with a specified value
using specific group(s).
|
Constructor and Description |
---|
ConstraintFinderImpl(BeanMetadata beanMetadata,
ValidationGroupsMetadata validationGroupsMetadata,
Set<ConstraintDescriptorImpl<?>> constraintDescriptors) |
Modifier and Type | Method and Description |
---|---|
Set<Class<?>> |
ValidationGroupsMetadata.findAllExtendedGroups(Collection<Class<?>> baseGroups)
Finds all of the validation groups extended by an intial set of groups.
|
Set<Class<?>> |
ValidationGroupsMetadata.getAllGroupsAndSequences()
Recursively gets all of the groups and sequence groups in the map (children and parents alike)
in one flat set.
|
Set<Class<?>> |
ValidationGroupsMetadata.getGroupSequences()
Returns all the known group sequence classes.
|
Set<Class<?>> |
ValidationGroupsMetadata.getParentsOfGroup(Class<?> group)
If the group has been added to the map then its parent groups (of one level above) are
retrieved.
|
Set<Class<?>> |
ValidationGroupsMetadata.getRootGroups()
Returns all of the groups added to the map (but not their parents).
|
Modifier and Type | Method and Description |
---|---|
Set<InputStream> |
GwtConfigurationState.getMappingStreams() |
Modifier and Type | Method and Description |
---|---|
Set<HasData<T>> |
AbstractDataProvider.getDataDisplays()
Get the set of displays currently assigned to this adapter.
|
Set<T> |
SetSelectionModel.getSelectedSet()
Get the set of selected items.
|
Set<T> |
MultiSelectionModel.getSelectedSet()
Get the set of selected items as a copy.
|
Set<T> |
SingleSelectionModel.getSelectedSet() |
Modifier and Type | Interface and Description |
---|---|
interface |
NavigableSet<E>
A
SortedSet with more flexible queries. |
interface |
SortedSet<E>
A set known to be in ascending order.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSet<E>
Skeletal implementation of the Set interface.
|
class |
EnumSet<E extends Enum<E>>
|
class |
HashSet<E>
Implements a set in terms of a hash table.
|
class |
LinkedHashSet<E>
Hash table and linked-list implementation of the Set interface with
predictable iteration order.
|
class |
TreeSet<E>
Implements a set using a TreeMap.
|
Modifier and Type | Field and Description |
---|---|
static Set |
Collections.EMPTY_SET |
Modifier and Type | Method and Description |
---|---|
static <T> Set<T> |
Collections.emptySet() |
Set<Map.Entry<K,V>> |
EnumMap.entrySet() |
Set<Map.Entry<K,V>> |
Map.entrySet() |
abstract Set<Map.Entry<K,V>> |
AbstractMap.entrySet() |
Set<Map.Entry<K,V>> |
LinkedHashMap.entrySet() |
Set<Map.Entry<K,V>> |
TreeMap.entrySet() |
Set<K> |
Map.keySet() |
Set<K> |
AbstractMap.keySet() |
static <E> Set<E> |
Collections.newSetFromMap(Map<E,Boolean> map) |
static <T> Set<T> |
Collections.singleton(T o) |
static <T> Set<T> |
Collections.unmodifiableSet(Set<? extends T> set) |
Modifier and Type | Method and Description |
---|---|
static <T> Set<T> |
Collections.unmodifiableSet(Set<? extends T> set) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
ConfigurationState.getMappingStreams()
Returns a set of configuration streams.
|
Copyright © 2018. All rights reserved.