|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.unkrig.commons.asm.StringConcatenator
public class StringConcatenator
Bytecode generator for StringBuilder-based concatenation of strings.
| Constructor Summary | |
|---|---|
StringConcatenator()
|
|
| Method Summary | |
|---|---|
StringConcatenator |
appendConstant(java.lang.String value)
Registers the given constant string, which will be added on finish(). |
StringConcatenator |
appendVariable(org.objectweb.asm.tree.InsnList insns,
org.objectweb.asm.Type type)
Registers the given code fragment, which will be executed, and the result added on finish(). |
StringConcatenator |
appendVariablePrettily(org.objectweb.asm.tree.InsnList code,
org.objectweb.asm.Type type)
Registers the given code fragment, which will be executed, and the result added on finish(). |
org.objectweb.asm.tree.InsnList |
finish()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringConcatenator()
| Method Detail |
|---|
public StringConcatenator appendConstant(java.lang.String value)
finish().
this
public StringConcatenator appendVariable(org.objectweb.asm.tree.InsnList insns,
org.objectweb.asm.Type type)
finish().
insns - Instructions which must produce exactly one value of type on the operand stack
this
public StringConcatenator appendVariablePrettily(org.objectweb.asm.tree.InsnList code,
org.objectweb.asm.Type type)
finish(). If the
type is an array, a string, StringBuffer, StringBuilder, CharSequence or a
char, then it is 'pretty-printed' i nthe style of a Java constant.
code - Instructions which must produce exactly one value of type on the operand stack
thispublic org.objectweb.asm.tree.InsnList finish()
InsnList that implements the creation of the string result
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||