aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2019-03-01 10:37:15 +0100
committerEvgeny Mandrikov <mandrikov@gmail.com>2019-03-01 10:37:15 +0100
commit5f46dcf8c7ed2c7646daa76389201b404250b1fc (patch)
treec536d59fb3d715a65bd8a9116c2e2485d5b56d7e
parentf0102f0a38827ce848f409cc17c42a1b0d542b34 (diff)
downloadplatform_external_jacoco-5f46dcf8c7ed2c7646daa76389201b404250b1fc.tar.gz
platform_external_jacoco-5f46dcf8c7ed2c7646daa76389201b404250b1fc.tar.bz2
platform_external_jacoco-5f46dcf8c7ed2c7646daa76389201b404250b1fc.zip
Add missing Javadocs
-rw-r--r--org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/AbstractMatcher.java10
1 files changed, 10 insertions, 0 deletions
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
+ * <code>INVOKEVIRTUAL</code> with given owner and name, otherwise sets it
+ * to <code>null</code>.
+ */
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
+ * <code>INVOKESTATIC</code> with given owner and name, otherwise sets it to
+ * <code>null</code>.
+ */
final void nextIsInvokeStatic(final String owner, final String name) {
nextIs(Opcodes.INVOKESTATIC);
if (cursor == null) {