<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Silveira Neto &#187; Field</title>
	<atom:link href="http://silveiraneto.net/tag/field/feed/" rel="self" type="application/rss+xml" />
	<link>http://silveiraneto.net</link>
	<description></description>
	<lastBuildDate>Fri, 09 Mar 2012 04:13:27 +0000</lastBuildDate>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Openpixels – Chars</title>
		<link>http://silveiraneto.net/2010/05/19/openpixels-%e2%80%93-chars/</link>
		<comments>http://silveiraneto.net/2010/05/19/openpixels-%e2%80%93-chars/#comments</comments>
		<pubDate>Wed, 19 May 2010 18:10:26 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Brazil]]></category>
		<category><![CDATA[Field]]></category>
		<category><![CDATA[Gimp]]></category>
		<category><![CDATA[Openpixels]]></category>
		<category><![CDATA[Pixelart]]></category>
		<category><![CDATA[soccer]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3429</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2010/05/19/openpixels-%e2%80%93-chars/" title="Openpixels – Chars"></a>As the big subject now is soccer world cup, the main brazilian team uniform is now available on the project. Here a example of character: Gimp source file: open_chars.xcf]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2010/05/19/openpixels-%e2%80%93-chars/" title="Openpixels – Chars"></a><p>As the big subject now is soccer world cup, the main brazilian team uniform is now available on the project.</p>
<p style="text-align: center;"><img class="size-full wp-image-3428 aligncenter" title="soccer brazil" src="http://silveiraneto.net/wp-content/uploads/2010/05/soccer_brazil.png" alt="" width="640" height="402" /></p>
<p>Here a example of character:</p>
<p style="text-align: center;"><img class="size-full wp-image-3430 aligncenter" title="brazilian_soccer_player" src="http://silveiraneto.net/wp-content/uploads/2010/05/brazilian_soccer_player.png" alt="" width="210" height="420" /></p>
<p>Gimp source file: <a href="http://silveiraneto.net/downloads/open_chars.xcf">open_chars.xcf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2010/05/19/openpixels-%e2%80%93-chars/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Java: Accessing Private Members</title>
		<link>http://silveiraneto.net/2009/11/14/java-accessing-private-members/</link>
		<comments>http://silveiraneto.net/2009/11/14/java-accessing-private-members/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 07:27:14 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Douglas Adams]]></category>
		<category><![CDATA[Field]]></category>
		<category><![CDATA[getclass]]></category>
		<category><![CDATA[getDeclaredField]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Object]]></category>
		<category><![CDATA[Object-Oriented Programming]]></category>
		<category><![CDATA[OOP]]></category>
		<category><![CDATA[Reflection]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2942</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2009/11/14/java-accessing-private-members/" title="Java: Accessing Private Members"></a>Using reflection to change the accessibility of a private object field and access it at runtime. import java.lang.reflect.Field; &#160; class Life &#123; private int meaning = 42; &#125; &#160; class Hack &#123; public static void main&#40;String args&#91;&#93;&#41;&#123; Life life = &#8230;<p class="read-more"><a href="http://silveiraneto.net/2009/11/14/java-accessing-private-members/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2009/11/14/java-accessing-private-members/" title="Java: Accessing Private Members"></a><p>Using reflection to change the accessibility of a private object field and access it at runtime.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.lang.reflect.Field</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">class</span> Life <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000066; font-weight: bold;">int</span> meaning <span style="color: #339933;">=</span> <span style="color: #cc66cc;">42</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">class</span> Hack <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> args<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        Life life <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Life<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003399;">Field</span> field <span style="color: #339933;">=</span> life.<span style="color: #006633;">getClass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getDeclaredField</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;meaning&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            field.<span style="color: #006633;">setAccessible</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>field.<span style="color: #006633;">get</span><span style="color: #009900;">&#40;</span>life<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">NoSuchFieldException</span> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            e.<span style="color: #006633;">printStackTrace</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">IllegalAccessException</span> e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
            e.<span style="color: #006633;">printStackTrace</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Output:</p>
<blockquote><p>42</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/11/14/java-accessing-private-members/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

