This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
return isInContext(fullContext, elem);
}
private static List/*<CsmDeclaration>*/ mergeDeclarations(List/*<CsmDeclaration>*/ decls, List/*<CsmDeclaration>*/ newList) {
private static List/*<CsmDeclaration>*/ mergeDeclarations(List/*<CsmDeclaration>*/ prevScopeDecls, List/*<CsmDeclaration>*/ newScopeDecls) {
// XXX: now just add all
// new scope elements have priority
if (newList != null && newList.size() > 0) {
List res = new ArrayList();
decls.addAll(newList);
if (newScopeDecls != null && newScopeDecls.size() > 0) {
res.addAll(newScopeDecls);
return decls;
if (prevScopeDecls != null && prevScopeDecls.size() > 0) {
res.addAll(prevScopeDecls);
return res;
// public static void updateContextObject(CsmObject obj, CsmContext context) {