use of com.navercorp.pinpoint.bootstrap.instrument.matcher.BasedMatcher in project pinpoint by naver.
the class MatchableTransformerRegistry method addTransformer.
private void addTransformer(final Matcher matcher, final ClassFileTransformer transformer) {
if (!MatcherType.isBasedMatcher(matcher)) {
throw new IllegalArgumentException("unsupported baseMatcher");
}
// class or package based.
MatcherOperand matcherOperand = ((BasedMatcher) matcher).getMatcherOperand();
addIndex(matcherOperand, transformer);
}
Aggregations