code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public void setURI( String uriString, boolean encoded ) throws URISyntaxException { if ( uriString == null ) { setScheme( null ); setUserInfo( null ); setHost( null ); setPort( UNDEFINED_PORT ); setPath( null ); ...
public class class_name { public void setURI( String uriString, boolean encoded ) throws URISyntaxException { if ( uriString == null ) { setScheme( null ); setUserInfo( null ); setHost( null ); setPort( UNDEFINED_PORT ); setPath( null ); ...
public class class_name { private static final int count_flip(final int[] perm_flip) { // cache first element, avoid swapping perm[0] and perm[k] int v0 = perm_flip[0]; int tmp; int flip_count = 0; do { for (int i = 1, j = v0 - 1; i < j; ++i, --j) ...
public class class_name { private static final int count_flip(final int[] perm_flip) { // cache first element, avoid swapping perm[0] and perm[k] int v0 = perm_flip[0]; int tmp; int flip_count = 0; do { for (int i = 1, j = v0 - 1; i < j; ++i, --j) ...
public class class_name { public void setDefaultHeader(String name, Object value) { if (defaultHeaders == null) { defaultHeaders = new HashMap<String, Object>(); } if (value == null) { defaultHeaders.remove(name); } else { defaultHeaders.put(name, val...
public class class_name { public void setDefaultHeader(String name, Object value) { if (defaultHeaders == null) { defaultHeaders = new HashMap<String, Object>(); // depends on control dependency: [if], data = [none] } if (value == null) { defaultHeaders.remove(name); // ...
public class class_name { public static long getDateQuot(String time1, String time2) { long quot = 0; SimpleDateFormat ft = new SimpleDateFormat("yyyy-MM-dd"); try { Date date1 = ft.parse(time1); Date date2 = ft.parse(time2); quot = date2.getTime() - date1.ge...
public class class_name { public static long getDateQuot(String time1, String time2) { long quot = 0; SimpleDateFormat ft = new SimpleDateFormat("yyyy-MM-dd"); try { Date date1 = ft.parse(time1); Date date2 = ft.parse(time2); quot = date2.getTime() - date1.ge...
public class class_name { public void optimize(final SQLStatementRule rule, final SQLStatement sqlStatement) { Optional<SQLStatementOptimizer> optimizer = rule.getOptimizer(); if (optimizer.isPresent()) { optimizer.get().optimize(sqlStatement, shardingTableMetaData); } } }
public class class_name { public void optimize(final SQLStatementRule rule, final SQLStatement sqlStatement) { Optional<SQLStatementOptimizer> optimizer = rule.getOptimizer(); if (optimizer.isPresent()) { optimizer.get().optimize(sqlStatement, shardingTableMetaData); // depends on control d...
public class class_name { public void setNewInstanceResolver(final Object newInstanceResolver) { if (newInstanceResolver instanceof NewInstanceResolver) { this.newInstanceResolver = (NewInstanceResolver) newInstanceResolver; } else if (newInstanceResolver instanceof Closure) { f...
public class class_name { public void setNewInstanceResolver(final Object newInstanceResolver) { if (newInstanceResolver instanceof NewInstanceResolver) { this.newInstanceResolver = (NewInstanceResolver) newInstanceResolver; // depends on control dependency: [if], data = [none] } else if (n...
public class class_name { private boolean isWord(String token) { if (token.length() == 1) { char c = token.charAt(0); if (!Character.isLetter(c)) { return false; } } return true; } }
public class class_name { private boolean isWord(String token) { if (token.length() == 1) { char c = token.charAt(0); if (!Character.isLetter(c)) { return false; // depends on control dependency: [if], data = [none] } } return true; } }
public class class_name { public Stream<T> filter(final Func1<? super T, Boolean> func) { return new Stream<T>() { @Override public Iterator<T> iterator() { return new ReadOnlyIterator<T>() { Iterator<? extends T> iterator = Stream.this.iterator(); ...
public class class_name { public Stream<T> filter(final Func1<? super T, Boolean> func) { return new Stream<T>() { @Override public Iterator<T> iterator() { return new ReadOnlyIterator<T>() { Iterator<? extends T> iterator = Stream.this.iterator(); ...
public class class_name { private static Neurons[] makeNeurons(final DeepLearningModel.DeepLearningModelInfo minfo, boolean training) { DataInfo dinfo = minfo.data_info(); final DeepLearning params = minfo.get_params(); final int[] h = params.hidden; Neurons[] neurons = new Neurons[h.length + 2]; // in...
public class class_name { private static Neurons[] makeNeurons(final DeepLearningModel.DeepLearningModelInfo minfo, boolean training) { DataInfo dinfo = minfo.data_info(); final DeepLearning params = minfo.get_params(); final int[] h = params.hidden; Neurons[] neurons = new Neurons[h.length + 2]; // in...
public class class_name { public EClass getIfcRelServicesBuildings() { if (ifcRelServicesBuildingsEClass == null) { ifcRelServicesBuildingsEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(483); } return ifcRelServicesBuildingsEClass; } }
public class class_name { public EClass getIfcRelServicesBuildings() { if (ifcRelServicesBuildingsEClass == null) { ifcRelServicesBuildingsEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(483); // depends on control dependency: [if], data = [none] ...
public class class_name { public static int getType(Number val) { if (val instanceof Integer) { return INT; } else if (val instanceof Long) { return LONG; } else if (val instanceof Short) { return SHORT; } else if (val instanceof Byte) { ret...
public class class_name { public static int getType(Number val) { if (val instanceof Integer) { return INT; // depends on control dependency: [if], data = [none] } else if (val instanceof Long) { return LONG; // depends on control dependency: [if], data = [none] } else if...
public class class_name { public static StringBuilder describeParameterizable(StringBuilder buf, Class<?> pcls, int width, String indent) throws ClassInstantiationException { println(buf, width, "Description for class " + pcls.getName()); Title title = pcls.getAnnotation(Title.class); if(title != null && ...
public class class_name { public static StringBuilder describeParameterizable(StringBuilder buf, Class<?> pcls, int width, String indent) throws ClassInstantiationException { println(buf, width, "Description for class " + pcls.getName()); Title title = pcls.getAnnotation(Title.class); if(title != null && ...
public class class_name { public EClass getSTO() { if (stoEClass == null) { stoEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(340); } return stoEClass; } }
public class class_name { public EClass getSTO() { if (stoEClass == null) { stoEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(340); // depends on control dependency: [if], data = [none] } return stoEClass; } }
public class class_name { public static List<String> validateDictionaries(NaaccrDictionary baseDictionary, Collection<NaaccrDictionary> userDictionaries) { // validate the base dictionary List<String> errors = new ArrayList<>(validateBaseDictionary(baseDictionary)); // validate each user dict...
public class class_name { public static List<String> validateDictionaries(NaaccrDictionary baseDictionary, Collection<NaaccrDictionary> userDictionaries) { // validate the base dictionary List<String> errors = new ArrayList<>(validateBaseDictionary(baseDictionary)); // validate each user dict...
public class class_name { @PostMapping(value = "/v1/services", consumes = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity<String> createService(@RequestBody final RegisteredService service, final HttpServletRequest request, final HttpServletResponse response)...
public class class_name { @PostMapping(value = "/v1/services", consumes = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity<String> createService(@RequestBody final RegisteredService service, final HttpServletRequest request, final HttpServletResponse response)...
public class class_name { @Override public void decode(FacesContext context, UIComponent component) { Icon icon = (Icon) component; if (icon.isDisabled() || icon.isReadonly()) { return; } decodeBehaviors(context, icon); // moved to AJAXRenderer new AJAXRenderer().decode(context, component); } }
public class class_name { @Override public void decode(FacesContext context, UIComponent component) { Icon icon = (Icon) component; if (icon.isDisabled() || icon.isReadonly()) { return; // depends on control dependency: [if], data = [none] } decodeBehaviors(context, icon); // moved to AJAXRenderer new ...
public class class_name { public void addPattern(Pattern pattern) { if (patterns == null) { patterns = new ArrayList<Pattern>(); } patterns.add(pattern); } }
public class class_name { public void addPattern(Pattern pattern) { if (patterns == null) { patterns = new ArrayList<Pattern>(); // depends on control dependency: [if], data = [none] } patterns.add(pattern); } }
public class class_name { public void handle(Data key, String sourceUuid, UUID partitionUuid, long sequence) { // apply invalidation if it's not originated by local member/client (because local // Near Caches are invalidated immediately there is no need to invalidate them twice) if (!localUuid....
public class class_name { public void handle(Data key, String sourceUuid, UUID partitionUuid, long sequence) { // apply invalidation if it's not originated by local member/client (because local // Near Caches are invalidated immediately there is no need to invalidate them twice) if (!localUuid....
public class class_name { public static void onesI(long[] v, int bits) { final int fillWords = bits >>> LONG_LOG2_SIZE; final int fillBits = bits & LONG_LOG2_MASK; Arrays.fill(v, 0, fillWords, LONG_ALL_BITS); if(fillBits > 0) { v[fillWords] = (1L << fillBits) - 1; } if(fillWords + 1 < v.l...
public class class_name { public static void onesI(long[] v, int bits) { final int fillWords = bits >>> LONG_LOG2_SIZE; final int fillBits = bits & LONG_LOG2_MASK; Arrays.fill(v, 0, fillWords, LONG_ALL_BITS); if(fillBits > 0) { v[fillWords] = (1L << fillBits) - 1; // depends on control dependency...
public class class_name { public static CmsSelectWidgetOption getWidgetOptionForType(CmsObject cms, String typeName) { String niceTypeName = typeName; try { Locale locale = OpenCms.getWorkplaceManager().getWorkplaceLocale(cms); niceTypeName = CmsWorkplaceMessages.getResourceTyp...
public class class_name { public static CmsSelectWidgetOption getWidgetOptionForType(CmsObject cms, String typeName) { String niceTypeName = typeName; try { Locale locale = OpenCms.getWorkplaceManager().getWorkplaceLocale(cms); niceTypeName = CmsWorkplaceMessages.getResourceTyp...
public class class_name { public synchronized void removeHandler(String handlerId) { handlerEventMap.remove(handlerId); Tr.event(tc, "Removed Asynchronous Handler: " + handlerId); if (handlerEventMap.isEmpty()) { ringBuffer = null; Tr.event(tc, "ringBuffer for this BufferManagerImpl has now been set to nul...
public class class_name { public synchronized void removeHandler(String handlerId) { handlerEventMap.remove(handlerId); Tr.event(tc, "Removed Asynchronous Handler: " + handlerId); if (handlerEventMap.isEmpty()) { ringBuffer = null; // depends on control dependency: [if], data = [none] Tr.event(tc, "ringBuf...
public class class_name { public static TechnologyReference parseFromIDAndVersion(String idAndVersion) { if (idAndVersion.contains(":")) { String tech = StringUtils.substringBefore(idAndVersion, ":"); String versionRangeString = StringUtils.substringAfter(idAndVersion, ":");...
public class class_name { public static TechnologyReference parseFromIDAndVersion(String idAndVersion) { if (idAndVersion.contains(":")) { String tech = StringUtils.substringBefore(idAndVersion, ":"); String versionRangeString = StringUtils.substringAfter(idAndVersion, ":");...
public class class_name { public final float getDragSpeed() { if (hasThresholdBeenReached()) { long interval = System.currentTimeMillis() - dragStartTime; return Math.abs(getDragDistance()) / (float) interval; } else { return -1; } } }
public class class_name { public final float getDragSpeed() { if (hasThresholdBeenReached()) { long interval = System.currentTimeMillis() - dragStartTime; return Math.abs(getDragDistance()) / (float) interval; // depends on control dependency: [if], data = [none] } else { ...
public class class_name { public static String getExceptionMessage(List throwables) { if (throwables == null) { return null; } for (int i = throwables.size()-1; i>0; i--) { Throwable t = (Throwable) throwables.get(i); if (t.getMessage() !...
public class class_name { public static String getExceptionMessage(List throwables) { if (throwables == null) { return null; // depends on control dependency: [if], data = [none] } for (int i = throwables.size()-1; i>0; i--) { Throwable t = (Throwabl...
public class class_name { @Override public final void add(final T session) { // note: alignment is optional before 4.0 if (session.isIoAligned()) { verifyInIoThread(session, session.getIoThread()); } add0(session); } }
public class class_name { @Override public final void add(final T session) { // note: alignment is optional before 4.0 if (session.isIoAligned()) { verifyInIoThread(session, session.getIoThread()); // depends on control dependency: [if], data = [none] } add0(session); ...
public class class_name { private Object convertObjectToArray(Object value) { if (value instanceof CharSequence) { if (targetComponentType == char.class || targetComponentType == Character.class) { return convertArrayToArray(value.toString().toCharArray()); } // 单纯字符串情况下按照逗号分隔后劈开 final String...
public class class_name { private Object convertObjectToArray(Object value) { if (value instanceof CharSequence) { if (targetComponentType == char.class || targetComponentType == Character.class) { return convertArrayToArray(value.toString().toCharArray()); // depends on control dependency: [if], data = [...
public class class_name { public void clear() { // clear properties List<String> ownProps = getOwnProperties(); for (String key : properties.keySet().toArray(new String[]{})) { if (ownProps.contains(key)) { Object value = properties.get(key); if (value instanceof JsonCollection) { JsonCollecti...
public class class_name { public void clear() { // clear properties List<String> ownProps = getOwnProperties(); for (String key : properties.keySet().toArray(new String[]{})) { if (ownProps.contains(key)) { Object value = properties.get(key); if (value instanceof JsonCollection) { JsonCollecti...
public class class_name { @Override public void process(ResponseBuilder rb) throws IOException { // System.out // .println(System.nanoTime() + " - " + Thread.currentThread().getId() // + " - " + rb.req.getParams().getBool(ShardParams.IS_SHARD, false) // + " PROCESS " + rb.stage + " " + rb.req.getParamString()...
public class class_name { @Override public void process(ResponseBuilder rb) throws IOException { // System.out // .println(System.nanoTime() + " - " + Thread.currentThread().getId() // + " - " + rb.req.getParams().getBool(ShardParams.IS_SHARD, false) // + " PROCESS " + rb.stage + " " + rb.req.getParamString()...
public class class_name { public static Pair<Grouper<RowBasedKey>, Accumulator<AggregateResult, Row>> createGrouperAccumulatorPair( final GroupByQuery query, final boolean isInputRaw, final Map<String, ValueType> rawInputRowSignature, final GroupByQueryConfig config, final Supplier<ByteBu...
public class class_name { public static Pair<Grouper<RowBasedKey>, Accumulator<AggregateResult, Row>> createGrouperAccumulatorPair( final GroupByQuery query, final boolean isInputRaw, final Map<String, ValueType> rawInputRowSignature, final GroupByQueryConfig config, final Supplier<ByteBu...
public class class_name { public static String printLine(String... values) { // set up a CSVUtils StringWriter stringWriter = new StringWriter(); CSVPrinter csvPrinter = new CSVPrinter(stringWriter); // check for null values an "null" as strings and convert them // into the str...
public class class_name { public static String printLine(String... values) { // set up a CSVUtils StringWriter stringWriter = new StringWriter(); CSVPrinter csvPrinter = new CSVPrinter(stringWriter); // check for null values an "null" as strings and convert them // into the str...
public class class_name { public V put(K key, V value) { //remove possible existing with same value if (backward.containsKey(value)) { K oldKey = backward.get(value); forward.remove(oldKey); } if (forward.containsKey(key)) { V oldValue = forward.get(key); backward.remove(oldValue); } backward....
public class class_name { public V put(K key, V value) { //remove possible existing with same value if (backward.containsKey(value)) { K oldKey = backward.get(value); forward.remove(oldKey); // depends on control dependency: [if], data = [none] } if (forward.containsKey(key)) { V oldValue = forward.g...
public class class_name { public void transferStart(QueueListener eventsToTransfer) { while (!eventsToTransfer.isEmpty()) { Event event = eventsToTransfer.removeLast(); this.previousEvents.offerFirst(event); } } }
public class class_name { public void transferStart(QueueListener eventsToTransfer) { while (!eventsToTransfer.isEmpty()) { Event event = eventsToTransfer.removeLast(); this.previousEvents.offerFirst(event); // depends on control dependency: [while], data = [none] } } }
public class class_name { private boolean iterateExtended(ValueIterator.Element result, int limit) { while (m_current_ < limit) { String name = m_name_.getExtendedOr10Name(m_current_); if (name != null && name.length() > 0) { resul...
public class class_name { private boolean iterateExtended(ValueIterator.Element result, int limit) { while (m_current_ < limit) { String name = m_name_.getExtendedOr10Name(m_current_); if (name != null && name.length() > 0) { resul...
public class class_name { public <X extends Exception> void replaceAll(Try.BiFunction<? super K, ? super V, ? extends V, X> function) throws X { List<K> keyToRemove = null; V newVal = null; for (Map.Entry<K, V> entry : valueMap.entrySet()) { newVal = function.apply(entry.getKe...
public class class_name { public <X extends Exception> void replaceAll(Try.BiFunction<? super K, ? super V, ? extends V, X> function) throws X { List<K> keyToRemove = null; V newVal = null; for (Map.Entry<K, V> entry : valueMap.entrySet()) { newVal = function.apply(entry.getKe...
public class class_name { public static List<IFileCompareResultBean> findEqualFiles(final File source, final File compare) { final List<File> allSourceFiles = FileSearchExtensions.findFilesRecursive(source, "*"); final List<File> allCompareFiles = FileSearchExtensions.findFilesRecursive(compare, "*"); final Lis...
public class class_name { public static List<IFileCompareResultBean> findEqualFiles(final File source, final File compare) { final List<File> allSourceFiles = FileSearchExtensions.findFilesRecursive(source, "*"); final List<File> allCompareFiles = FileSearchExtensions.findFilesRecursive(compare, "*"); final Lis...
public class class_name { public static SequenceQuality create(QualityFormat format, byte[] data, int from, int length, boolean check) { if (from + length >= data.length || from < 0 || length < 0) throw new IllegalArgumentException(); //For performance final byte valueOffset = forma...
public class class_name { public static SequenceQuality create(QualityFormat format, byte[] data, int from, int length, boolean check) { if (from + length >= data.length || from < 0 || length < 0) throw new IllegalArgumentException(); //For performance final byte valueOffset = forma...
public class class_name { public static String stream2compStreamName(String old) { String[] parts = old.split(DELIM); if (parts.length >= 7) { parts[0] = MetaType.COMPONENT_STREAM.getV() + parts[0].charAt(1); //parts[parts.length - 3] = EMPTY; retain stream name part...
public class class_name { public static String stream2compStreamName(String old) { String[] parts = old.split(DELIM); if (parts.length >= 7) { parts[0] = MetaType.COMPONENT_STREAM.getV() + parts[0].charAt(1); // depends on control dependency: [if], data = [none] //parts[parts.le...
public class class_name { protected String createIssueMessage(Issue issue) { final IssueMessageFormatter formatter = getIssueMessageFormatter(); final org.eclipse.emf.common.util.URI uriToProblem = issue.getUriToProblem(); if (formatter != null) { final String message = formatter.format(issue, uriToProblem); ...
public class class_name { protected String createIssueMessage(Issue issue) { final IssueMessageFormatter formatter = getIssueMessageFormatter(); final org.eclipse.emf.common.util.URI uriToProblem = issue.getUriToProblem(); if (formatter != null) { final String message = formatter.format(issue, uriToProblem); ...
public class class_name { public LeafNode<K, V> nextNode() { if (rightid == NULL_ID) { return null; } return (LeafNode<K, V>) tree.getNode(rightid); } }
public class class_name { public LeafNode<K, V> nextNode() { if (rightid == NULL_ID) { return null; // depends on control dependency: [if], data = [none] } return (LeafNode<K, V>) tree.getNode(rightid); } }
public class class_name { public static RealVector parseRecord(Record r, Map<Object, Integer> featureIdsReference) { if(featureIdsReference.isEmpty()) { throw new IllegalArgumentException("The featureIdsReference map should not be empty."); } int d = featureIdsReference.siz...
public class class_name { public static RealVector parseRecord(Record r, Map<Object, Integer> featureIdsReference) { if(featureIdsReference.isEmpty()) { throw new IllegalArgumentException("The featureIdsReference map should not be empty."); } int d = featureIdsReference.siz...
public class class_name { public void resetCompleters() { final ConsoleReader reader = getReader(); if (reader != null) { Collection<Completer> completers = reader.getCompleters(); for (Completer completer : completers) { reader.removeCompleter(completer); ...
public class class_name { public void resetCompleters() { final ConsoleReader reader = getReader(); if (reader != null) { Collection<Completer> completers = reader.getCompleters(); for (Completer completer : completers) { reader.removeCompleter(completer); // dep...
public class class_name { public Object use(GroovyObject object, Closure closure) { // grab existing meta (usually adaptee but we may have nested use calls) MetaClass origMetaClass = object.getMetaClass(); object.setMetaClass(this); try { return closure.call(); } fin...
public class class_name { public Object use(GroovyObject object, Closure closure) { // grab existing meta (usually adaptee but we may have nested use calls) MetaClass origMetaClass = object.getMetaClass(); object.setMetaClass(this); try { return closure.call(); // depends on...
public class class_name { @Override public void claimWork() throws InterruptedException { synchronized (cluster.allWorkUnits) { for (String workUnit : getUnclaimed()) { if (isPeggedToMe(workUnit)) { claimWorkPeggedToMe(workUnit); } ...
public class class_name { @Override public void claimWork() throws InterruptedException { synchronized (cluster.allWorkUnits) { for (String workUnit : getUnclaimed()) { if (isPeggedToMe(workUnit)) { claimWorkPeggedToMe(workUnit); // depends on control dep...
public class class_name { public static double min(double... nums) { double min = nums[0]; for (int i = 1; i < nums.length; i++) { if (nums[i] > min) { min = nums[i]; } } return min; } }
public class class_name { public static double min(double... nums) { double min = nums[0]; for (int i = 1; i < nums.length; i++) { if (nums[i] > min) { min = nums[i]; // depends on control dependency: [if], data = [none] } } return min; } }
public class class_name { public void updateExecutionState(final ExecutionState executionState) { final Iterator<ExecutionVertex> it = this.vertices.iterator(); while (it.hasNext()) { final ExecutionVertex vertex = it.next(); vertex.updateExecutionState(executionState); } } }
public class class_name { public void updateExecutionState(final ExecutionState executionState) { final Iterator<ExecutionVertex> it = this.vertices.iterator(); while (it.hasNext()) { final ExecutionVertex vertex = it.next(); vertex.updateExecutionState(executionState); // depends on control dependency: [wh...
public class class_name { protected static double[] average(double[] base, double[] target) { int dataNum = base.length; double[] average = new double[dataNum]; for (int index = 0; index < dataNum; index++) { average[index] = (base[index] + target[index]) / 2.0; ...
public class class_name { protected static double[] average(double[] base, double[] target) { int dataNum = base.length; double[] average = new double[dataNum]; for (int index = 0; index < dataNum; index++) { average[index] = (base[index] + target[index]) / 2.0; // depe...
public class class_name { public static LineSymbolizer lineSymbolizerFromRule( Rule rule ) { List<Symbolizer> symbolizers = rule.symbolizers(); LineSymbolizer lineSymbolizer = null; for( Symbolizer symbolizer : symbolizers ) { if (symbolizer instanceof LineSymbolizer) { ...
public class class_name { public static LineSymbolizer lineSymbolizerFromRule( Rule rule ) { List<Symbolizer> symbolizers = rule.symbolizers(); LineSymbolizer lineSymbolizer = null; for( Symbolizer symbolizer : symbolizers ) { if (symbolizer instanceof LineSymbolizer) { ...
public class class_name { public final void addLeftWing(final String pLeftWing, final StringBuffer pSb, final String pDigGrSep, final Integer pDigitsInGroup) { for (int i = 0; i < pLeftWing.length(); i++) { char ch = pLeftWing.charAt(i); pSb.append(ch); int idxFl = pLeftWing.length() - i; ...
public class class_name { public final void addLeftWing(final String pLeftWing, final StringBuffer pSb, final String pDigGrSep, final Integer pDigitsInGroup) { for (int i = 0; i < pLeftWing.length(); i++) { char ch = pLeftWing.charAt(i); pSb.append(ch); // depends on control dependency: [for], data...
public class class_name { protected void updateFieldValidationStatus(I_CmsFormField field, CmsValidationResult result) { if (result.hasNewValue()) { if (field.getModel() != null) { field.getModel().setValue(result.getNewValue(), true); } field.getWidget().se...
public class class_name { protected void updateFieldValidationStatus(I_CmsFormField field, CmsValidationResult result) { if (result.hasNewValue()) { if (field.getModel() != null) { field.getModel().setValue(result.getNewValue(), true); // depends on control dependency: [if], data =...
public class class_name { public void setMinFrame(final String markerName) { if (composition == null) { lazyCompositionTasks.add(new LazyCompositionTask() { @Override public void run(LottieComposition composition) { setMinFrame(markerName); } }); return; } ...
public class class_name { public void setMinFrame(final String markerName) { if (composition == null) { lazyCompositionTasks.add(new LazyCompositionTask() { @Override public void run(LottieComposition composition) { setMinFrame(markerName); } }); // depends on control ...
public class class_name { public static String tooltip(Field field) { final String tooltip = field.getTooltip(); if (tooltip == null) { return ""; } return "<img class='tooltip' title='" + tooltip + "' alt='?' src='" + getContextPath() + "/templates/" ...
public class class_name { public static String tooltip(Field field) { final String tooltip = field.getTooltip(); if (tooltip == null) { return ""; // depends on control dependency: [if], data = [none] } return "<img class='tooltip' title='" + tooltip + "' alt='?' src='" ...
public class class_name { protected boolean isValidCommandName(String name) { if (Strings.isNullOrBlank(name) || ignoreCommands.contains(name)) { return false; } for (String prefix : ignoreCommandPrefixes) { if (name.startsWith(prefix)) { return false; ...
public class class_name { protected boolean isValidCommandName(String name) { if (Strings.isNullOrBlank(name) || ignoreCommands.contains(name)) { return false; // depends on control dependency: [if], data = [none] } for (String prefix : ignoreCommandPrefixes) { if (name....
public class class_name { public java.lang.String getInstanceTag() { java.lang.Object ref = instanceTag_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s ...
public class class_name { public java.lang.String getInstanceTag() { java.lang.Object ref = instanceTag_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; // depends on control dependency: [if], data = [none] } else { com.google.protobuf.ByteString bs = (com.goog...
public class class_name { public static Bbox getBounds(Geometry geometry) { if (geometry == null) { throw new IllegalArgumentException("Cannot get bounds for null geometry."); } if (isEmpty(geometry)) { return null; } Bbox bbox = null; if (geometry.getGeometries() != null) { bbox = getBounds(geome...
public class class_name { public static Bbox getBounds(Geometry geometry) { if (geometry == null) { throw new IllegalArgumentException("Cannot get bounds for null geometry."); } if (isEmpty(geometry)) { return null; // depends on control dependency: [if], data = [none] } Bbox bbox = null; if (geometr...
public class class_name { public static int lastIndexOf(final CharSequence seq, final CharSequence searchSeq) { if (seq == null || searchSeq == null) { return INDEX_NOT_FOUND; } return CharSequenceUtils.lastIndexOf(seq, searchSeq, seq.length()); } }
public class class_name { public static int lastIndexOf(final CharSequence seq, final CharSequence searchSeq) { if (seq == null || searchSeq == null) { return INDEX_NOT_FOUND; // depends on control dependency: [if], data = [none] } return CharSequenceUtils.lastIndexOf(seq, searchSeq...
public class class_name { private static void printAsXML(Rule rule, StringBuilder xmlStringBuilder) { if (rule.version != null) { xmlStringBuilder.append(" <!-- since " + rule.version + " -->"); xmlStringBuilder.append(LINE_SEPARATOR); } xmlStringBuilder.append(" <rule>"); xmlStringBuilde...
public class class_name { private static void printAsXML(Rule rule, StringBuilder xmlStringBuilder) { if (rule.version != null) { xmlStringBuilder.append(" <!-- since " + rule.version + " -->"); xmlStringBuilder.append(LINE_SEPARATOR); // depends on control dependency: [if], data = [none] } xm...
public class class_name { public Form getAncestor( Form formToGetAncestorForParam, boolean includeFieldDataParam, boolean includeTableFieldsParam ) { if(DISABLE_WS) { this.mode = Mode.RESTfulActive; } //ANCESTOR... try { //When mode is null or [WebSocketActive]... if(this.getAncestorClient ...
public class class_name { public Form getAncestor( Form formToGetAncestorForParam, boolean includeFieldDataParam, boolean includeTableFieldsParam ) { if(DISABLE_WS) { this.mode = Mode.RESTfulActive; // depends on control dependency: [if], data = [none] } //ANCESTOR... try { //When mode is null...
public class class_name { @Override public List<VariableMatch> matchVariables(VariableNumMap inputVariables) { // All of the fixed variables must be matched in order to return anything. if (!inputVariables.containsAll(fixedVariables)) { return Collections.emptyList(); } // Special case: if ther...
public class class_name { @Override public List<VariableMatch> matchVariables(VariableNumMap inputVariables) { // All of the fixed variables must be matched in order to return anything. if (!inputVariables.containsAll(fixedVariables)) { return Collections.emptyList(); // depends on control dependency: ...
public class class_name { public void marshall(PredictRequest predictRequest, ProtocolMarshaller protocolMarshaller) { if (predictRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(predictReq...
public class class_name { public void marshall(PredictRequest predictRequest, ProtocolMarshaller protocolMarshaller) { if (predictRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(predictReq...
public class class_name { public EventJournalConfig findMapEventJournalConfig(String name) { name = getBaseName(name); final EventJournalConfig config = lookupByPattern(configPatternMatcher, mapEventJournalConfigs, name); if (config != null) { return config.getAsReadOnly(); ...
public class class_name { public EventJournalConfig findMapEventJournalConfig(String name) { name = getBaseName(name); final EventJournalConfig config = lookupByPattern(configPatternMatcher, mapEventJournalConfigs, name); if (config != null) { return config.getAsReadOnly(); // depen...
public class class_name { @Override public String execute(EditXmlInputs inputs) throws Exception { Document doc = XmlUtils.createDocument(inputs.getXml(), inputs.getFilePath(), inputs.getParsingFeatures()); NodeList nodeList = XmlUtils.readNode(doc, inputs.getXpath1(), XmlUtils.getNamespaceContext(...
public class class_name { @Override public String execute(EditXmlInputs inputs) throws Exception { Document doc = XmlUtils.createDocument(inputs.getXml(), inputs.getFilePath(), inputs.getParsingFeatures()); NodeList nodeList = XmlUtils.readNode(doc, inputs.getXpath1(), XmlUtils.getNamespaceContext(...
public class class_name { public void setVTLDevices(java.util.Collection<VTLDevice> vTLDevices) { if (vTLDevices == null) { this.vTLDevices = null; return; } this.vTLDevices = new com.amazonaws.internal.SdkInternalList<VTLDevice>(vTLDevices); } }
public class class_name { public void setVTLDevices(java.util.Collection<VTLDevice> vTLDevices) { if (vTLDevices == null) { this.vTLDevices = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } this...
public class class_name { public Queue<SessionSchedulable> getScheduleQueue() { if (scheduleQueue == null) { scheduleQueue = createSessionQueue(configManager.getPoolComparator(poolInfo)); } return scheduleQueue; } }
public class class_name { public Queue<SessionSchedulable> getScheduleQueue() { if (scheduleQueue == null) { scheduleQueue = createSessionQueue(configManager.getPoolComparator(poolInfo)); // depends on control dependency: [if], data = [none] } return scheduleQueue; } }
public class class_name { private IndexTreePath<E> choosePath(AbstractMTree<?, N, E, ?> tree, E object, IndexTreePath<E> subtree) { N node = tree.getNode(subtree.getEntry()); // leaf if(node.isLeaf()) { return subtree; } // Initialize from first: int bestIdx = 0; E bestEntry = node....
public class class_name { private IndexTreePath<E> choosePath(AbstractMTree<?, N, E, ?> tree, E object, IndexTreePath<E> subtree) { N node = tree.getNode(subtree.getEntry()); // leaf if(node.isLeaf()) { return subtree; // depends on control dependency: [if], data = [none] } // Initialize fr...
public class class_name { public int executeForChangedRowCount(String sql, Object[] bindArgs, CancellationSignal cancellationSignal) { if (sql == null) { throw new IllegalArgumentException("sql must not be null."); } int changedRows = 0; final int cookie = mRece...
public class class_name { public int executeForChangedRowCount(String sql, Object[] bindArgs, CancellationSignal cancellationSignal) { if (sql == null) { throw new IllegalArgumentException("sql must not be null."); } int changedRows = 0; final int cookie = mRece...
public class class_name { private static CompareType getCompareType( String expression ) { CompareType result = CompareType.EQ; CharacterIterator iter = new StringCharacterIterator(expression); final int fistIndex = 0; final int lastIndex = expression.length() - 1; boolean skip...
public class class_name { private static CompareType getCompareType( String expression ) { CompareType result = CompareType.EQ; CharacterIterator iter = new StringCharacterIterator(expression); final int fistIndex = 0; final int lastIndex = expression.length() - 1; boolean skip...
public class class_name { public EEnum getIfcProjectedOrTrueLengthEnum() { if (ifcProjectedOrTrueLengthEnumEEnum == null) { ifcProjectedOrTrueLengthEnumEEnum = (EEnum) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(876); } return ifcProjectedOrTrueLengthEnumE...
public class class_name { public EEnum getIfcProjectedOrTrueLengthEnum() { if (ifcProjectedOrTrueLengthEnumEEnum == null) { ifcProjectedOrTrueLengthEnumEEnum = (EEnum) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(876); // depends on control dependency: [if], dat...
public class class_name { public void setKeys(java.util.Collection<DimensionKeyDescription> keys) { if (keys == null) { this.keys = null; return; } this.keys = new java.util.ArrayList<DimensionKeyDescription>(keys); } }
public class class_name { public void setKeys(java.util.Collection<DimensionKeyDescription> keys) { if (keys == null) { this.keys = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } this.keys = ne...
public class class_name { public void marshall(WorkspaceConnectionStatus workspaceConnectionStatus, ProtocolMarshaller protocolMarshaller) { if (workspaceConnectionStatus == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(WorkspaceConnectionStatus workspaceConnectionStatus, ProtocolMarshaller protocolMarshaller) { if (workspaceConnectionStatus == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { private String convertURItoURL(String uri) { int indexScheme = uri.indexOf("://"); if (-1 != indexScheme) { int indexQuery = uri.indexOf('?'); if (-1 == indexQuery || indexScheme < indexQuery) { // already a full url retu...
public class class_name { private String convertURItoURL(String uri) { int indexScheme = uri.indexOf("://"); if (-1 != indexScheme) { int indexQuery = uri.indexOf('?'); if (-1 == indexQuery || indexScheme < indexQuery) { // already a full url retu...
public class class_name { public String toMMCIF() { StringBuilder sb = new StringBuilder(); String molecId1 = getMoleculeIds().getFirst(); String molecId2 = getMoleculeIds().getSecond(); if (isSymRelated()) { // if both chains are named equally we want to still named them differently in the output mmcif f...
public class class_name { public String toMMCIF() { StringBuilder sb = new StringBuilder(); String molecId1 = getMoleculeIds().getFirst(); String molecId2 = getMoleculeIds().getSecond(); if (isSymRelated()) { // if both chains are named equally we want to still named them differently in the output mmcif f...
public class class_name { public void clearPersistedFiles(List<Long> persistedFiles) { synchronized (mLock) { for (long persistedId : persistedFiles) { mPersistedUfsFingerprints.remove(persistedId); } } } }
public class class_name { public void clearPersistedFiles(List<Long> persistedFiles) { synchronized (mLock) { for (long persistedId : persistedFiles) { mPersistedUfsFingerprints.remove(persistedId); // depends on control dependency: [for], data = [persistedId] } } } }
public class class_name { public DoubleVector[] chooseSeeds(int numCentroids, Matrix dataPoints) { int[] centroids = new int[numCentroids]; // Select the first centroid randomly. DoubleVector[] centers = new DoubleVector[numCentroids]; int centroidIndex = (int) Math.round( ...
public class class_name { public DoubleVector[] chooseSeeds(int numCentroids, Matrix dataPoints) { int[] centroids = new int[numCentroids]; // Select the first centroid randomly. DoubleVector[] centers = new DoubleVector[numCentroids]; int centroidIndex = (int) Math.round( ...
public class class_name { public void marshall(KinesisVideoStream kinesisVideoStream, ProtocolMarshaller protocolMarshaller) { if (kinesisVideoStream == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void marshall(KinesisVideoStream kinesisVideoStream, ProtocolMarshaller protocolMarshaller) { if (kinesisVideoStream == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { @Override public void persistRows(Map<HTableInterface, List<HBaseDataWrapper>> rows) throws IOException { List<Put> dataSet = new ArrayList<Put>(rows.size()); for (HTableInterface hTable : rows.keySet()) { List<HBaseDataWrapper> row = rows.get(hTabl...
public class class_name { @Override public void persistRows(Map<HTableInterface, List<HBaseDataWrapper>> rows) throws IOException { List<Put> dataSet = new ArrayList<Put>(rows.size()); for (HTableInterface hTable : rows.keySet()) { List<HBaseDataWrapper> row = rows.get(hTabl...
public class class_name { public static StringBuilder appendSpace(StringBuilder buf, int spaces) { for(int i = spaces; i > 0; i -= SPACEPADDING.length) { buf.append(SPACEPADDING, 0, i < SPACEPADDING.length ? i : SPACEPADDING.length); } return buf; } }
public class class_name { public static StringBuilder appendSpace(StringBuilder buf, int spaces) { for(int i = spaces; i > 0; i -= SPACEPADDING.length) { buf.append(SPACEPADDING, 0, i < SPACEPADDING.length ? i : SPACEPADDING.length); // depends on control dependency: [for], data = [i] } return buf; ...
public class class_name { private void resetMenuItems(boolean enable) { for (int i = 0; i < severityItemList.length; ++i) { MenuItem menuItem = severityItemList[i]; menuItem.setEnabled(enable); menuItem.setSelection(false); } } }
public class class_name { private void resetMenuItems(boolean enable) { for (int i = 0; i < severityItemList.length; ++i) { MenuItem menuItem = severityItemList[i]; menuItem.setEnabled(enable); // depends on control dependency: [for], data = [none] menuItem.setSelection(fals...
public class class_name { private static Chainr getChainr( ChainrInstantiator chainrInstantiator, Object chainrSpec ) { Chainr chainr; if (chainrInstantiator == null ) { chainr = Chainr.fromSpec( chainrSpec ); } else { chainr = Chainr.fromSpec( chainrSpec, chainr...
public class class_name { private static Chainr getChainr( ChainrInstantiator chainrInstantiator, Object chainrSpec ) { Chainr chainr; if (chainrInstantiator == null ) { chainr = Chainr.fromSpec( chainrSpec ); // depends on control dependency: [if], data = [none] } else { ...
public class class_name { public static Throwable trySetAccessible(AccessibleObject object, boolean checkAccessible) { if (checkAccessible && !PlatformDependent0.isExplicitTryReflectionSetAccessible()) { return new UnsupportedOperationException("Reflective setAccessible(true) disabled"); } ...
public class class_name { public static Throwable trySetAccessible(AccessibleObject object, boolean checkAccessible) { if (checkAccessible && !PlatformDependent0.isExplicitTryReflectionSetAccessible()) { return new UnsupportedOperationException("Reflective setAccessible(true) disabled"); // depends...
public class class_name { @Override protected void onPersist(EntityMetadata entityMetadata, Object entity, Object id, List<RelationHolder> rlHolders) { if (!isUpdate) { r.db(entityMetadata.getSchema()).table(entityMetadata.getTableName()) .insert(populateRmap(ent...
public class class_name { @Override protected void onPersist(EntityMetadata entityMetadata, Object entity, Object id, List<RelationHolder> rlHolders) { if (!isUpdate) { r.db(entityMetadata.getSchema()).table(entityMetadata.getTableName()) .insert(populateRmap(ent...
public class class_name { private void parseBody() { if (currentStatus == MultiPartStatus.PREEPILOGUE || currentStatus == MultiPartStatus.EPILOGUE) { if (isLastChunk) { currentStatus = MultiPartStatus.EPILOGUE; } return; } parseBodyMultipart()...
public class class_name { private void parseBody() { if (currentStatus == MultiPartStatus.PREEPILOGUE || currentStatus == MultiPartStatus.EPILOGUE) { if (isLastChunk) { currentStatus = MultiPartStatus.EPILOGUE; // depends on control dependency: [if], data = [none] } ...
public class class_name { public String getWorldGroupName(String world) { String result = DEFAULT_GROUP_NAME; for (Entry<String, WorldGroup> entry : list.entrySet()) { if (entry.getValue().worldExist(world)) { result = entry.getKey(); } } return r...
public class class_name { public String getWorldGroupName(String world) { String result = DEFAULT_GROUP_NAME; for (Entry<String, WorldGroup> entry : list.entrySet()) { if (entry.getValue().worldExist(world)) { result = entry.getKey(); // depends on control dependency: [if], ...
public class class_name { static String htmlEncodeRequestName(String requestId, String requestName) { if (requestId.startsWith(Counter.SQL_COUNTER_NAME)) { final String htmlEncoded = htmlEncodeButNotSpace(requestName); // highlight SQL keywords return SQL_KEYWORDS_PATTERN.matcher(htmlEncoded) .rep...
public class class_name { static String htmlEncodeRequestName(String requestId, String requestName) { if (requestId.startsWith(Counter.SQL_COUNTER_NAME)) { final String htmlEncoded = htmlEncodeButNotSpace(requestName); // highlight SQL keywords return SQL_KEYWORDS_PATTERN.matcher(htmlEncoded) .rep...
public class class_name { public List<RDN> rdns() { List<RDN> list = rdnList; if (list == null) { list = Collections.unmodifiableList(Arrays.asList(names)); rdnList = list; } return list; } }
public class class_name { public List<RDN> rdns() { List<RDN> list = rdnList; if (list == null) { list = Collections.unmodifiableList(Arrays.asList(names)); // depends on control dependency: [if], data = [none] rdnList = list; // depends on control dependency: [if], data = [none...
public class class_name { protected Map<String, List<Object>> resolveAttributesFromPrincipalAttributeRepository(final Principal principal, final RegisteredService registeredService) { val repository = ObjectUtils.defaultIfNull(this.principalAttributesRepository, getPrincipalAttributesRepositoryFrom...
public class class_name { protected Map<String, List<Object>> resolveAttributesFromPrincipalAttributeRepository(final Principal principal, final RegisteredService registeredService) { val repository = ObjectUtils.defaultIfNull(this.principalAttributesRepository, getPrincipalAttributesRepositoryFrom...
public class class_name { public static Field getField(Class clazz, String fieldName) { if (Map.class.isAssignableFrom(clazz)) { return new Field(new MapField(fieldName)); } java.lang.reflect.Field field = null; while (field == null && clazz != null) { try { ...
public class class_name { public static Field getField(Class clazz, String fieldName) { if (Map.class.isAssignableFrom(clazz)) { return new Field(new MapField(fieldName)); // depends on control dependency: [if], data = [none] } java.lang.reflect.Field field = null; while (fi...
public class class_name { @GuardedBy("lock") private void beginWaitingFor(Guard guard) { int waiters = guard.waiterCount++; if (waiters == 0) { // push guard onto activeGuards guard.next = activeGuards; activeGuards = guard; } } }
public class class_name { @GuardedBy("lock") private void beginWaitingFor(Guard guard) { int waiters = guard.waiterCount++; if (waiters == 0) { // push guard onto activeGuards guard.next = activeGuards; // depends on control dependency: [if], data = [none] activeGuards = guard; // depends o...
public class class_name { public void setRow(int i, Vector row) { if (columns != row.length()) { fail("Wrong vector length: " + row.length() + ". Should be: " + columns + "."); } for (int j = 0; j < row.length(); j++) { set(i, j, row.get(j)); } } }
public class class_name { public void setRow(int i, Vector row) { if (columns != row.length()) { fail("Wrong vector length: " + row.length() + ". Should be: " + columns + "."); // depends on control dependency: [if], data = [none] } for (int j = 0; j < row.length(); j++) { ...
public class class_name { public boolean evaluate(FieldContainer container, Map<GenericCriteriaPrompt, Object> promptValues) { // // Retrieve the LHS value // FieldType field = m_leftValue; Object lhs; if (field == null) { lhs = null; } else { ...
public class class_name { public boolean evaluate(FieldContainer container, Map<GenericCriteriaPrompt, Object> promptValues) { // // Retrieve the LHS value // FieldType field = m_leftValue; Object lhs; if (field == null) { lhs = null; // depends on control depende...
public class class_name { public GridBagConstraints getGBConstraints() { if (m_gbconstraints == null) m_gbconstraints = new GridBagConstraints(); else { // Set back to default values m_gbconstraints.gridx = GridBagConstraints.RELATIVE; m_gbconstraints.gri...
public class class_name { public GridBagConstraints getGBConstraints() { if (m_gbconstraints == null) m_gbconstraints = new GridBagConstraints(); else { // Set back to default values m_gbconstraints.gridx = GridBagConstraints.RELATIVE; // depends on control dependenc...
public class class_name { @Override public EClass getIfcFilterType() { if (ifcFilterTypeEClass == null) { ifcFilterTypeEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI).getEClassifiers() .get(272); } return ifcFilterTypeEClass; } }
public class class_name { @Override public EClass getIfcFilterType() { if (ifcFilterTypeEClass == null) { ifcFilterTypeEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI).getEClassifiers() .get(272); // depends on control dependency: [if], data = [none] } return ifcFilter...
public class class_name { public void setStickyFooterItemAtPosition(@NonNull IDrawerItem drawerItem, int position) { if (mDrawerBuilder.mStickyDrawerItems != null && mDrawerBuilder.mStickyDrawerItems.size() > position) { mDrawerBuilder.mStickyDrawerItems.set(position, drawerItem); } ...
public class class_name { public void setStickyFooterItemAtPosition(@NonNull IDrawerItem drawerItem, int position) { if (mDrawerBuilder.mStickyDrawerItems != null && mDrawerBuilder.mStickyDrawerItems.size() > position) { mDrawerBuilder.mStickyDrawerItems.set(position, drawerItem); // depends on con...
public class class_name { private VariableHandler.URLStruction _getVTPLTemplateStructionStopCache(ESInfo dslinfo, String dsl) { String ikey = dsl; String okey = dslinfo.getTemplateName(); MissingStaticCache<String,VariableHandler.URLStruction> sqlstructionMap = this.parserVTPLTempateStructionsMissingCache.get...
public class class_name { private VariableHandler.URLStruction _getVTPLTemplateStructionStopCache(ESInfo dslinfo, String dsl) { String ikey = dsl; String okey = dslinfo.getTemplateName(); MissingStaticCache<String,VariableHandler.URLStruction> sqlstructionMap = this.parserVTPLTempateStructionsMissingCache.get...
public class class_name { public static String formatTypeName(ClassNode cNode) { if (cNode.isArray()) { ClassNode it = cNode; int dim = 0; while (it.isArray()) { dim++; it = it.getComponentType(); } StringBuilder sb = n...
public class class_name { public static String formatTypeName(ClassNode cNode) { if (cNode.isArray()) { ClassNode it = cNode; int dim = 0; while (it.isArray()) { dim++; // depends on control dependency: [while], data = [none] it = it.getCompon...
public class class_name { public static void processBundles(final ConfigurationContext context) { final List<GuiceyBundle> bundles = context.getEnabledBundles(); final List<Class<? extends GuiceyBundle>> installedBundles = Lists.newArrayList(); final GuiceyBootstrap guiceyBootstrap = new Guicey...
public class class_name { public static void processBundles(final ConfigurationContext context) { final List<GuiceyBundle> bundles = context.getEnabledBundles(); final List<Class<? extends GuiceyBundle>> installedBundles = Lists.newArrayList(); final GuiceyBootstrap guiceyBootstrap = new Guicey...
public class class_name { public void addAllowedPrefix(String prefix) { if (prefix.endsWith(".")) { prefix = prefix.substring(0, prefix.length() - 1); } LOG.debug("Allowed prefix: {}", prefix); String packageRegex = START + dotsToRegex(prefix) + SEP; LOG.debug("Prefi...
public class class_name { public void addAllowedPrefix(String prefix) { if (prefix.endsWith(".")) { prefix = prefix.substring(0, prefix.length() - 1); // depends on control dependency: [if], data = [none] } LOG.debug("Allowed prefix: {}", prefix); String packageRegex = START...
public class class_name { public Schema loadSchema( Connection pConnection, Diagram pRootDiagram ) throws SQLException { Schema lSchema = new Schema(); String lSql = "select table_name from user_tables"; CallableStatement lTableStatement = pConnection.prepareCall( lSql ); ResultSet lTableResultSet ...
public class class_name { public Schema loadSchema( Connection pConnection, Diagram pRootDiagram ) throws SQLException { Schema lSchema = new Schema(); String lSql = "select table_name from user_tables"; CallableStatement lTableStatement = pConnection.prepareCall( lSql ); ResultSet lTableResultSet ...
public class class_name { private void addPropertiesToModel(List<Property> localProperties, Item parent) { for (Property property : localProperties) { Item propertyItem = new Item(property, parent); model.add(propertyItem); // add any sub-properties Property[] s...
public class class_name { private void addPropertiesToModel(List<Property> localProperties, Item parent) { for (Property property : localProperties) { Item propertyItem = new Item(property, parent); model.add(propertyItem); // depends on control dependency: [for], data = [property] ...
public class class_name { public KeyAreaInfo getKeyArea(int iKeySeq) { if (iKeySeq == -1) iKeySeq = this.getDefaultOrder(); else iKeySeq -= Constants.MAIN_KEY_AREA; try { if (m_vKeyAreaList != null) if ((iKeySeq >= 0) && (iKeySeq < m_vKe...
public class class_name { public KeyAreaInfo getKeyArea(int iKeySeq) { if (iKeySeq == -1) iKeySeq = this.getDefaultOrder(); else iKeySeq -= Constants.MAIN_KEY_AREA; try { if (m_vKeyAreaList != null) if ((iKeySeq >= 0) && (iKeySeq < m_vKe...
public class class_name { public boolean moveTo(N newParent) { if (newParent == null) { return false; } return moveTo(newParent, newParent.getChildCount()); } }
public class class_name { public boolean moveTo(N newParent) { if (newParent == null) { return false; // depends on control dependency: [if], data = [none] } return moveTo(newParent, newParent.getChildCount()); } }