From 5f46dcf8c7ed2c7646daa76389201b404250b1fc Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Fri, 1 Mar 2019 10:37:15 +0100 Subject: Add missing Javadocs --- .../jacoco/core/internal/analysis/filter/AbstractMatcher.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'org.jacoco.core/src/org/jacoco/core') diff --git a/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/AbstractMatcher.java b/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/AbstractMatcher.java index e239a732..c27c4e92 100644 --- a/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/AbstractMatcher.java +++ b/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/AbstractMatcher.java @@ -71,6 +71,11 @@ abstract class AbstractMatcher { cursor = null; } + /** + * Moves {@link #cursor} to next instruction if it is + * INVOKEVIRTUAL with given owner and name, otherwise sets it + * to null. + */ final void nextIsInvokeVirtual(final String owner, final String name) { nextIs(Opcodes.INVOKEVIRTUAL); if (cursor == null) { @@ -83,6 +88,11 @@ abstract class AbstractMatcher { cursor = null; } + /** + * Moves {@link #cursor} to next instruction if it is + * INVOKESTATIC with given owner and name, otherwise sets it to + * null. + */ final void nextIsInvokeStatic(final String owner, final String name) { nextIs(Opcodes.INVOKESTATIC); if (cursor == null) { -- cgit v1.2.3