001: package net.sf.jdec.lookup;
002:
003: import net.sf.jdec.blocks.IFBlock;
004: import net.sf.jdec.blocks.Loop;
005: import net.sf.jdec.blocks.Switch;
006: import net.sf.jdec.exceptions.ApplicationException;
007:
008: /*
009: * GenericFinder.java Copyright (c) 2006,07 Swaroop Belur
010: *
011: * This program is free software; you can redistribute it and/or
012: * modify it under the terms of the GNU General Public License
013: * as published by the Free Software Foundation; either version 2
014: * of the License, or (at your option) any later version.
015:
016: * This program is distributed in the hope that it will be useful,
017: * but WITHOUT ANY WARRANTY; without even the implied warranty of
018: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
019: * GNU General Public License for more details.
020:
021: * You should have received a copy of the GNU General Public License
022: * along with this program; if not, write to the Free Software
023: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
024: *
025: */
026: /***
027: * @author swaroop belur
028: * @since 1.2.1
029: */
030: public class GenericFinder extends BasicFinder {
031:
032: public static final GenericFinder genericFinder = new GenericFinder();
033:
034: private GenericFinder() {
035: }
036:
037: public boolean isCurrentInstStore(int pos)
038: throws ApplicationException {
039: throw new UnsupportedOperationException();
040: }
041:
042: public boolean isGotoPrecededByDUPSTORE(int pos)
043: throws ApplicationException {
044: throw new UnsupportedOperationException();
045: }
046:
047: public boolean isHandlerEndPresentAtGuardEnd(int i)
048: throws ApplicationException {
049: throw new UnsupportedOperationException();
050: }
051:
052: public boolean isEndOfGuard(int pos) throws ApplicationException {
053: throw new UnsupportedOperationException();
054: }
055:
056: public boolean isIfConditionForSomeOtherLoop(int pos,
057: StringBuffer lend) throws ApplicationException {
058: throw new UnsupportedOperationException();
059: }
060:
061: public boolean isIfFirstIfInLoopCondition(int pos)
062: throws ApplicationException {
063: throw new UnsupportedOperationException();
064: }
065:
066: public boolean isIfForLoadClass(IFBlock ifst)
067: throws ApplicationException {
068: throw new UnsupportedOperationException();
069: }
070:
071: public boolean isIFForThisElseATernaryIF(int pos, StringBuffer sb)
072: throws ApplicationException {
073: throw new UnsupportedOperationException();
074: }
075:
076: public Loop isIfInADoWhile(int pos, IFBlock ifst)
077: throws ApplicationException {
078: throw new UnsupportedOperationException();
079: }
080:
081: public Switch.Case isIFInCase(int pos, IFBlock ifs)
082: throws ApplicationException {
083: throw new UnsupportedOperationException();
084: }
085:
086: public boolean isIfPartOfTernaryIfCond(int pos)
087: throws ApplicationException {
088: throw new UnsupportedOperationException();
089: }
090:
091: public boolean isIFpresentInTernaryList(IFBlock ifst)
092: throws ApplicationException {
093: throw new UnsupportedOperationException();
094: }
095:
096: public boolean isIFShortcutORComp(int pos)
097: throws ApplicationException {
098: throw new UnsupportedOperationException();
099: }
100:
101: public boolean isIndexEndOfLoop(int pos)
102: throws ApplicationException {
103: throw new UnsupportedOperationException();
104: }
105:
106: public boolean isInstrPosAAload(int pos)
107: throws ApplicationException {
108: throw new UnsupportedOperationException();
109: }
110:
111: public int isInstAload(int pos, StringBuffer bf)
112: throws ApplicationException {
113: throw new UnsupportedOperationException();
114: }
115:
116: public int isInstIloadInst(int pos, StringBuffer sb2) {
117: throw new UnsupportedOperationException();
118: }
119:
120: public int isInstLloadInst(int pos, StringBuffer sb2) {
121: throw new UnsupportedOperationException();
122: }
123:
124: public boolean isInstLoopStart(int pos) {
125: throw new UnsupportedOperationException();
126: }
127:
128: public boolean isInstPrimitiveArrayStore(int inst) {
129: throw new UnsupportedOperationException();
130: }
131:
132: public boolean isInstReturnInst(int pos, StringBuffer sb) {
133: throw new UnsupportedOperationException();
134: }
135:
136: public boolean isInstructionIF(int instruction) {
137: throw new UnsupportedOperationException();
138: }
139:
140: public boolean isInstStore0(int pos) {
141: throw new UnsupportedOperationException();
142: }
143:
144: public boolean isNextInstAStore(int pos) {
145: throw new UnsupportedOperationException();
146: }
147:
148: public boolean isNextInstructionLoad(int pos) {
149: throw new UnsupportedOperationException();
150: }
151:
152: public boolean isNextInstructionPrimitiveStoreInst(int pos,
153: StringBuffer index) {
154: throw new UnsupportedOperationException();
155: }
156:
157: public boolean isNextInstructionReturn(int nextInstruction) {
158: throw new UnsupportedOperationException();
159: }
160:
161: public boolean isNextInstructionStore(int nextInstruction) {
162: throw new UnsupportedOperationException();
163: }
164:
165: public boolean isPrevInstALOADInst(int pos, StringBuffer s) {
166: throw new UnsupportedOperationException();
167: }
168:
169: public boolean isPrevInstIloadInst(int s, StringBuffer sb2) {
170: throw new UnsupportedOperationException();
171: }
172:
173: public boolean isPrevInstPrimitiveLoad(int pos, StringBuffer sb) {
174: throw new UnsupportedOperationException();
175: }
176:
177: public boolean isPrevInstructionAload(int pos, StringBuffer sb) {
178: throw new UnsupportedOperationException();
179: }
180:
181: public boolean isStoreInst(int index, StringBuffer varindex,
182: StringBuffer t) {
183: throw new UnsupportedOperationException();
184: }
185:
186: public boolean isThisDUPSTOREAtEndOFTernaryIF(int pos, String type) {
187: throw new UnsupportedOperationException();
188: }
189:
190: public boolean isThisIfALoopCondition(IFBlock IF) {
191: throw new UnsupportedOperationException();
192: }
193:
194: public boolean isThisInstASTOREInst(int pos, StringBuffer sb) {
195: throw new UnsupportedOperationException();
196: }
197:
198: public boolean isThisInstructionIStoreInst(int s, StringBuffer sb) {
199: throw new UnsupportedOperationException();
200: }
201:
202: public boolean isThisLoopEndAlso(int i, int ifstart) {
203: throw new UnsupportedOperationException();
204: }
205:
206: public boolean isThisLoopStart(IFBlock IF) {
207: throw new UnsupportedOperationException();
208: }
209:
210: public boolean isThisTryStart(int i) {
211: throw new UnsupportedOperationException();
212: }
213:
214: public boolean lastIFinShortCutChain(IFBlock ifst, int i) {
215: throw new UnsupportedOperationException();
216: }
217:
218: public boolean isInstReturnInst(byte[] code, int pos,
219: StringBuffer sb) {
220: throw new UnsupportedOperationException();
221: }
222:
223: public boolean isNextInstructionIf(int nextInstruction) {
224: throw new UnsupportedOperationException();
225: }
226:
227: public boolean isThisInstructionIStoreInst(byte[] code, int s,
228: StringBuffer sb) {
229: throw new UnsupportedOperationException();
230: }
231:
232: public boolean isStoreInst(int index, byte[] info) {
233: throw new UnsupportedOperationException();
234: }
235: }
|