From ff684745d164d451af001cd620901d19ba4f0f2e Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 5 Jul 1999 14:34:42 +0000 Subject: [PATCH] getChilds added, applyPreserveRule removed git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1013 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/obfuscator/LocalIdentifier.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/jode/jode/obfuscator/LocalIdentifier.java b/jode/jode/obfuscator/LocalIdentifier.java index 49c00aa..3619d2c 100644 --- a/jode/jode/obfuscator/LocalIdentifier.java +++ b/jode/jode/obfuscator/LocalIdentifier.java @@ -19,6 +19,14 @@ package jode.obfuscator; +///#ifdef JDK12 +///import java.util.Collections; +///import java.util.Iterator; +///#else +import jode.util.Collections; +import jode.util.Iterator; +///#endif + public class LocalIdentifier extends Identifier { String name; String type; @@ -37,7 +45,8 @@ public class LocalIdentifier extends Identifier { return type; } - public void applyPreserveRule(IdentifierMatcher preserveRule) { + public Iterator getChilds() { + return Collections.EMPTY_LIST.iterator(); } public Identifier getParent() {