diff --git a/runtime/Java/src/org/antlr/v4/runtime/tree/pattern/RuleSubtreeNode.java b/runtime/Java/src/org/antlr/v4/runtime/tree/pattern/RuleSubtreeNode.java deleted file mode 100644 index 1764b7037..000000000 --- a/runtime/Java/src/org/antlr/v4/runtime/tree/pattern/RuleSubtreeNode.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.antlr.v4.runtime.tree.pattern; - -import org.antlr.v4.runtime.ParserRuleContext; - -public class RuleSubtreeNode extends ParserRuleContext { - RuleTagToken ruleTagToken; - - public RuleSubtreeNode(ParserRuleContext ctx) { - copyFrom(ctx); - this.ruleTagToken = (RuleTagToken)ctx.start; // first (and only) token is the - } - - @Override - public String getText() { - return ruleTagToken.getText(); - } - - @Override - public int getRuleIndex() { return ruleTagToken.ruleIndex; } -}