File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/analysis Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
package edu .cuny .hunter .streamrefactoring .core .analysis ;
2
2
3
+ import static edu .cuny .hunter .streamrefactoring .core .wala .AnalysisUtils .isJDKClass ;
4
+ import static edu .cuny .hunter .streamrefactoring .core .wala .AnalysisUtils .isLibraryClass ;
5
+
3
6
import java .io .UTFDataFormatException ;
4
7
import java .lang .reflect .Modifier ;
5
8
import java .util .ArrayList ;
@@ -164,7 +167,7 @@ public static Set<Entrypoint> findBenchmarkEntryPoints(IClassHierarchy classHier
164
167
final Set <Entrypoint > result = new HashSet <>();
165
168
166
169
for (IClass klass : classHierarchy )
167
- if (!AnalysisUtils . isJDKClass (klass )) {
170
+ if (!( isJDKClass (klass ) || isLibraryClass ( klass ) )) {
168
171
boolean isBenchmarkClass = false ;
169
172
// iterate over all declared methods
170
173
for (com .ibm .wala .classLoader .IMethod method : klass .getDeclaredMethods ()) {
@@ -215,7 +218,7 @@ public static Set<Entrypoint> findEntryPoints(IClassHierarchy classHierarchy) {
215
218
final Set <Entrypoint > result = new HashSet <>();
216
219
217
220
for (IClass klass : classHierarchy )
218
- if (!AnalysisUtils . isJDKClass (klass ))
221
+ if (!( isJDKClass (klass ) || isLibraryClass ( klass ) ))
219
222
// iterate over all declared methods
220
223
for (com .ibm .wala .classLoader .IMethod method : klass .getDeclaredMethods ()) {
221
224
// if method has an annotation
You can’t perform that action at this time.
0 commit comments