blob: 13a6c1ca73055cc7e7ad5254bce42fd03bd0d0fc [file] [log] [blame]
<!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 (version 1.7.0_25) on Tue Oct 08 19:30:25 CEST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Manipulator (Apache Felix iPOJO ~ JavaDoc 1.10.1 API)</title>
<meta name="date" content="2013-10-08">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Manipulator (Apache Felix iPOJO ~ JavaDoc 1.10.1 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/Manipulator.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/ManipulationProperty.Logger.html" title="class in org.apache.felix.ipojo.manipulation"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/felix/ipojo/manipulation/MethodCodeAdapter.html" title="class in org.apache.felix.ipojo.manipulation"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/felix/ipojo/manipulation/Manipulator.html" target="_top">Frames</a></li>
<li><a href="Manipulator.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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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 Manipulator" class="title">Class Manipulator</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/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.apache.felix.ipojo.manipulation.Manipulator</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.38">Manipulator</a>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">iPOJO Byte code Manipulator.</div>
<dl><dt><span class="strong">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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</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>private boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#m_alreadyManipulated">m_alreadyManipulated</a></strong></code>
<div class="block">Was the class already manipulated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#m_className">m_className</a></strong></code>
<div class="block">The manipulated class name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#m_fields">m_fields</a></strong></code>
<div class="block">Store the visited fields : [name of the field, type of the field].</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#m_inners">m_inners</a></strong></code>
<div class="block">List of owned inner classes and internal methods.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#m_interfaces">m_interfaces</a></strong></code>
<div class="block">Store the interface implemented by the class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#m_methods">m_methods</a></strong></code>
<div class="block">Store the methods list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#m_superClass">m_superClass</a></strong></code>
<div class="block">Pojo super class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#m_version">m_version</a></strong></code>
<div class="block">Java byte code version.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#Manipulator()">Manipulator</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#addMethodToInnerClass(java.lang.String, org.apache.felix.ipojo.manipulation.MethodDescriptor)">addMethodToInnerClass</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&nbsp;md)</code>
<div class="block">Adds a method to an inner class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#extractInnerClassName(java.lang.String)">extractInnerClassName</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;clazz)</code>
<div class="block">Extracts the inner class simple name from the qualified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#getClassVersion()">getClassVersion</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#getFields()">getFields</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#getInnerClasses()">getInnerClasses</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#getInnerClassesAndMethods()">getInnerClassesAndMethods</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#getManipulationMetadata()">getManipulationMetadata</a></strong>()</code>
<div class="block">Compute component type manipulation metadata.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#getMethods()">getMethods</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#getMethodsFromInnerClass(java.lang.String)">getMethodsFromInnerClass</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;innerClassInternalName)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#isAlreadyManipulated()">isAlreadyManipulated</a></strong>()</code>
<div class="block">Checks whether the class was already manipulated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#manipulate(byte[])">manipulate</a></strong>(byte[]&nbsp;origin)</code>
<div class="block">Manipulate the given byte array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#manipulateInnerClass(java.lang.String, byte[])">manipulateInnerClass</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;inner,
byte[]&nbsp;bytecode)</code>
<div class="block">Manipulates the inner class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#prepare(byte[])">prepare</a></strong>(byte[]&nbsp;origin)</code>
<div class="block">Checks the given bytecode, determines if the class was already manipulated, and collect the metadata about the
class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#prepareInnerClass(java.lang.String, byte[])">prepareInnerClass</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;inner,
byte[]&nbsp;bytecode)</code>
<div class="block">Analyzes the given inner class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/manipulation/Manipulator.html#toQualifiedName(java.lang.String)">toQualifiedName</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;clazz)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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="m_fields">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_fields</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt; <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.42">m_fields</a></pre>
<div class="block">Store the visited fields : [name of the field, type of the field].</div>
</li>
</ul>
<a name="m_interfaces">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_interfaces</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt; <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.47">m_interfaces</a></pre>
<div class="block">Store the interface implemented by the class.</div>
</li>
</ul>
<a name="m_methods">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_methods</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&gt; <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.52">m_methods</a></pre>
<div class="block">Store the methods list.</div>
</li>
</ul>
<a name="m_superClass">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_superClass</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/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/Manipulator.html#line.57">m_superClass</a></pre>
<div class="block">Pojo super class.</div>
</li>
</ul>
<a name="m_inners">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_inners</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&gt;&gt; <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.62">m_inners</a></pre>
<div class="block">List of owned inner classes and internal methods.</div>
</li>
</ul>
<a name="m_version">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_version</h4>
<pre>private&nbsp;int <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.67">m_version</a></pre>
<div class="block">Java byte code version.</div>
</li>
</ul>
<a name="m_alreadyManipulated">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_alreadyManipulated</h4>
<pre>private&nbsp;boolean <a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.72">m_alreadyManipulated</a></pre>
<div class="block">Was the class already manipulated.</div>
</li>
</ul>
<a name="m_className">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>m_className</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/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/Manipulator.html#line.77">m_className</a></pre>
<div class="block">The manipulated class name.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Manipulator()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Manipulator</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.38">Manipulator</a>()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="prepare(byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepare</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.84">prepare</a>(byte[]&nbsp;origin)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Checks the given bytecode, determines if the class was already manipulated, and collect the metadata about the
class.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>origin</code> - the bytecode</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="manipulate(byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>manipulate</h4>
<pre>public&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.117">manipulate</a>(byte[]&nbsp;origin)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Manipulate the given byte array.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>origin</code> - : original class.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the manipulated class, if the class is already manipulated, the original class.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - : if an error occurs during the manipulation.</dd></dl>
</li>
</ul>
<a name="isAlreadyManipulated()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAlreadyManipulated</h4>
<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.140">isAlreadyManipulated</a>()</pre>
<div class="block">Checks whether the class was already manipulated.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the class was already manipulated, <code>false</code> otherwise</dd></dl>
</li>
</ul>
<a name="toQualifiedName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toQualifiedName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.144">toQualifiedName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;clazz)</pre>
</li>
</ul>
<a name="getManipulationMetadata()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getManipulationMetadata</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.152">getManipulationMetadata</a>()</pre>
<div class="block">Compute component type manipulation metadata.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the manipulation metadata of the class.</dd></dl>
</li>
</ul>
<a name="extractInnerClassName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractInnerClassName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.200">extractInnerClassName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;clazz)</pre>
<div class="block">Extracts the inner class simple name from the qualified name. It extracts the part after the `$` character.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - the qualified class name</dd>
<dt><span class="strong">Returns:</span></dt><dd>the simple inner class name</dd></dl>
</li>
</ul>
<a name="getFields()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFields</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.208">getFields</a>()</pre>
</li>
</ul>
<a name="getMethods()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMethods</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.212">getMethods</a>()</pre>
</li>
</ul>
<a name="getInnerClasses()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInnerClasses</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.216">getInnerClasses</a>()</pre>
</li>
</ul>
<a name="getClassVersion()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassVersion</h4>
<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.220">getClassVersion</a>()</pre>
</li>
</ul>
<a name="addMethodToInnerClass(java.lang.String, org.apache.felix.ipojo.manipulation.MethodDescriptor)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMethodToInnerClass</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.229">addMethodToInnerClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&nbsp;md)</pre>
<div class="block">Adds a method to an inner class.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the inner class name</dd><dd><code>md</code> - the method descriptor to add</dd></dl>
</li>
</ul>
<a name="prepareInnerClass(java.lang.String, byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepareInnerClass</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.243">prepareInnerClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;inner,
byte[]&nbsp;bytecode)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Analyzes the given inner class.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>inner</code> - the inner class name</dd><dd><code>bytecode</code> - the bytecode of the inner class</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="manipulateInnerClass(java.lang.String, byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>manipulateInnerClass</h4>
<pre>public&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.260">manipulateInnerClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;inner,
byte[]&nbsp;bytecode)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Manipulates the inner class. If the outer class was already manipulated does not re-manipulate the inner class.
We consider that the manipulation cycle of the outer and inner classes are the same.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>inner</code> - the inner class name</dd><dd><code>bytecode</code> - input (i.e. original) class</dd>
<dt><span class="strong">Returns:</span></dt><dd>the manipulated class</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - the class cannot be read correctly</dd></dl>
</li>
</ul>
<a name="getMethodsFromInnerClass(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMethodsFromInnerClass</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.281">getMethodsFromInnerClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;innerClassInternalName)</pre>
</li>
</ul>
<a name="getInnerClassesAndMethods()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getInnerClassesAndMethods</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/manipulation/MethodDescriptor.html" title="class in org.apache.felix.ipojo.manipulation">MethodDescriptor</a>&gt;&gt;&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/manipulation/Manipulator.html#line.285">getInnerClassesAndMethods</a>()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/Manipulator.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/ManipulationProperty.Logger.html" title="class in org.apache.felix.ipojo.manipulation"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/felix/ipojo/manipulation/MethodCodeAdapter.html" title="class in org.apache.felix.ipojo.manipulation"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/felix/ipojo/manipulation/Manipulator.html" target="_top">Frames</a></li>
<li><a href="Manipulator.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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 2013. All rights reserved.</small></p>
</body>
</html>