01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: ParsedBlockPart.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.template;
09:
10: import com.uwyn.rife.asm.ClassVisitor;
11: import com.uwyn.rife.asm.MethodVisitor;
12: import com.uwyn.rife.asm.Opcodes;
13:
14: abstract class ParsedBlockPart implements Opcodes {
15: public static final int TEXT = 0;
16: public static final int VALUE = 1;
17:
18: abstract String getData();
19:
20: abstract int getType();
21:
22: abstract void visitByteCodeExternalForm(MethodVisitor visitor,
23: String className, String staticIdentifier);
24:
25: abstract void visitByteCodeInternalForm(MethodVisitor visitor,
26: String className, String staticIdentifier);
27:
28: abstract void visitByteCodeStaticDeclaration(ClassVisitor visitor,
29: String staticIdentifier);
30:
31: abstract void visitByteCodeStaticDefinition(MethodVisitor visitor,
32: String className, String staticIdentifier);
33: }
|