public List<String> getPermutationAxes() { return ImmutableList.copyOf(permutationAxesSet); }
public List<String> getPermutationAxes() { return ImmutableList.copyOf(permutationAxesSet); }
public List<String> getPermutationAxes() { return ImmutableList.copyOf(permutationAxesSet); }
ImmutableList<Outbox> getOutboxes() { return ImmutableList.copyOf(outboxes.values()); }
ImmutableList<Outbox> getOutboxes() { return ImmutableList.copyOf(outboxes.values()); }
/** * Given the outputModuleName from the compiler, returns all the sourcemap * files generated, or null if the directory couldn't be listed. */ public List<File> findSourceMapFiles(String outputModuleName) { File symbolMapsDir = findSymbolMapDir(outputModuleName); if (symbolMapsDir == null) { return null; } File mapDir = symbolMapsDir.getAbsoluteFile(); File[] files = mapDir.listFiles(new FilenameFilter() { @Override public boolean accept(File dir, String name) { return name.endsWith(Outbox.SOURCEMAP_FILE_SUFFIX); } }); return files == null ? null : ImmutableList.copyOf(files); }
/** * Given the outputModuleName from the compiler, returns all the sourcemap * files generated, or null if the directory couldn't be listed. */ public List<File> findSourceMapFiles(String outputModuleName) { File symbolMapsDir = findSymbolMapDir(outputModuleName); if (symbolMapsDir == null) { return null; } File mapDir = symbolMapsDir.getAbsoluteFile(); File[] files = mapDir.listFiles(new FilenameFilter() { @Override public boolean accept(File dir, String name) { return name.endsWith(Outbox.SOURCEMAP_FILE_SUFFIX); } }); return files == null ? null : ImmutableList.copyOf(files); }
private JobEvent(Builder builder) { this.jobId = Preconditions.checkNotNull(builder.jobId); this.inputModuleName = Preconditions.checkNotNull(builder.inputModuleName); this.bindings = ImmutableSortedMap.copyOf(builder.bindings); this.status = Preconditions.checkNotNull(builder.status); this.message = builder.message == null ? status.defaultMessage : builder.message; this.arguments = ImmutableList.copyOf(builder.args); this.tags = ImmutableList.copyOf(builder.tags); this.metricMap = ImmutableSortedMap.copyOf(builder.metricMap); // The following fields may be null. this.outputModuleName = builder.outputModuleName; this.compileDir = builder.compileDir; this.compileStrategy = builder.compileStrategy; // Any new fields added should allow nulls for backward compatibility. }
private JobEvent(Builder builder) { this.jobId = Preconditions.checkNotNull(builder.jobId); this.inputModuleName = Preconditions.checkNotNull(builder.inputModuleName); this.bindings = ImmutableSortedMap.copyOf(builder.bindings); this.status = Preconditions.checkNotNull(builder.status); this.message = builder.message == null ? status.defaultMessage : builder.message; this.arguments = ImmutableList.copyOf(builder.args); this.tags = ImmutableList.copyOf(builder.tags); this.metricMap = ImmutableSortedMap.copyOf(builder.metricMap); // The following fields may be null. this.outputModuleName = builder.outputModuleName; this.compileDir = builder.compileDir; this.compileStrategy = builder.compileStrategy; // Any new fields added should allow nulls for backward compatibility. }
+ working); return ImmutableList.copyOf(sorted);
+ working); return ImmutableList.copyOf(sorted);
+ working); return ImmutableList.copyOf(sorted);
throw new IllegalStateException("parseArgs may only be called once"); this.args = ImmutableList.copyOf(Arrays.asList(args));
throw new IllegalStateException("parseArgs may only be called once"); this.args = ImmutableList.copyOf(Arrays.asList(args));
private ImmutableList<? extends JType> getTypeParameters( JClassType classType, boolean subtype ) { JParameterizedType parameterizedType = classType.isParameterized(); if ( null != parameterizedType ) { return ImmutableList.copyOf( parameterizedType.getTypeArgs() );
ImmutableList.copyOf(beanInfo.getPropertyDescriptors()), Functions.compose(TO_LITERAL, PROPERTY_DESCRIPTOR_TO_NAME)))); sw.println("));");
ImmutableList.copyOf(beanInfo.getPropertyDescriptors()), Functions.compose(TO_LITERAL, PROPERTY_DESCRIPTOR_TO_NAME)))); sw.println("));");
.join(Iterables.transform(ImmutableList.copyOf(beanInfo.getPropertyDescriptors()), Functions.compose(TO_LITERAL, PROPERTY_DESCRIPTOR_TO_NAME)))); sw.println("));");