| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0) on Wed Dec 24 15:58:27 CET 2014 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>ClassManipulator (Apache Felix iPOJO ~ JavaDoc 1.12.1 API)</title> |
| <meta name="date" content="2014-12-24"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ClassManipulator (Apache Felix iPOJO ~ JavaDoc 1.12.1 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ClassManipulator.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassLoaderAwareClassWriter.html" title="class in org.apache.felix.ipojo.manipulation"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/felix/ipojo/manipulation/ConstructorCodeAdapter.html" title="class in org.apache.felix.ipojo.manipulation"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/felix/ipojo/manipulation/ClassManipulator.html" target="_top">Frames</a></li> |
| <li><a href="ClassManipulator.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.felix.ipojo.manipulation</div> |
| <h2 title="Class ClassManipulator" class="title">Class ClassManipulator</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.objectweb.asm.ClassVisitor</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.felix.ipojo.manipulation.ClassManipulator</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd>org.objectweb.asm.Opcodes</dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.39">ClassManipulator</a> |
| extends org.objectweb.asm.ClassVisitor |
| implements org.objectweb.asm.Opcodes</pre> |
| <div class="block">iPOJO Class Adapter. |
| This class adapt the visited class to link the class with the container.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd><a href="mailto:dev@felix.apache.org">Felix Project Team</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#ENTRY">ENTRY</a></span></code> |
| <div class="block">onEntry method name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#ERROR">ERROR</a></span></code> |
| <div class="block">on Error method name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#EXIT">EXIT</a></span></code> |
| <div class="block">onExit method name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#FIELD_FLAG_PREFIX">FIELD_FLAG_PREFIX</a></span></code> |
| <div class="block">Filed flag prefix.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#GET">GET</a></span></code> |
| <div class="block">onGet method name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#IM_FIELD">IM_FIELD</a></span></code> |
| <div class="block">Instance Manager Field.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#m_fields">m_fields</a></span></code> |
| <div class="block">Set of fields detected in the class.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#m_foundSuitableConstructor">m_foundSuitableConstructor</a></span></code> |
| <div class="block">Set to <code>true</code> when a suitable constructor |
| is found.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html" title="class in org.apache.felix.ipojo.manipulation">Manipulator</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#m_manipulator">m_manipulator</a></span></code> |
| <div class="block">The manipulator.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#m_methodFlags">m_methodFlags</a></span></code> |
| <div class="block">List of fields injected as method flag in the class.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#m_methods">m_methods</a></span></code> |
| <div class="block">List of methods contained in the class.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#m_owner">m_owner</a></span></code> |
| <div class="block">Name of the current manipulated class.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#m_superclass">m_superclass</a></span></code> |
| <div class="block">Name of the super class.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#m_visitedMethods">m_visitedMethods</a></span></code> |
| <div class="block">The list of methods visited during the previous analysis.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#METHOD_FLAG_PREFIX">METHOD_FLAG_PREFIX</a></span></code> |
| <div class="block">Method flag prefix.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#POJO">POJO</a></span></code> |
| <div class="block">POJO class.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#PREFIX">PREFIX</a></span></code> |
| <div class="block">All POJO method will be renamed by using this prefix.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#SET">SET</a></span></code> |
| <div class="block">onSet method name.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.objectweb.asm.ClassVisitor"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.objectweb.asm.ClassVisitor</h3> |
| <code>api, cv</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.objectweb.asm.Opcodes"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.objectweb.asm.Opcodes</h3> |
| <code>AALOAD, AASTORE, ACC_ABSTRACT, ACC_ANNOTATION, ACC_BRIDGE, ACC_DEPRECATED, ACC_ENUM, ACC_FINAL, ACC_INTERFACE, ACC_MANDATED, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_SYNTHETIC, ACC_TRANSIENT, ACC_VARARGS, ACC_VOLATILE, ACONST_NULL, ALOAD, ANEWARRAY, ARETURN, ARRAYLENGTH, ASM4, ASM5, ASTORE, ATHROW, BALOAD, BASTORE, BIPUSH, CALOAD, CASTORE, CHECKCAST, D2F, D2I, D2L, DADD, DALOAD, DASTORE, DCMPG, DCMPL, DCONST_0, DCONST_1, DDIV, DLOAD, DMUL, DNEG, DOUBLE, DREM, DRETURN, DSTORE, DSUB, DUP, DUP_X1, DUP_X2, DUP2, DUP2_X1, DUP2_X2, F_APPEND, F_CHOP, F_FULL, F_NEW, F_SAME, F_SAME1, F2D, F2I, F2L, FADD, FALOAD, FASTORE, FCMPG, FCMPL, FCONST_0, FCONST_1, FCONST_2, FDIV, FLOAD, FLOAT, FMUL, FNEG, FREM, FRETURN, FSTORE, FSUB, GETFIELD, GETSTATIC, GOTO, H_GETFIELD, H_GETSTATIC, H_INVOKEINTERFACE, H_INVOKESPECIAL, H_INVOKESTATIC, H_INVOKEVIRTUAL, H_NEWINVOKESPECIAL, H_PUTFIELD, H_PUTSTATIC, I2B, I2C, I2D, I2F, I2L, I2S, IADD, IALOAD, IAND, IASTORE, ICONST_0, ICONST_1, ICONST_2, ICONST_3, ICONST_4, ICONST_5, ICONST_M1, IDIV, IF_ACMPEQ, IF_ACMPNE, IF_ICMPEQ, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ICMPLT, IF_ICMPNE, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, IFNONNULL, IFNULL, IINC, ILOAD, IMUL, INEG, INSTANCEOF, INTEGER, INVOKEDYNAMIC, INVOKEINTERFACE, INVOKESPECIAL, INVOKESTATIC, INVOKEVIRTUAL, IOR, IREM, IRETURN, ISHL, ISHR, ISTORE, ISUB, IUSHR, IXOR, JSR, L2D, L2F, L2I, LADD, LALOAD, LAND, LASTORE, LCMP, LCONST_0, LCONST_1, LDC, LDIV, LLOAD, LMUL, LNEG, LONG, LOOKUPSWITCH, LOR, LREM, LRETURN, LSHL, LSHR, LSTORE, LSUB, LUSHR, LXOR, MONITORENTER, MONITOREXIT, MULTIANEWARRAY, NEW, NEWARRAY, NOP, NULL, POP, POP2, PUTFIELD, PUTSTATIC, RET, RETURN, SALOAD, SASTORE, SIPUSH, SWAP, T_BOOLEAN, T_BYTE, T_CHAR, T_DOUBLE, T_FLOAT, T_INT, T_LONG, T_SHORT, TABLESWITCH, TOP, UNINITIALIZED_THIS, V1_1, V1_2, V1_3, V1_4, V1_5, V1_6, V1_7, V1_8</code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#ClassManipulator-org.objectweb.asm.ClassVisitor-org.apache.felix.ipojo.manipulation.Manipulator-">ClassManipulator</a></span>(org.objectweb.asm.ClassVisitor visitor, |
| <a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html" title="class in org.apache.felix.ipojo.manipulation">Manipulator</a> manipulator)</code> |
| <div class="block">Constructor.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#addFlagsForInnerClassMethods--">addFlagsForInnerClassMethods</a></span>()</code> |
| <div class="block">Add the boolean flag fields for methods from inner classes.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#addIMField--">addIMField</a></span>()</code> |
| <div class="block">Add the instance manager field (__im).</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#addPOJOInterface-int-int-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-">addPOJOInterface</a></span>(int version, |
| int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> superName, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] interfaces)</code> |
| <div class="block">Add the POJO interface to the visited class.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#createArrayGetter-java.lang.String-java.lang.String-">createArrayGetter</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> |
| <div class="block">Create a setter method for an array.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#createArraySetter-java.lang.String-java.lang.String-">createArraySetter</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> |
| <div class="block">Create a getter method for an array.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#createGetComponentInstanceMethod--">createGetComponentInstanceMethod</a></span>()</code> |
| <div class="block">Create the getComponentInstance method.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#createSetInstanceManagerMethod--">createSetInstanceManagerMethod</a></span>()</code> |
| <div class="block">Create the setter method for the __cm field.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#createSimpleConstructor--">createSimpleConstructor</a></span>()</code> |
| <div class="block">Creates a simple constructor with an instance manager |
| in argument if no suitable constructor is found during |
| the visit.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#createSimpleGetter-java.lang.String-java.lang.String-org.objectweb.asm.Type-">createSimpleGetter</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| org.objectweb.asm.Type type)</code> |
| <div class="block">Create the getter for a field.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#createSimpleSetter-java.lang.String-java.lang.String-org.objectweb.asm.Type-">createSimpleSetter</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| org.objectweb.asm.Type type)</code> |
| <div class="block">Create the setter method for one property.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#generateConstructor-int-java.lang.String-java.lang.String-java.lang.String:A-java.util.List-java.util.Map-java.util.LinkedHashMap-">generateConstructor</a></span>(int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> descriptor, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] exceptions, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/manipulation/ClassChecker.AnnotationDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">ClassChecker.AnnotationDescriptor</a>> annotations, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/manipulation/ClassChecker.AnnotationDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">ClassChecker.AnnotationDescriptor</a>>> paramAnnotations, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,org.objectweb.asm.tree.LocalVariableNode> locals)</code> |
| <div class="block">Modify the given constructor to be something like: |
| <code> |
| this(null, params...); |
| return; |
| </code> |
| The actual constructor is modified to support the instance manager argument.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#generateMethodFlag-java.lang.String-java.lang.String-">generateMethodFlag</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> |
| <div class="block">Generate a method flag name.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#generateMethodFlagForMethodFromInnerClass-java.lang.String-java.lang.String-java.lang.String-">generateMethodFlagForMethodFromInnerClass</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> inner)</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#generateMethodHeader-int-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-java.util.List-java.util.List-java.util.Map-">generateMethodHeader</a></span>(int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] exceptions, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.objectweb.asm.tree.LocalVariableNode> localVariables, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/manipulation/ClassChecker.AnnotationDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">ClassChecker.AnnotationDescriptor</a>> annotations, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/manipulation/ClassChecker.AnnotationDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">ClassChecker.AnnotationDescriptor</a>>> paramAnnotations)</code> |
| <div class="block">Generate the method header of a POJO method.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#generateMethodId-java.lang.String-java.lang.String-">generateMethodId</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> |
| <div class="block">Generate the method id based on the given method name and method descriptor.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#generateMethodIdForMethodFromInnerClass-java.lang.String-java.lang.String-java.lang.String-">generateMethodIdForMethodFromInnerClass</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> inner)</code> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#getMethodDescriptor-java.lang.String-java.lang.String-">getMethodDescriptor</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> |
| <div class="block">Gets the method descriptor for the specified name and descriptor.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#visit-int-int-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-">visit</a></span>(int version, |
| int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> superName, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] interfaces)</code> |
| <div class="block">Visit method.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#visitEnd--">visitEnd</a></span>()</code> |
| <div class="block">Visit end.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>org.objectweb.asm.FieldVisitor</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#visitField-int-java.lang.String-java.lang.String-java.lang.String-java.lang.Object-">visitField</a></span>(int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">Visit a Field.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>org.objectweb.asm.MethodVisitor</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#visitMethod-int-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-">visitMethod</a></span>(int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] exceptions)</code> |
| <div class="block">A method is visited.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.objectweb.asm.ClassVisitor"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.objectweb.asm.ClassVisitor</h3> |
| <code>visitAnnotation, visitAttribute, visitInnerClass, visitOuterClass, visitSource, visitTypeAnnotation</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="IM_FIELD"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>IM_FIELD</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.44">IM_FIELD</a></pre> |
| <div class="block">Instance Manager Field.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.felix.ipojo.manipulation.ClassManipulator.IM_FIELD">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="PREFIX"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PREFIX</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.49">PREFIX</a></pre> |
| <div class="block">All POJO method will be renamed by using this prefix.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.felix.ipojo.manipulation.ClassManipulator.PREFIX">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="POJO"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>POJO</h4> |
| <pre>private static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.54">POJO</a></pre> |
| <div class="block">POJO class.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.felix.ipojo.manipulation.ClassManipulator.POJO">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="FIELD_FLAG_PREFIX"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>FIELD_FLAG_PREFIX</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.59">FIELD_FLAG_PREFIX</a></pre> |
| <div class="block">Filed flag prefix.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.felix.ipojo.manipulation.ClassManipulator.FIELD_FLAG_PREFIX">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="METHOD_FLAG_PREFIX"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>METHOD_FLAG_PREFIX</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.64">METHOD_FLAG_PREFIX</a></pre> |
| <div class="block">Method flag prefix.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.felix.ipojo.manipulation.ClassManipulator.METHOD_FLAG_PREFIX">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="ENTRY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ENTRY</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.69">ENTRY</a></pre> |
| <div class="block">onEntry method name.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.felix.ipojo.manipulation.ClassManipulator.ENTRY">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="EXIT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>EXIT</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.74">EXIT</a></pre> |
| <div class="block">onExit method name.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.felix.ipojo.manipulation.ClassManipulator.EXIT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="ERROR"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ERROR</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.79">ERROR</a></pre> |
| <div class="block">on Error method name.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.felix.ipojo.manipulation.ClassManipulator.ERROR">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="GET"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GET</h4> |
| <pre>private static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.84">GET</a></pre> |
| <div class="block">onGet method name.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.felix.ipojo.manipulation.ClassManipulator.GET">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="SET"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SET</h4> |
| <pre>private static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.89">SET</a></pre> |
| <div class="block">onSet method name.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.felix.ipojo.manipulation.ClassManipulator.SET">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="m_manipulator"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_manipulator</h4> |
| <pre>private final <a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html" title="class in org.apache.felix.ipojo.manipulation">Manipulator</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.94">m_manipulator</a></pre> |
| <div class="block">The manipulator. It has already collected all the metadata about the class.</div> |
| </li> |
| </ul> |
| <a name="m_owner"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_owner</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.99">m_owner</a></pre> |
| <div class="block">Name of the current manipulated class.</div> |
| </li> |
| </ul> |
| <a name="m_fields"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_fields</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.105">m_fields</a></pre> |
| <div class="block">Set of fields detected in the class. |
| (this set is given by the previous analysis)</div> |
| </li> |
| </ul> |
| <a name="m_methods"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_methods</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.111">m_methods</a></pre> |
| <div class="block">List of methods contained in the class. |
| This set contains method id.</div> |
| </li> |
| </ul> |
| <a name="m_methodFlags"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_methodFlags</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.117">m_methodFlags</a></pre> |
| <div class="block">List of fields injected as method flag in the class. |
| This set contains field name generate from method id.</div> |
| </li> |
| </ul> |
| <a name="m_visitedMethods"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_visitedMethods</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.124">m_visitedMethods</a></pre> |
| <div class="block">The list of methods visited during the previous analysis. |
| This list allows getting annotations to move to generated |
| method.</div> |
| </li> |
| </ul> |
| <a name="m_foundSuitableConstructor"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_foundSuitableConstructor</h4> |
| <pre>private boolean <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.131">m_foundSuitableConstructor</a></pre> |
| <div class="block">Set to <code>true</code> when a suitable constructor |
| is found. If not set to <code>true</code> at the end |
| of the visit, the manipulator injects a constructor.</div> |
| </li> |
| </ul> |
| <a name="m_superclass"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>m_superclass</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.136">m_superclass</a></pre> |
| <div class="block">Name of the super class.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="ClassManipulator-org.objectweb.asm.ClassVisitor-org.apache.felix.ipojo.manipulation.Manipulator-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ClassManipulator</h4> |
| <pre>public <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.143">ClassManipulator</a>(org.objectweb.asm.ClassVisitor visitor, |
| <a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html" title="class in org.apache.felix.ipojo.manipulation">Manipulator</a> manipulator)</pre> |
| <div class="block">Constructor.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>visitor</code> - : class visitor.</dd> |
| <dd><code>manipulator</code> - : the manipulator having analyzed the class.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="visit-int-int-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visit</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.164">visit</a>(int version, |
| int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> superName, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] interfaces)</pre> |
| <div class="block">Visit method. |
| This method store the current class name. |
| Moreover the POJO interface is added to the list of implemented interface. |
| Then the Instance manager field is added.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>visit</code> in class <code>org.objectweb.asm.ClassVisitor</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>version</code> - : version</dd> |
| <dd><code>access</code> - : access flag</dd> |
| <dd><code>name</code> - : class name</dd> |
| <dd><code>signature</code> - : signature</dd> |
| <dd><code>superName</code> - : parent class</dd> |
| <dd><code>interfaces</code> - : implemented interface</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>ClassVisitor.visit(int, int, java.lang.String, java.lang.String, java.lang.String, |
| java.lang.String[])</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="visitMethod-int-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitMethod</h4> |
| <pre>public org.objectweb.asm.MethodVisitor <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.187">visitMethod</a>(int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] exceptions)</pre> |
| <div class="block">A method is visited. |
| This method does not manipulate clinit and class$ methods. |
| In the case of a constructor, this method will generate a constructor with the instance manager |
| and will adapt the current constructor to call this constructor. |
| For standard method, this method will create method header, rename the current method and adapt it.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>visitMethod</code> in class <code>org.objectweb.asm.ClassVisitor</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>access</code> - : access flag.</dd> |
| <dd><code>name</code> - : name of the method</dd> |
| <dd><code>desc</code> - : method descriptor</dd> |
| <dd><code>signature</code> - : signature</dd> |
| <dd><code>exceptions</code> - : declared exceptions.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the MethodVisitor wich will visit the method code.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>ClassVisitor.visitMethod(int, java.lang.String, java.lang.String, java.lang.String, |
| java.lang.String[])</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMethodDescriptor-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMethodDescriptor</h4> |
| <pre>private <a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.253">getMethodDescriptor</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> |
| <div class="block">Gets the method descriptor for the specified name and descriptor. |
| The method descriptor is looked inside the |
| <a href="../../../../../org/apache/felix/ipojo/manipulation/ClassManipulator.html#m_visitedMethods"><code>m_visitedMethods</code></a></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the method</dd> |
| <dd><code>desc</code> - the descriptor of the method</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the method descriptor or <code>null</code> if not found.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="visitField-int-java.lang.String-java.lang.String-java.lang.String-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitField</h4> |
| <pre>public org.objectweb.asm.FieldVisitor <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.275">visitField</a>(int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <div class="block">Visit a Field. |
| This field access is replaced by an invocation to the getter method or to the setter method. |
| (except for static field). |
| Inject the getter and the setter method for this field.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>visitField</code> in class <code>org.objectweb.asm.ClassVisitor</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>access</code> - : access modifier</dd> |
| <dd><code>name</code> - : name of the field</dd> |
| <dd><code>desc</code> - : description of the field</dd> |
| <dd><code>signature</code> - : signature of the field</dd> |
| <dd><code>value</code> - : value of the field</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>FieldVisitor : null</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>ClassVisitor.visitField(int, java.lang.String, java.lang.String, java.lang.String, java.lang.Object)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="generateConstructor-int-java.lang.String-java.lang.String-java.lang.String:A-java.util.List-java.util.Map-java.util.LinkedHashMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateConstructor</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.318">generateConstructor</a>(int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> descriptor, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] exceptions, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/manipulation/ClassChecker.AnnotationDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">ClassChecker.AnnotationDescriptor</a>> annotations, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/manipulation/ClassChecker.AnnotationDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">ClassChecker.AnnotationDescriptor</a>>> paramAnnotations, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,org.objectweb.asm.tree.LocalVariableNode> locals)</pre> |
| <div class="block">Modify the given constructor to be something like: |
| <code> |
| this(null, params...); |
| return; |
| </code> |
| The actual constructor is modified to support the instance manager argument.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>access</code> - : access flag</dd> |
| <dd><code>descriptor</code> - : the original constructor descriptor</dd> |
| <dd><code>signature</code> - : method signature</dd> |
| <dd><code>exceptions</code> - : declared exception</dd> |
| <dd><code>annotations</code> - : the annotations to move to this constructor.</dd> |
| <dd><code>locals</code> - : the local variables from the original constructors.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="generateMethodHeader-int-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-java.util.List-java.util.List-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateMethodHeader</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.383">generateMethodHeader</a>(int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] exceptions, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.objectweb.asm.tree.LocalVariableNode> localVariables, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/manipulation/ClassChecker.AnnotationDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">ClassChecker.AnnotationDescriptor</a>> annotations, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/manipulation/ClassChecker.AnnotationDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">ClassChecker.AnnotationDescriptor</a>>> paramAnnotations)</pre> |
| <div class="block">Generate the method header of a POJO method. |
| This method header encapsulate the POJO method call to |
| signal entry exit and error to the container.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>access</code> - : access flag.</dd> |
| <dd><code>name</code> - : method name.</dd> |
| <dd><code>desc</code> - : method descriptor.</dd> |
| <dd><code>signature</code> - : method signature.</dd> |
| <dd><code>exceptions</code> - : declared exceptions.</dd> |
| <dd><code>localVariables</code> - : the local variable nodes.</dd> |
| <dd><code>annotations</code> - : the annotations to move to this method.</dd> |
| <dd><code>paramAnnotations</code> - : the parameter annotations to move to this method.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="generateMethodFlag-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateMethodFlag</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.529">generateMethodFlag</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> |
| <div class="block">Generate a method flag name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - : method name.</dd> |
| <dd><code>desc</code> - : method descriptor.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the method flag name</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="generateMethodFlagForMethodFromInnerClass-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateMethodFlagForMethodFromInnerClass</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.533">generateMethodFlagForMethodFromInnerClass</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> inner)</pre> |
| </li> |
| </ul> |
| <a name="generateMethodId-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateMethodId</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.545">generateMethodId</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> |
| <div class="block">Generate the method id based on the given method name and method descriptor. |
| The method Id is unique for this method and serves to create the flag field (so |
| must follow field name Java restrictions).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - : method name</dd> |
| <dd><code>desc</code> - : method descriptor</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>method ID</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="generateMethodIdForMethodFromInnerClass-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateMethodIdForMethodFromInnerClass</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.568">generateMethodIdForMethodFromInnerClass</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> inner)</pre> |
| </li> |
| </ul> |
| <a name="addIMField--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addIMField</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.599">addIMField</a>()</pre> |
| <div class="block">Add the instance manager field (__im).</div> |
| </li> |
| </ul> |
| <a name="addFlagsForInnerClassMethods--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addFlagsForInnerClassMethods</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.607">addFlagsForInnerClassMethods</a>()</pre> |
| <div class="block">Add the boolean flag fields for methods from inner classes.</div> |
| </li> |
| </ul> |
| <a name="addPOJOInterface-int-int-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addPOJOInterface</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.632">addPOJOInterface</a>(int version, |
| int access, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> signature, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> superName, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] interfaces)</pre> |
| <div class="block">Add the POJO interface to the visited class.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>version</code> - : class version</dd> |
| <dd><code>access</code> - : class access</dd> |
| <dd><code>name</code> - : class name</dd> |
| <dd><code>signature</code> - : class signature</dd> |
| <dd><code>superName</code> - : super class</dd> |
| <dd><code>interfaces</code> - : implemented interfaces.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="visitEnd--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitEnd</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.658">visitEnd</a>()</pre> |
| <div class="block">Visit end. |
| Create helper methods.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>visitEnd</code> in class <code>org.objectweb.asm.ClassVisitor</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>ClassVisitor.visitEnd()</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createSimpleConstructor--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSimpleConstructor</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.681">createSimpleConstructor</a>()</pre> |
| <div class="block">Creates a simple constructor with an instance manager |
| in argument if no suitable constructor is found during |
| the visit.</div> |
| </li> |
| </ul> |
| <a name="createSetInstanceManagerMethod--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSetInstanceManagerMethod</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.704">createSetInstanceManagerMethod</a>()</pre> |
| <div class="block">Create the setter method for the __cm field.</div> |
| </li> |
| </ul> |
| <a name="createGetComponentInstanceMethod--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createGetComponentInstanceMethod</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.775">createGetComponentInstanceMethod</a>()</pre> |
| <div class="block">Create the getComponentInstance method.</div> |
| </li> |
| </ul> |
| <a name="createArraySetter-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createArraySetter</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.790">createArraySetter</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> |
| <div class="block">Create a getter method for an array.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - : field name</dd> |
| <dd><code>desc</code> - : method description</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createArrayGetter-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createArrayGetter</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.830">createArrayGetter</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> |
| <div class="block">Create a setter method for an array.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - : field name</dd> |
| <dd><code>desc</code> - : method description</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createSimpleGetter-java.lang.String-java.lang.String-org.objectweb.asm.Type-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSimpleGetter</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.866">createSimpleGetter</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| org.objectweb.asm.Type type)</pre> |
| <div class="block">Create the getter for a field.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - : field of the dependency</dd> |
| <dd><code>desc</code> - : description of the getter method</dd> |
| <dd><code>type</code> - : type to return</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createSimpleSetter-java.lang.String-java.lang.String-org.objectweb.asm.Type-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>createSimpleSetter</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/ClassManipulator.html#line.1052">createSimpleSetter</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, |
| org.objectweb.asm.Type type)</pre> |
| <div class="block">Create the setter method for one property. The name of the method is _set+name of the field</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - : name of the field representing a property</dd> |
| <dd><code>desc</code> - : description of the setter method</dd> |
| <dd><code>type</code> - : type of the property</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ClassManipulator.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/felix/ipojo/manipulation/ClassLoaderAwareClassWriter.html" title="class in org.apache.felix.ipojo.manipulation"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/felix/ipojo/manipulation/ConstructorCodeAdapter.html" title="class in org.apache.felix.ipojo.manipulation"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/felix/ipojo/manipulation/ClassManipulator.html" target="_top">Frames</a></li> |
| <li><a href="ClassManipulator.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2014. All rights reserved.</small></p> |
| </body> |
| </html> |