code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public static String getTopActivityClassName(Context context) { ComponentName activity = getTopActivity(context); if (activity == null) { return null; } return activity.getClassName(); } }
public class class_name { public static String getTopActivityClassName(Context context) { ComponentName activity = getTopActivity(context); if (activity == null) { return null; // depends on control dependency: [if], data = [none] } return activity.getClassName(); } }
public class class_name { public static String normalizeSlashes(final String path) { // prepare final StringBuilder builder = new StringBuilder(path); boolean modified = false; // remove all trailing '/'s except the first one while (builder.length() > 0 && builder.length() != 1...
public class class_name { public static String normalizeSlashes(final String path) { // prepare final StringBuilder builder = new StringBuilder(path); boolean modified = false; // remove all trailing '/'s except the first one while (builder.length() > 0 && builder.length() != 1...
public class class_name { private void stripCommas(TokenList tokens) { TokenList.Token t = tokens.getFirst(); while( t != null ) { TokenList.Token next = t.next; if( t.getSymbol() == Symbol.COMMA ) { tokens.remove(t); } t = next; ...
public class class_name { private void stripCommas(TokenList tokens) { TokenList.Token t = tokens.getFirst(); while( t != null ) { TokenList.Token next = t.next; if( t.getSymbol() == Symbol.COMMA ) { tokens.remove(t); // depends on control dependency: [if], data...
public class class_name { public String[] subMapKeysAsStrings(PropertyMap map) { String[] result = null; Set<?> keySet = map.subMapKeySet(); int keySize = keySet.size(); if (keySize > 0) { result = keySet.toArray(new String[keySize]); } return resul...
public class class_name { public String[] subMapKeysAsStrings(PropertyMap map) { String[] result = null; Set<?> keySet = map.subMapKeySet(); int keySize = keySet.size(); if (keySize > 0) { result = keySet.toArray(new String[keySize]); // depends on control dependen...
public class class_name { @Override public boolean createTileMatrixSetTable() { verifyWritable(); boolean created = false; TileMatrixSetDao dao = getTileMatrixSetDao(); try { if (!dao.isTableExists()) { created = tableCreator.createTileMatrixSet() > 0; } } catch (SQLException e) { throw new Ge...
public class class_name { @Override public boolean createTileMatrixSetTable() { verifyWritable(); boolean created = false; TileMatrixSetDao dao = getTileMatrixSetDao(); try { if (!dao.isTableExists()) { created = tableCreator.createTileMatrixSet() > 0; // depends on control dependency: [if], data = [n...
public class class_name { @Override public void close() { // get current session Neo4JSession session = this.session.get(); if (session != null) { // close session session.close(); // remove session this.session.remove(); } // ...
public class class_name { @Override public void close() { // get current session Neo4JSession session = this.session.get(); if (session != null) { // close session session.close(); // depends on control dependency: [if], data = [none] // remove session ...
public class class_name { private static MessageInfoType mapMessageInfo(MessageInfo messageInfo) { if (messageInfo == null) { return null; } MessageInfoType miType = new MessageInfoType(); miType.setMessageId(messageInfo.getMessageId()); miType.setFlowId(messageInfo....
public class class_name { private static MessageInfoType mapMessageInfo(MessageInfo messageInfo) { if (messageInfo == null) { return null; // depends on control dependency: [if], data = [none] } MessageInfoType miType = new MessageInfoType(); miType.setMessageId(messageInfo....
public class class_name { public ElementBox createBox(ElementBox parent, Element n, String display) { ElementBox root = null; //New box style NodeData style = decoder.getElementStyleInherited(n); if (style == null) style = createAnonymousStyle(display); ...
public class class_name { public ElementBox createBox(ElementBox parent, Element n, String display) { ElementBox root = null; //New box style NodeData style = decoder.getElementStyleInherited(n); if (style == null) style = createAnonymousStyle(display); ...
public class class_name { public void appendStart(StringBuilder buffer, Object object) { if (object != null) { appendClassName(buffer, object); appendIdentityHashCode(buffer, object); appendContentStart(buffer); if (fieldSeparatorAtStart) { append...
public class class_name { public void appendStart(StringBuilder buffer, Object object) { if (object != null) { appendClassName(buffer, object); // depends on control dependency: [if], data = [none] appendIdentityHashCode(buffer, object); // depends on control dependency: [if], data = [n...
public class class_name { public void marshall(S3DestinationSettings s3DestinationSettings, ProtocolMarshaller protocolMarshaller) { if (s3DestinationSettings == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { public void marshall(S3DestinationSettings s3DestinationSettings, ProtocolMarshaller protocolMarshaller) { if (s3DestinationSettings == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { private void handleBorrowTaskMessage(BorrowTaskMessage message) { // borrows do not advance the sp handle. The handle would // move backwards anyway once the next message is received // from the SP leader. long newSpHandle = getMaxScheduledTxnSpHandle(); ...
public class class_name { private void handleBorrowTaskMessage(BorrowTaskMessage message) { // borrows do not advance the sp handle. The handle would // move backwards anyway once the next message is received // from the SP leader. long newSpHandle = getMaxScheduledTxnSpHandle(); ...
public class class_name { @Contract(pure = true) public final boolean isRunning(@NonNull final String tag) { final Integer id = mTaggedRequests.get(tag); //noinspection SimplifiableIfStatement if (id != null) { return isRunning(id); } else { return false; ...
public class class_name { @Contract(pure = true) public final boolean isRunning(@NonNull final String tag) { final Integer id = mTaggedRequests.get(tag); //noinspection SimplifiableIfStatement if (id != null) { return isRunning(id); // depends on control dependency: [if], data =...
public class class_name { public Observable<ServiceResponse<Page<ResourceMetricDefinitionInner>>> listMetricDefintionsWithServiceResponseAsync(final String resourceGroupName, final String name) { return listMetricDefintionsSinglePageAsync(resourceGroupName, name) .concatMap(new Func1<ServiceRespons...
public class class_name { public Observable<ServiceResponse<Page<ResourceMetricDefinitionInner>>> listMetricDefintionsWithServiceResponseAsync(final String resourceGroupName, final String name) { return listMetricDefintionsSinglePageAsync(resourceGroupName, name) .concatMap(new Func1<ServiceRespons...
public class class_name { @Implementation protected final int bulkInsert(Uri url, ContentValues[] values) { ContentProvider provider = getProvider(url); InsertStatement insertStatement = new InsertStatement(url, provider, values); statements.add(insertStatement); insertStatements.add(insertStatement...
public class class_name { @Implementation protected final int bulkInsert(Uri url, ContentValues[] values) { ContentProvider provider = getProvider(url); InsertStatement insertStatement = new InsertStatement(url, provider, values); statements.add(insertStatement); insertStatements.add(insertStatement...
public class class_name { @Override public void printRanking(final Long user, final List<Pair<Long, Double>> scoredItems, final PrintStream out, final OUTPUT_FORMAT format) { final Map<Long, Double> scores = new HashMap<Long, Double>(); for (Pair<Long, Double> p : scoredItems) { scores....
public class class_name { @Override public void printRanking(final Long user, final List<Pair<Long, Double>> scoredItems, final PrintStream out, final OUTPUT_FORMAT format) { final Map<Long, Double> scores = new HashMap<Long, Double>(); for (Pair<Long, Double> p : scoredItems) { scores....
public class class_name { private static List<String> getYearSpan(int startYear, int endYear) { List<String> result = new ArrayList<String>(); for (int i = startYear; i <= endYear; i++) { String dateStr = String.valueOf(i); result.add(dateStr); } return result; ...
public class class_name { private static List<String> getYearSpan(int startYear, int endYear) { List<String> result = new ArrayList<String>(); for (int i = startYear; i <= endYear; i++) { String dateStr = String.valueOf(i); result.add(dateStr); // depends on control dependency:...
public class class_name { private String queryPlaceholder(int length) { StringBuilder sb = new StringBuilder(length * 2 + 1); sb.append("(?"); for (int i = 1; i < length; i++) { sb.append(",?"); } sb.append(")"); return sb.toString(); } }
public class class_name { private String queryPlaceholder(int length) { StringBuilder sb = new StringBuilder(length * 2 + 1); sb.append("(?"); for (int i = 1; i < length; i++) { sb.append(",?"); // depends on control dependency: [for], data = [none] } sb.append(")");...
public class class_name { public String getState() throws CmsException { if (CmsStringUtil.isNotEmpty(getParamResource())) { CmsResource file = getCms().readResource(getParamResource(), CmsResourceFilter.ALL); if (getCms().isInsideCurrentProject(getParamResource())) { r...
public class class_name { public String getState() throws CmsException { if (CmsStringUtil.isNotEmpty(getParamResource())) { CmsResource file = getCms().readResource(getParamResource(), CmsResourceFilter.ALL); if (getCms().isInsideCurrentProject(getParamResource())) { r...
public class class_name { @Override public Configuration register(Class<?> endpointClass) { try { if(endpointClass.isAnnotationPresent(Config.class)) { Configuration configuration = endpointClass.getAnnotation(Config.class).value().newInstance(); HttpClient httpClient = configuration.htt...
public class class_name { @Override public Configuration register(Class<?> endpointClass) { try { if(endpointClass.isAnnotationPresent(Config.class)) { Configuration configuration = endpointClass.getAnnotation(Config.class).value().newInstance(); HttpClient httpClient = configuration.htt...
public class class_name { public <E> E fromThriftRow(Class<E> clazz, EntityMetadata m, DataRow<SuperColumn> tr) throws Exception { // Instantiate a new instance E e = null; // Set row-key. Note: // Get a name->field map for super-columns Map<String, Field> columnNameToFie...
public class class_name { public <E> E fromThriftRow(Class<E> clazz, EntityMetadata m, DataRow<SuperColumn> tr) throws Exception { // Instantiate a new instance E e = null; // Set row-key. Note: // Get a name->field map for super-columns Map<String, Field> columnNameToFie...
public class class_name { public FluidItem createFlowItem( FluidItem flowJobItemParam, String flowNameParam) { if (flowJobItemParam != null && this.serviceTicket != null) { flowJobItemParam.setServiceTicket(this.serviceTicket); } //Flow Job Item Step etc......
public class class_name { public FluidItem createFlowItem( FluidItem flowJobItemParam, String flowNameParam) { if (flowJobItemParam != null && this.serviceTicket != null) { flowJobItemParam.setServiceTicket(this.serviceTicket); // depends on control dependency: [if], data =...
public class class_name { private void process(ImmutableSetMultimap<Class<? extends Annotation>, Element> validElements) { for (ProcessingStep step : steps) { ImmutableSetMultimap<Class<? extends Annotation>, Element> stepElements = new ImmutableSetMultimap.Builder<Class<? extends Annotation>, Elem...
public class class_name { private void process(ImmutableSetMultimap<Class<? extends Annotation>, Element> validElements) { for (ProcessingStep step : steps) { ImmutableSetMultimap<Class<? extends Annotation>, Element> stepElements = new ImmutableSetMultimap.Builder<Class<? extends Annotation>, Elem...
public class class_name { private void pdb_EXPDTA_Handler(String line) { String technique ; if (line.length() > 69) technique = line.substring (10, 70).trim() ; else technique = line.substring(10).trim(); for (String singleTechnique: technique.split(";\\s+")) { pdbHeader.setExperimentalTechnique(si...
public class class_name { private void pdb_EXPDTA_Handler(String line) { String technique ; if (line.length() > 69) technique = line.substring (10, 70).trim() ; else technique = line.substring(10).trim(); for (String singleTechnique: technique.split(";\\s+")) { pdbHeader.setExperimentalTechnique(si...
public class class_name { private void initSeLionRemoteProxySpecificValues(RemoteProxy proxy) { if (SeLionRemoteProxy.class.getCanonicalName().equals( proxy.getOriginalRegistrationRequest().getConfiguration().proxy)) { SeLionRemoteProxy srp = (SeLionRemoteProxy) proxy; ...
public class class_name { private void initSeLionRemoteProxySpecificValues(RemoteProxy proxy) { if (SeLionRemoteProxy.class.getCanonicalName().equals( proxy.getOriginalRegistrationRequest().getConfiguration().proxy)) { SeLionRemoteProxy srp = (SeLionRemoteProxy) proxy; ...
public class class_name { public ParameterParser getFormParamParser(String url) { List<Context> contexts = getContextsForUrl(url); if (contexts.size() > 0) { return contexts.get(0).getPostParamParser(); } return this.defaultParamParser; } }
public class class_name { public ParameterParser getFormParamParser(String url) { List<Context> contexts = getContextsForUrl(url); if (contexts.size() > 0) { return contexts.get(0).getPostParamParser(); // depends on control dependency: [if], data = [0)] } return this.defaultParamParser; } }
public class class_name { public WorkflowExecutionInfos withExecutionInfos(WorkflowExecutionInfo... executionInfos) { if (this.executionInfos == null) { setExecutionInfos(new java.util.ArrayList<WorkflowExecutionInfo>(executionInfos.length)); } for (WorkflowExecutionInfo ele : execu...
public class class_name { public WorkflowExecutionInfos withExecutionInfos(WorkflowExecutionInfo... executionInfos) { if (this.executionInfos == null) { setExecutionInfos(new java.util.ArrayList<WorkflowExecutionInfo>(executionInfos.length)); // depends on control dependency: [if], data = [none] ...
public class class_name { public int nz_index( int row , int col ) { int col0 = col_idx[col]; int col1 = col_idx[col+1]; for (int i = col0; i < col1; i++) { if( nz_rows[i] == row ) { return i; } } return -1; } }
public class class_name { public int nz_index( int row , int col ) { int col0 = col_idx[col]; int col1 = col_idx[col+1]; for (int i = col0; i < col1; i++) { if( nz_rows[i] == row ) { return i; // depends on control dependency: [if], data = [none] } ...
public class class_name { private boolean handleException(final Throwable t, final HttpServletResponse resp, final boolean serverError) { if (serverError) { return true; } try { error(t); sendError(t, resp); return...
public class class_name { private boolean handleException(final Throwable t, final HttpServletResponse resp, final boolean serverError) { if (serverError) { return true; // depends on control dependency: [if], data = [none] } try { ...
public class class_name { public Token getMetaDataToken() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getMetaDataToken"); SibTr.exit(this, tc, "getMetaDataToken", "return=" + _metaDataToken); } return _metaDataT...
public class class_name { public Token getMetaDataToken() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getMetaDataToken"); // depends on control dependency: [if], data = [none] SibTr.exit(this, tc, "getMetaDataToken", "return=" ...
public class class_name { public List<JAXBElement<Object>> get_GenericApplicationPropertyOfBridgePart() { if (_GenericApplicationPropertyOfBridgePart == null) { _GenericApplicationPropertyOfBridgePart = new ArrayList<JAXBElement<Object>>(); } return this._GenericApplicationPropertyO...
public class class_name { public List<JAXBElement<Object>> get_GenericApplicationPropertyOfBridgePart() { if (_GenericApplicationPropertyOfBridgePart == null) { _GenericApplicationPropertyOfBridgePart = new ArrayList<JAXBElement<Object>>(); // depends on control dependency: [if], data = [none] ...
public class class_name { static void render(List<AbstractConfigValue> stack, StringBuilder sb, int indent, boolean atRoot, String atKey, ConfigRenderOptions options) { boolean commentMerge = options.getComments(); if (commentMerge) { sb.append("# unresolved merge of " + stack.s...
public class class_name { static void render(List<AbstractConfigValue> stack, StringBuilder sb, int indent, boolean atRoot, String atKey, ConfigRenderOptions options) { boolean commentMerge = options.getComments(); if (commentMerge) { sb.append("# unresolved merge of " + stack.s...
public class class_name { public boolean delete(DeleteAction deleteAction, DeleteActionModifier deleteActionModifier) { if (deleteActionModifier != null) { deleteAction = deleteActionModifier.modifyDeleteAction(deleteAction); } return delete(deleteAction); } }
public class class_name { public boolean delete(DeleteAction deleteAction, DeleteActionModifier deleteActionModifier) { if (deleteActionModifier != null) { deleteAction = deleteActionModifier.modifyDeleteAction(deleteAction); // depends on control dependency: [if], data = [none] } return delete...
public class class_name { public void sessionAttributeAccessed(ISession session, Object key, Object value) { // ArrayList sessionStateObservers = null; /* * Check to see if there is a non-empty list of sessionStateObservers. */ if (_sessionStateObservers == null || _sessionSt...
public class class_name { public void sessionAttributeAccessed(ISession session, Object key, Object value) { // ArrayList sessionStateObservers = null; /* * Check to see if there is a non-empty list of sessionStateObservers. */ if (_sessionStateObservers == null || _sessionSt...
public class class_name { public TabbedPanel2 getTabbedSelect() { if (tabbedSelect == null) { tabbedSelect = new TabbedPanel2(); tabbedSelect.setPreferredSize(new Dimension(200, 400)); tabbedSelect.setName("tabbedSelect"); tabbedSelect.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); } ...
public class class_name { public TabbedPanel2 getTabbedSelect() { if (tabbedSelect == null) { tabbedSelect = new TabbedPanel2(); // depends on control dependency: [if], data = [none] tabbedSelect.setPreferredSize(new Dimension(200, 400)); // depends on control dependency: [if], data = [none] tabbedSelec...
public class class_name { @SafeVarargs public static <K, V> Map<K, V> map(final Entry<? extends K, ? extends V>... entries) { final Map<K, V> map = new LinkedHashMap<K, V>(entries.length); for (final Entry<? extends K, ? extends V> entry : entries) { map.put(entry.getKey(), entry.getVal...
public class class_name { @SafeVarargs public static <K, V> Map<K, V> map(final Entry<? extends K, ? extends V>... entries) { final Map<K, V> map = new LinkedHashMap<K, V>(entries.length); for (final Entry<? extends K, ? extends V> entry : entries) { map.put(entry.getKey(), entry.getVal...
public class class_name { private Schema flattenUnion(Schema schema, boolean shouldPopulateLineage, boolean flattenComplexTypes) { Preconditions.checkNotNull(schema); Preconditions.checkArgument(Schema.Type.UNION.equals(schema.getType())); Schema flattenedSchema; List<Schema> flattenedUnionMembers = ...
public class class_name { private Schema flattenUnion(Schema schema, boolean shouldPopulateLineage, boolean flattenComplexTypes) { Preconditions.checkNotNull(schema); Preconditions.checkArgument(Schema.Type.UNION.equals(schema.getType())); Schema flattenedSchema; List<Schema> flattenedUnionMembers = ...
public class class_name { @SuppressWarnings("unchecked") @Override public Boolean execute() { for(int i = 0 ; i < agents.length ; i++) { createRoom(i); } return Boolean.TRUE; } }
public class class_name { @SuppressWarnings("unchecked") @Override public Boolean execute() { for(int i = 0 ; i < agents.length ; i++) { createRoom(i); // depends on control dependency: [for], data = [i] } return Boolean.TRUE; } }
public class class_name { public static final void texture(final Shape shape, Image image, final TexCoordGenerator gen) { Texture t = TextureImpl.getLastBind(); image.getTexture().bind(); final float center[] = shape.getCenter(); fill(shape, new PointCallback() { public floa...
public class class_name { public static final void texture(final Shape shape, Image image, final TexCoordGenerator gen) { Texture t = TextureImpl.getLastBind(); image.getTexture().bind(); final float center[] = shape.getCenter(); fill(shape, new PointCallback() { public floa...
public class class_name { protected void ensureColKey(E key) { if (!colKeys.containsKey(key)) { colKeys.put(key, colKeys.size()); addCol(); } } }
public class class_name { protected void ensureColKey(E key) { if (!colKeys.containsKey(key)) { colKeys.put(key, colKeys.size()); // depends on control dependency: [if], data = [none] addCol(); // depends on control dependency: [if], data = [none] } } }
public class class_name { @Override public String getActions() { StringBuffer actions = new StringBuffer(); if (methodName != null) actions.append(methodName); if (methodInterface != null) { actions.append(','); actions.append(methodInterface); } els...
public class class_name { @Override public String getActions() { StringBuffer actions = new StringBuffer(); if (methodName != null) actions.append(methodName); if (methodInterface != null) { actions.append(','); // depends on control dependency: [if], data = [none] ...
public class class_name { static InstallState getNextInstallState(InstallState current) { List<Function<Provider<InstallState>,InstallState>> installStateFilterChain = new ArrayList<>(); for (InstallStateFilter setupExtension : InstallStateFilter.all()) { installStateFilterChain.add(next ->...
public class class_name { static InstallState getNextInstallState(InstallState current) { List<Function<Provider<InstallState>,InstallState>> installStateFilterChain = new ArrayList<>(); for (InstallStateFilter setupExtension : InstallStateFilter.all()) { installStateFilterChain.add(next ->...
public class class_name { public ListImportsResult withImports(String... imports) { if (this.imports == null) { setImports(new com.amazonaws.internal.SdkInternalList<String>(imports.length)); } for (String ele : imports) { this.imports.add(ele); } return ...
public class class_name { public ListImportsResult withImports(String... imports) { if (this.imports == null) { setImports(new com.amazonaws.internal.SdkInternalList<String>(imports.length)); // depends on control dependency: [if], data = [none] } for (String ele : imports) { ...
public class class_name { public AwsSecurityFindingFilters withSourceUrl(StringFilter... sourceUrl) { if (this.sourceUrl == null) { setSourceUrl(new java.util.ArrayList<StringFilter>(sourceUrl.length)); } for (StringFilter ele : sourceUrl) { this.sourceUrl.add(ele); ...
public class class_name { public AwsSecurityFindingFilters withSourceUrl(StringFilter... sourceUrl) { if (this.sourceUrl == null) { setSourceUrl(new java.util.ArrayList<StringFilter>(sourceUrl.length)); // depends on control dependency: [if], data = [none] } for (StringFilter ele : ...
public class class_name { private File createNewUniqueFile(File srcFile) throws IOException { String dateString = getDateString(); int index = findFileIndexAndUpdateCounter(dateString); String destFileName; File destFile; do { int counter = lastCounter++; ...
public class class_name { private File createNewUniqueFile(File srcFile) throws IOException { String dateString = getDateString(); int index = findFileIndexAndUpdateCounter(dateString); String destFileName; File destFile; do { int counter = lastCounter++; ...
public class class_name { public ProjectTask getDetailChildren() { if (m_recDetailChildren == null) { RecordOwner recordOwner = this.getRecordOwner(); m_recDetailChildren = new ProjectTask(recordOwner); if (recordOwner != null) recordOwner.removeR...
public class class_name { public ProjectTask getDetailChildren() { if (m_recDetailChildren == null) { RecordOwner recordOwner = this.getRecordOwner(); m_recDetailChildren = new ProjectTask(recordOwner); // depends on control dependency: [if], data = [none] if (re...
public class class_name { @Override public void set(String propName, Object value) { if (propName.equals("mappedProperties")) { getMappedProperties().add(((String) value)); } super.set(propName, value); } }
public class class_name { @Override public void set(String propName, Object value) { if (propName.equals("mappedProperties")) { getMappedProperties().add(((String) value)); // depends on control dependency: [if], data = [none] } super.set(propName, value); } }
public class class_name { public Query query(Schema schema, Query range) { BooleanQuery.Builder builder = new BooleanQuery.Builder(); if (range != null) { builder.add(range, FILTER); } filter.forEach(condition -> builder.add(condition.query(schema), FILTER)); query...
public class class_name { public Query query(Schema schema, Query range) { BooleanQuery.Builder builder = new BooleanQuery.Builder(); if (range != null) { builder.add(range, FILTER); // depends on control dependency: [if], data = [(range] } filter.forEach(condition -> buil...
public class class_name { public boolean isRevoked(Certificate cert) { if (revokedMap.isEmpty() || (!(cert instanceof X509Certificate))) { return false; } X509Certificate xcert = (X509Certificate) cert; X509IssuerSerial issuerSerial = new X509IssuerSerial(xcert); ret...
public class class_name { public boolean isRevoked(Certificate cert) { if (revokedMap.isEmpty() || (!(cert instanceof X509Certificate))) { return false; // depends on control dependency: [if], data = [none] } X509Certificate xcert = (X509Certificate) cert; X509IssuerSerial i...
public class class_name { public static ClassLoader getClassLoader(Class<?> cls) { ClassLoader cl = null; try { cl = Thread.currentThread().getContextClassLoader(); } catch (Throwable ex) { // Cannot access thread context ClassLoader - falling back to system ...
public class class_name { public static ClassLoader getClassLoader(Class<?> cls) { ClassLoader cl = null; try { cl = Thread.currentThread().getContextClassLoader(); // depends on control dependency: [try], data = [none] } catch (Throwable ex) { // Cannot access thre...
public class class_name { public final void put(final String pNm, final String pVal) { if (isId(pNm)) { if (this.idStrs == null) { this.idStrs = new HashMap<String, String>(); } this.idStrs.put(pNm, pVal); } else { if (this.strs == null) { this.strs = new HashMap<String,...
public class class_name { public final void put(final String pNm, final String pVal) { if (isId(pNm)) { if (this.idStrs == null) { this.idStrs = new HashMap<String, String>(); // depends on control dependency: [if], data = [none] } this.idStrs.put(pNm, pVal); // depends on control depende...
public class class_name { public synchronized void close() { LOGGER.debug("disconnect from {}", socket); byte[] header = new byte[OtherConstants.FDFS_PROTO_PKG_LEN_SIZE + 2]; Arrays.fill(header, (byte) 0); byte[] hex_len = BytesUtil.long2buff(0); System.arraycopy(hex_len, 0, he...
public class class_name { public synchronized void close() { LOGGER.debug("disconnect from {}", socket); byte[] header = new byte[OtherConstants.FDFS_PROTO_PKG_LEN_SIZE + 2]; Arrays.fill(header, (byte) 0); byte[] hex_len = BytesUtil.long2buff(0); System.arraycopy(hex_len, 0, he...
public class class_name { protected boolean canRead(MediaType mediaType) { if (mediaType == null) { return true; } for (MediaType supportedMediaType : getSupportedMediaTypes()) { if (supportedMediaType.includes(mediaType)) { return true; } } return false; } }
public class class_name { protected boolean canRead(MediaType mediaType) { if (mediaType == null) { return true; // depends on control dependency: [if], data = [none] } for (MediaType supportedMediaType : getSupportedMediaTypes()) { if (supportedMediaType.includes(mediaType)) { return true; // depends ...
public class class_name { public static void expandNodes(@NonNull JTree tree) { for (int i = 0; i < tree.getRowCount(); i++) { tree.expandRow(i); } } }
public class class_name { public static void expandNodes(@NonNull JTree tree) { for (int i = 0; i < tree.getRowCount(); i++) { tree.expandRow(i); // depends on control dependency: [for], data = [i] } } }
public class class_name { public final void aggCallSite(AggItem aggItem) throws RecognitionException { Token x=null; Token y=null; String p =null; try { // druidG.g:458:2: (p= aggFunc ( ( WS )? LPARAN ( WS )? (x= ID ) ( ( WS )? ',' ( WS )? y= ID )* ( WS )? RPARAN ) | COUNT ( '(*)' ) ) int alt198=2; i...
public class class_name { public final void aggCallSite(AggItem aggItem) throws RecognitionException { Token x=null; Token y=null; String p =null; try { // druidG.g:458:2: (p= aggFunc ( ( WS )? LPARAN ( WS )? (x= ID ) ( ( WS )? ',' ( WS )? y= ID )* ( WS )? RPARAN ) | COUNT ( '(*)' ) ) int alt198=2; i...
public class class_name { private Parser<Class<?>> arrayClass() { Parser<Class<?>> arrayType = FQN.next(name -> { // Only invoked when we already see a "[" at the beginning. Class<?> primitiveArray = PRIMITIVE_ARRAY_TYPES.get("[" + name); if (primitiveArray != null) return Parsers.constant(...
public class class_name { private Parser<Class<?>> arrayClass() { Parser<Class<?>> arrayType = FQN.next(name -> { // Only invoked when we already see a "[" at the beginning. Class<?> primitiveArray = PRIMITIVE_ARRAY_TYPES.get("[" + name); if (primitiveArray != null) return Parsers.constant(...
public class class_name { public static StatusJson wrapState(PipelineStatus status) { if(status == null) { return null; } switch(status) { case STOPPED: return StatusJson.STOPPED; case STOPPING: return StatusJson.STOPPING; case RUNNING: return StatusJson.RUNN...
public class class_name { public static StatusJson wrapState(PipelineStatus status) { if(status == null) { return null; // depends on control dependency: [if], data = [none] } switch(status) { case STOPPED: return StatusJson.STOPPED; case STOPPING: return StatusJson.STOPPI...
public class class_name { public EClass getIfcColourOrFactor() { if (ifcColourOrFactorEClass == null) { ifcColourOrFactorEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(943); } return ifcColourOrFactorEClass; } }
public class class_name { public EClass getIfcColourOrFactor() { if (ifcColourOrFactorEClass == null) { ifcColourOrFactorEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(943); // depends on control dependency: [if], data = [none] } return ifcC...
public class class_name { private RRBudgetDocument getRRBudget() { deleteAutoGenNarratives(); RRBudgetDocument rrBudgetDocument = RRBudgetDocument.Factory .newInstance(); RRBudget rrBudget = RRBudget.Factory.newInstance(); rrBudget.setFormVersion(FormVersion.v1_1.getVersion()); if (pdDoc.getDevelopmen...
public class class_name { private RRBudgetDocument getRRBudget() { deleteAutoGenNarratives(); RRBudgetDocument rrBudgetDocument = RRBudgetDocument.Factory .newInstance(); RRBudget rrBudget = RRBudget.Factory.newInstance(); rrBudget.setFormVersion(FormVersion.v1_1.getVersion()); if (pdDoc.getDevelopmen...
public class class_name { public void setSecurityGroupIdList(java.util.Collection<String> securityGroupIdList) { if (securityGroupIdList == null) { this.securityGroupIdList = null; return; } this.securityGroupIdList = new java.util.ArrayList<String>(securityGroupIdList)...
public class class_name { public void setSecurityGroupIdList(java.util.Collection<String> securityGroupIdList) { if (securityGroupIdList == null) { this.securityGroupIdList = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data...
public class class_name { @Override public IScan getScanByNumLower(int scanNum) { IScan scan = getNum2scan().lowerEntry(scanNum).getValue(); if (scan != null) { return scan; } return null; } }
public class class_name { @Override public IScan getScanByNumLower(int scanNum) { IScan scan = getNum2scan().lowerEntry(scanNum).getValue(); if (scan != null) { return scan; // depends on control dependency: [if], data = [none] } return null; } }
public class class_name { private void emitSuiteStart(Description description, long startTimestamp) throws IOException { String suiteName = description.getDisplayName(); if (useSimpleNames) { if (suiteName.lastIndexOf('.') >= 0) { suiteName = suiteName.substring(suiteName.lastIndexOf('.') + 1); ...
public class class_name { private void emitSuiteStart(Description description, long startTimestamp) throws IOException { String suiteName = description.getDisplayName(); if (useSimpleNames) { if (suiteName.lastIndexOf('.') >= 0) { suiteName = suiteName.substring(suiteName.lastIndexOf('.') + 1); /...
public class class_name { @Override public void moveLocation(double extrp, Direction direction, Direction... directions) { double vx = direction.getDirectionHorizontal(); double vy = direction.getDirectionVertical(); for (final Direction current : directions) { vx +...
public class class_name { @Override public void moveLocation(double extrp, Direction direction, Direction... directions) { double vx = direction.getDirectionHorizontal(); double vy = direction.getDirectionVertical(); for (final Direction current : directions) { vx +...
public class class_name { public void execute(Context context) throws ActionExecutionException{ Action action = checkNotNull(getChild()); // start a timer that will set the timesup flag to true Timer timer = new Timer(); TimerTask task = new TimerTask(){ @Override public void run() { timesupFlag =...
public class class_name { public void execute(Context context) throws ActionExecutionException{ Action action = checkNotNull(getChild()); // start a timer that will set the timesup flag to true Timer timer = new Timer(); TimerTask task = new TimerTask(){ @Override public void run() { timesupFlag =...
public class class_name { public Observable<ServiceResponse<Page<RouteFilterRuleInner>>> listByRouteFilterNextSinglePageAsync(final String nextPageLink) { if (nextPageLink == null) { throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); } Stri...
public class class_name { public Observable<ServiceResponse<Page<RouteFilterRuleInner>>> listByRouteFilterNextSinglePageAsync(final String nextPageLink) { if (nextPageLink == null) { throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); } Stri...
public class class_name { @Override public EClass getIfcDraughtingPreDefinedColour() { if (ifcDraughtingPreDefinedColourEClass == null) { ifcDraughtingPreDefinedColourEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI) .getEClassifiers().get(198); } return ifcDraughtingPr...
public class class_name { @Override public EClass getIfcDraughtingPreDefinedColour() { if (ifcDraughtingPreDefinedColourEClass == null) { ifcDraughtingPreDefinedColourEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI) .getEClassifiers().get(198); // depends on control depende...
public class class_name { public static void main(String[] args) { String[] argsDefault = {}; // String[] argsDefault = {"local=Jdbc", "remote=Jdbc", "table=Jdbc", "databaseproduct=cloudscape"}; if ((args == null) || (args.length == 0)) args = argsDefault; Map<String,Obje...
public class class_name { public static void main(String[] args) { String[] argsDefault = {}; // String[] argsDefault = {"local=Jdbc", "remote=Jdbc", "table=Jdbc", "databaseproduct=cloudscape"}; if ((args == null) || (args.length == 0)) args = argsDefault; Map<String,Obje...
public class class_name { @Trivial public static void printTrace(String key, Object value, int tabLevel) { if (tc.isDebugEnabled()) { StringBuilder msg = new StringBuilder(); for (int count = 0; count < tabLevel; count++) { msg.append("\t"); } ...
public class class_name { @Trivial public static void printTrace(String key, Object value, int tabLevel) { if (tc.isDebugEnabled()) { StringBuilder msg = new StringBuilder(); for (int count = 0; count < tabLevel; count++) { msg.append("\t"); // depends on control dep...
public class class_name { private Set<Location> waitForTasksCompleted() { try { Set<Location> targets = new HashSet<>(); FutureTask<Set<Location>> task; while ((task = tasks.poll()) != null) { // wait for completion if (!task.isDone()) ...
public class class_name { private Set<Location> waitForTasksCompleted() { try { Set<Location> targets = new HashSet<>(); FutureTask<Set<Location>> task; while ((task = tasks.poll()) != null) { // wait for completion if (!task.isDone()) ...
public class class_name { @Override public boolean listenToResultSet(final BenchmarkMethod meth, final AbstractMeter meter, final double data) { Method m = meth.getMethodToBench(); final PrintStream stream = setUpNewPrintStream(false, m.getDeclaringClass().getSimpleName(), m.getName(), meter.getNam...
public class class_name { @Override public boolean listenToResultSet(final BenchmarkMethod meth, final AbstractMeter meter, final double data) { Method m = meth.getMethodToBench(); final PrintStream stream = setUpNewPrintStream(false, m.getDeclaringClass().getSimpleName(), m.getName(), meter.getNam...
public class class_name { public Optional<InputStream> getResourceAsStream(String path) { if (!isDirectory(path)) { return Optional.ofNullable(classLoader.getResourceAsStream(prefixPath(path))); } return Optional.empty(); } }
public class class_name { public Optional<InputStream> getResourceAsStream(String path) { if (!isDirectory(path)) { return Optional.ofNullable(classLoader.getResourceAsStream(prefixPath(path))); // depends on control dependency: [if], data = [none] } return Optional.empty(); } }
public class class_name { public void setExcludedMembers(java.util.Collection<String> excludedMembers) { if (excludedMembers == null) { this.excludedMembers = null; return; } this.excludedMembers = new com.amazonaws.internal.SdkInternalList<String>(excludedMembers); ...
public class class_name { public void setExcludedMembers(java.util.Collection<String> excludedMembers) { if (excludedMembers == null) { this.excludedMembers = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] ...
public class class_name { @Override public IPermission newPermission(String owner, IAuthorizationPrincipal principal) { IPermission p = getPermissionStore().newInstance(owner); if (principal != null) { String pString = getPrincipalString(principal); p.setPrincipal(pString); ...
public class class_name { @Override public IPermission newPermission(String owner, IAuthorizationPrincipal principal) { IPermission p = getPermissionStore().newInstance(owner); if (principal != null) { String pString = getPrincipalString(principal); p.setPrincipal(pString); ...
public class class_name { static StatsData aggregateStats(Collection<StatsData> dataSet) { StatsData combined = new StatsData(); for (StatsData stats : dataSet) { if (stats.count == 0) { continue; } if (combined.total == 0) { combined....
public class class_name { static StatsData aggregateStats(Collection<StatsData> dataSet) { StatsData combined = new StatsData(); for (StatsData stats : dataSet) { if (stats.count == 0) { continue; } if (combined.total == 0) { combined....
public class class_name { public void setNotificationConfigurations(java.util.Collection<NotificationConfiguration> notificationConfigurations) { if (notificationConfigurations == null) { this.notificationConfigurations = null; return; } this.notificationConfigurations ...
public class class_name { public void setNotificationConfigurations(java.util.Collection<NotificationConfiguration> notificationConfigurations) { if (notificationConfigurations == null) { this.notificationConfigurations = null; // depends on control dependency: [if], data = [none] retur...
public class class_name { public Vector<Object> getSpecifications(Vector<Object> systemUnderTestParams, Vector<Object> repositoryParams) { try { Repository repository = loadRepository( repositoryParams ); SystemUnderTest systemUnderTest = XmlRpcDataMarshaller.toSystemUnderT...
public class class_name { public Vector<Object> getSpecifications(Vector<Object> systemUnderTestParams, Vector<Object> repositoryParams) { try { Repository repository = loadRepository( repositoryParams ); SystemUnderTest systemUnderTest = XmlRpcDataMarshaller.toSystemUnderT...
public class class_name { public Expression genObjToPass( CallNode callNode, TemplateAliases templateAliases, TranslationContext translationContext, ErrorReporter errorReporter, TranslateExprNodeVisitor exprTranslator) { // ------ Generate the expression for the original data to pass...
public class class_name { public Expression genObjToPass( CallNode callNode, TemplateAliases templateAliases, TranslationContext translationContext, ErrorReporter errorReporter, TranslateExprNodeVisitor exprTranslator) { // ------ Generate the expression for the original data to pass...
public class class_name { private void displayTable(TransferTable t) { tCurrent = t; if (t == null) { return; } tSourceTable.setText(t.Stmts.sSourceTable); tDestTable.setText(t.Stmts.sDestTable); tDestDrop.setText(t.Stmts.sDestDrop); tDestCreateInd...
public class class_name { private void displayTable(TransferTable t) { tCurrent = t; if (t == null) { return; // depends on control dependency: [if], data = [none] } tSourceTable.setText(t.Stmts.sSourceTable); tDestTable.setText(t.Stmts.sDestTable); tDestD...
public class class_name { private Inflater getInflater() { Inflater inf; synchronized (inflaterCache) { while (null != (inf = inflaterCache.poll())) { if (false == inf.ended()) { return inf; } } } return new Inf...
public class class_name { private Inflater getInflater() { Inflater inf; synchronized (inflaterCache) { while (null != (inf = inflaterCache.poll())) { if (false == inf.ended()) { return inf; // depends on control dependency: [if], data = [none] ...
public class class_name { ObjectType findCommonSuperObject(ObjectType a, ObjectType b) { List<ObjectType> stackA = getSuperStack(a); List<ObjectType> stackB = getSuperStack(b); ObjectType result = getNativeObjectType(JSTypeNative.OBJECT_TYPE); while (!stackA.isEmpty() && !stackB.isEmpty()) { Obj...
public class class_name { ObjectType findCommonSuperObject(ObjectType a, ObjectType b) { List<ObjectType> stackA = getSuperStack(a); List<ObjectType> stackB = getSuperStack(b); ObjectType result = getNativeObjectType(JSTypeNative.OBJECT_TYPE); while (!stackA.isEmpty() && !stackB.isEmpty()) { Obj...
public class class_name { void clearCache(Entity entity, String name) { final Asset asset = getAsset(entity); IAttributeDefinition def = null; if (name != null) { def = asset.getAssetType().getAttributeDefinition(name); } asset.clearAttributeCache(def); } }
public class class_name { void clearCache(Entity entity, String name) { final Asset asset = getAsset(entity); IAttributeDefinition def = null; if (name != null) { def = asset.getAssetType().getAttributeDefinition(name); // depends on control dependency: [if], data = [(name] ...
public class class_name { Collection<FutureReadResultEntry> poll(long maxOffset) { List<FutureReadResultEntry> result = new ArrayList<>(); synchronized (this.reads) { Exceptions.checkNotClosed(this.closed, this); // 'reads' is sorted by Starting Offset, in ascending order. As l...
public class class_name { Collection<FutureReadResultEntry> poll(long maxOffset) { List<FutureReadResultEntry> result = new ArrayList<>(); synchronized (this.reads) { Exceptions.checkNotClosed(this.closed, this); // 'reads' is sorted by Starting Offset, in ascending order. As l...
public class class_name { @Override protected Object createPoolOrConnection() { PersistenceUnitMetadata persistenceUnitMetadata = kunderaMetadata.getApplicationMetadata() .getPersistenceUnitMetadata(getPersistenceUnit()); Properties props = persistenceUnitMetadata.getProperties...
public class class_name { @Override protected Object createPoolOrConnection() { PersistenceUnitMetadata persistenceUnitMetadata = kunderaMetadata.getApplicationMetadata() .getPersistenceUnitMetadata(getPersistenceUnit()); Properties props = persistenceUnitMetadata.getProperties...
public class class_name { public static BufferedImage loadPGM( InputStream inputStream , BufferedImage storage ) throws IOException { DataInputStream in = new DataInputStream(inputStream); readLine(in); String line = readLine(in); while( line.charAt(0) == '#') line = readLine(in); String s[] = line.split...
public class class_name { public static BufferedImage loadPGM( InputStream inputStream , BufferedImage storage ) throws IOException { DataInputStream in = new DataInputStream(inputStream); readLine(in); String line = readLine(in); while( line.charAt(0) == '#') line = readLine(in); String s[] = line.split...
public class class_name { public static base_responses add(nitro_service client, vpntrafficaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vpntrafficaction addresources[] = new vpntrafficaction[resources.length]; for (int i=0;i<resources.l...
public class class_name { public static base_responses add(nitro_service client, vpntrafficaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vpntrafficaction addresources[] = new vpntrafficaction[resources.length]; for (int i=0;i<resources.l...
public class class_name { public boolean isSupported(DurationFieldType type) { if (type == null) { return false; } return type.getField(getChronology()).isSupported(); } }
public class class_name { public boolean isSupported(DurationFieldType type) { if (type == null) { return false; // depends on control dependency: [if], data = [none] } return type.getField(getChronology()).isSupported(); } }
public class class_name { @Override public void endDocument(MetaData metadata) { for (Listener listener : this.listeners) { listener.endDocument(metadata); } } }
public class class_name { @Override public void endDocument(MetaData metadata) { for (Listener listener : this.listeners) { listener.endDocument(metadata); // depends on control dependency: [for], data = [listener] } } }
public class class_name { private void handleRedundantConnect() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "handleRedundantConnect, vc=" + getVCHash()); } // This conn link has already been connected. // Need to shut get a new SSL engin...
public class class_name { private void handleRedundantConnect() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "handleRedundantConnect, vc=" + getVCHash()); // depends on control dependency: [if], data = [none] } // This conn link has already been ...
public class class_name { static Integer convertToInt(SessionInterface session, Object a, int type) { int value; if (a instanceof Integer) { if (type == Types.SQL_INTEGER) { return (Integer) a; } value = ((Integer) a).intValue(); } else if ...
public class class_name { static Integer convertToInt(SessionInterface session, Object a, int type) { int value; if (a instanceof Integer) { if (type == Types.SQL_INTEGER) { return (Integer) a; // depends on control dependency: [if], data = [none] } ...
public class class_name { @Override public final String getFor(final Class<?> pClass, final String pThingName) { if ("entityEdit".equals(pThingName) && pClass == Cart.class) { return null; } else if (pClass == CustOrder.class) { if ("entitySave".equals(pThingName)) { return PrCuOrSv.class...
public class class_name { @Override public final String getFor(final Class<?> pClass, final String pThingName) { if ("entityEdit".equals(pThingName) && pClass == Cart.class) { return null; // depends on control dependency: [if], data = [none] } else if (pClass == CustOrder.class) { if ("entitySav...
public class class_name { public void setIsOmit(boolean isOmit) { Element child = getFirstChild(root, childNames); boolean isAlreadyOmit = isDAVElement(child, "omit"); //$NON-NLS-1$ if (isOmit) { if (!isAlreadyOmit) { if (child != null) root.remov...
public class class_name { public void setIsOmit(boolean isOmit) { Element child = getFirstChild(root, childNames); boolean isAlreadyOmit = isDAVElement(child, "omit"); //$NON-NLS-1$ if (isOmit) { if (!isAlreadyOmit) { if (child != null) root.remov...
public class class_name { public SecurityGroup withIpPermissions(IpPermission... ipPermissions) { if (this.ipPermissions == null) { setIpPermissions(new com.amazonaws.internal.SdkInternalList<IpPermission>(ipPermissions.length)); } for (IpPermission ele : ipPermissions) { ...
public class class_name { public SecurityGroup withIpPermissions(IpPermission... ipPermissions) { if (this.ipPermissions == null) { setIpPermissions(new com.amazonaws.internal.SdkInternalList<IpPermission>(ipPermissions.length)); // depends on control dependency: [if], data = [none] } ...
public class class_name { protected void _before(SarlCapacityUses uses, IExtraLanguageGeneratorContext context) { // Rename the function in order to produce the good features at the calls. for (final JvmTypeReference capacity : uses.getCapacities()) { final JvmType type = capacity.getType(); if (type instanc...
public class class_name { protected void _before(SarlCapacityUses uses, IExtraLanguageGeneratorContext context) { // Rename the function in order to produce the good features at the calls. for (final JvmTypeReference capacity : uses.getCapacities()) { final JvmType type = capacity.getType(); if (type instanc...
public class class_name { public void addMessageSelectorFactory(MessageSelectorFactory<?> factory) { if (factory instanceof BeanFactoryAware) { ((BeanFactoryAware) factory).setBeanFactory(beanFactory); } this.factories.add(factory); } }
public class class_name { public void addMessageSelectorFactory(MessageSelectorFactory<?> factory) { if (factory instanceof BeanFactoryAware) { ((BeanFactoryAware) factory).setBeanFactory(beanFactory); // depends on control dependency: [if], data = [none] } this.factories.add(facto...
public class class_name { public SimpleDialog itemHeight(int height){ if(mItemHeight != height){ mItemHeight = height; if(mAdapter != null) mAdapter.notifyDataSetChanged(); } return this; } }
public class class_name { public SimpleDialog itemHeight(int height){ if(mItemHeight != height){ mItemHeight = height; // depends on control dependency: [if], data = [none] if(mAdapter != null) mAdapter.notifyDataSetChanged(); } return this; } }
public class class_name { @SuppressWarnings("unchecked") public static <T> T asType(Closure cl, Class<T> clazz) { if (clazz.isInterface() && !(clazz.isInstance(cl))) { if (Traits.isTrait(clazz)) { Method samMethod = CachedSAMClass.getSAMMethod(clazz); if (samMeth...
public class class_name { @SuppressWarnings("unchecked") public static <T> T asType(Closure cl, Class<T> clazz) { if (clazz.isInterface() && !(clazz.isInstance(cl))) { if (Traits.isTrait(clazz)) { Method samMethod = CachedSAMClass.getSAMMethod(clazz); if (samMeth...
public class class_name { private void bindValue(Session session, String name, Object value) { if (value instanceof SessionBindingListener) { ((SessionBindingListener)value).valueBound(session, name, value); } } }
public class class_name { private void bindValue(Session session, String name, Object value) { if (value instanceof SessionBindingListener) { ((SessionBindingListener)value).valueBound(session, name, value); // depends on control dependency: [if], data = [none] } } }
public class class_name { public void writeAll(List<String[]> allLines, boolean applyQuotesToAll) { for (String[] line : allLines) { writeNext(line, applyQuotesToAll); } } }
public class class_name { public void writeAll(List<String[]> allLines, boolean applyQuotesToAll) { for (String[] line : allLines) { writeNext(line, applyQuotesToAll); // depends on control dependency: [for], data = [line] } } }
public class class_name { public CtorInjectionPoint resolve(final Class type, final boolean useAnnotation) { // lookup methods ClassDescriptor cd = ClassIntrospector.get().lookup(type); CtorDescriptor[] allCtors = cd.getAllCtorDescriptors(); Constructor foundedCtor = null; Constructor defaultCtor = null; B...
public class class_name { public CtorInjectionPoint resolve(final Class type, final boolean useAnnotation) { // lookup methods ClassDescriptor cd = ClassIntrospector.get().lookup(type); CtorDescriptor[] allCtors = cd.getAllCtorDescriptors(); Constructor foundedCtor = null; Constructor defaultCtor = null; B...
public class class_name { public void delete(final T object, final SuccessCallback<Boolean> successCallback, final ErrorCallback errorCallback) { checkNotNull(successCallback); checkNotNull(errorCallback); checkNotNull(object); final Callable<Boolean> call = new Callable<Boolean>() { ...
public class class_name { public void delete(final T object, final SuccessCallback<Boolean> successCallback, final ErrorCallback errorCallback) { checkNotNull(successCallback); checkNotNull(errorCallback); checkNotNull(object); final Callable<Boolean> call = new Callable<Boolean>() { ...
public class class_name { public void setLocalVariable(String name, Term[] terms, Element value) throws EvaluationException { assert (name != null); // Only truly local variables can be set via this method. Throw an // exception if a global variable is found which matches the name. if (globalVariables.con...
public class class_name { public void setLocalVariable(String name, Term[] terms, Element value) throws EvaluationException { assert (name != null); // Only truly local variables can be set via this method. Throw an // exception if a global variable is found which matches the name. if (globalVariables.con...