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.

View | Details | Raw Unified | Return to bug 187395
Collapse All | Expand All

(-)a/profiler/src/org/netbeans/modules/profiler/categories/MarkerProcessor.java (-2 / +2 lines)
Lines 272-278 Link Here
272
272
273
            Set<ElementHandle<TypeElement>> allImplementors = new HashSet<ElementHandle<TypeElement>>();
273
            Set<ElementHandle<TypeElement>> allImplementors = new HashSet<ElementHandle<TypeElement>>();
274
            Set<ElementHandle<TypeElement>> implementors = controller.getClasspathInfo().getClassIndex().getElements(ElementHandle.create(superElement), kind, scope);
274
            Set<ElementHandle<TypeElement>> implementors = controller.getClasspathInfo().getClassIndex().getElements(ElementHandle.create(superElement), kind, scope);
275
275
            
276
            do {
276
            do {
277
                Set<ElementHandle<TypeElement>> tmpImplementors = new HashSet<ElementHandle<TypeElement>>();
277
                Set<ElementHandle<TypeElement>> tmpImplementors = new HashSet<ElementHandle<TypeElement>>();
278
                allImplementors.addAll(implementors);
278
                allImplementors.addAll(implementors);
Lines 301-309 Link Here
301
        }
301
        }
302
        try {
302
        try {
303
            controller.toPhase(JavaSource.Phase.ELEMENTS_RESOLVED);
303
            controller.toPhase(JavaSource.Phase.ELEMENTS_RESOLVED);
304
305
            // process all methods from the implementor
304
            // process all methods from the implementor
306
            for (ExecutableElement method : ElementFilter.methodsIn(type.getEnclosedElements())) {
305
            for (ExecutableElement method : ElementFilter.methodsIn(type.getEnclosedElements())) {
306
            //for (ExecutableElement method : ElementFilter.methodsIn( controller.getElements().getAllMembers(type))) {
307
                if ((method.getKind() == ElementKind.METHOD) && !method.getModifiers().contains(Modifier.ABSTRACT)) {
307
                if ((method.getKind() == ElementKind.METHOD) && !method.getModifiers().contains(Modifier.ABSTRACT)) {
308
                    if ((inclusive && restrictors.contains(method.getSimpleName().toString())) || (!inclusive && !restrictors.contains(method.getSimpleName().toString()))) {
308
                    if ((inclusive && restrictors.contains(method.getSimpleName().toString())) || (!inclusive && !restrictors.contains(method.getSimpleName().toString()))) {
309
                        try {
309
                        try {

Return to bug 187395