Skip to content

Commit 7add8cb

Browse files
committed
Cleanup
1 parent bb27bca commit 7add8cb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

class-match/src/main/java/datadog/instrument/classmatch/AccessMatcher.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,9 @@ public interface AccessMatcher extends IntPredicate {
5252
/** Matches interface classes. */
5353
AccessMatcher INTERFACE = Modifier::isInterface;
5454

55-
/** Matches non-interface classes. */
56-
AccessMatcher CLASS = acc -> (acc & Modifier.INTERFACE) == 0;
57-
58-
/** Matches abstract classes. */
55+
/** Matches abstract classes/methods. */
5956
AccessMatcher ABSTRACT = Modifier::isAbstract;
6057

61-
/** Matches concrete (constructable) classes. */
62-
AccessMatcher CONCRETE = acc -> (acc & Modifier.ABSTRACT) == 0;
63-
6458
/**
6559
* Conjunction of this matcher AND another.
6660
*

0 commit comments

Comments
 (0)