You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2013/09/25 19:37:20 UTC
svn commit: r879866 [26/33] - in
/websites/production/commons/content/proper/commons-weaver: ./ apidocs/
apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/
apidocs/org/apache/commons/weaver/
apidocs/org/apache/commons/weaver/class-use/ apidoc...
Added: websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/beans/TestBeanWithClassAnnotation.html
==============================================================================
--- websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/beans/TestBeanWithClassAnnotation.html (added)
+++ websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/beans/TestBeanWithClassAnnotation.html Wed Sep 25 17:37:14 2013
@@ -0,0 +1,102 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * with the License. You may obtain a copy of the License at<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *<a name="line.9"></a>
+<span class="sourceLineNo">010</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * software distributed under the License is distributed on an<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * KIND, either express or implied. See the License for the<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * specific language governing permissions and limitations<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * under the License.<a name="line.17"></a>
+<span class="sourceLineNo">018</span> */<a name="line.18"></a>
+<span class="sourceLineNo">019</span>package org.apache.commons.weaver.test.beans;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Simple test bean<a name="line.22"></a>
+<span class="sourceLineNo">023</span> */<a name="line.23"></a>
+<span class="sourceLineNo">024</span>@TestAnnotation<a name="line.24"></a>
+<span class="sourceLineNo">025</span>public class TestBeanWithClassAnnotation extends AbstractTestBean implements TestBeanInterface {<a name="line.25"></a>
+<span class="sourceLineNo">026</span> @SuppressWarnings("unused")<a name="line.26"></a>
+<span class="sourceLineNo">027</span> private int someMethod() {<a name="line.27"></a>
+<span class="sourceLineNo">028</span> return 42;<a name="line.28"></a>
+<span class="sourceLineNo">029</span> }<a name="line.29"></a>
+<span class="sourceLineNo">030</span>}<a name="line.30"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file
Added: websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/beans/TestBeanWithMethodAnnotation.html
==============================================================================
--- websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/beans/TestBeanWithMethodAnnotation.html (added)
+++ websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/beans/TestBeanWithMethodAnnotation.html Wed Sep 25 17:37:14 2013
@@ -0,0 +1,106 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * with the License. You may obtain a copy of the License at<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *<a name="line.9"></a>
+<span class="sourceLineNo">010</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * software distributed under the License is distributed on an<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * KIND, either express or implied. See the License for the<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * specific language governing permissions and limitations<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * under the License.<a name="line.17"></a>
+<span class="sourceLineNo">018</span> */<a name="line.18"></a>
+<span class="sourceLineNo">019</span>package org.apache.commons.weaver.test.beans;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Simple test bean<a name="line.22"></a>
+<span class="sourceLineNo">023</span> */<a name="line.23"></a>
+<span class="sourceLineNo">024</span>public class TestBeanWithMethodAnnotation extends AbstractTestBean {<a name="line.24"></a>
+<span class="sourceLineNo">025</span> @TestAnnotation<a name="line.25"></a>
+<span class="sourceLineNo">026</span> private int annotatedMethod() {<a name="line.26"></a>
+<span class="sourceLineNo">027</span> return 42;<a name="line.27"></a>
+<span class="sourceLineNo">028</span> }<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span> @SuppressWarnings("unused")<a name="line.30"></a>
+<span class="sourceLineNo">031</span> private int nonAnnotatedMethod() {<a name="line.31"></a>
+<span class="sourceLineNo">032</span> return 21;<a name="line.32"></a>
+<span class="sourceLineNo">033</span> }<a name="line.33"></a>
+<span class="sourceLineNo">034</span>}<a name="line.34"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file
Added: websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/weaver/TestCleaner.html
==============================================================================
--- websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/weaver/TestCleaner.html (added)
+++ websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/weaver/TestCleaner.html Wed Sep 25 17:37:14 2013
@@ -0,0 +1,123 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * with the License. You may obtain a copy of the License at<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *<a name="line.9"></a>
+<span class="sourceLineNo">010</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * software distributed under the License is distributed on an<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * KIND, either express or implied. See the License for the<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * specific language governing permissions and limitations<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * under the License.<a name="line.17"></a>
+<span class="sourceLineNo">018</span> */<a name="line.18"></a>
+<span class="sourceLineNo">019</span>package org.apache.commons.weaver.test.weaver;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.lang.annotation.ElementType;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>import org.apache.commons.weaver.model.ScanRequest;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import org.apache.commons.weaver.model.Scanner;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.commons.weaver.model.WeavableClass;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.commons.weaver.model.WeaveEnvironment;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.commons.weaver.model.WeaveInterest;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.commons.weaver.spi.Cleaner;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.commons.weaver.test.beans.TestAnnotation;<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span>public class TestCleaner implements Cleaner {<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span> @Override<a name="line.33"></a>
+<span class="sourceLineNo">034</span> public boolean clean(WeaveEnvironment environment, Scanner scanner) {<a name="line.34"></a>
+<span class="sourceLineNo">035</span> boolean result = false;<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span> final ScanRequest scanRequest =<a name="line.37"></a>
+<span class="sourceLineNo">038</span> new ScanRequest().add(WeaveInterest.of(TestAnnotation.class, ElementType.TYPE)).add(<a name="line.38"></a>
+<span class="sourceLineNo">039</span> WeaveInterest.of(TestAnnotation.class, ElementType.METHOD));<a name="line.39"></a>
+<span class="sourceLineNo">040</span><a name="line.40"></a>
+<span class="sourceLineNo">041</span> for (WeavableClass<?> weavableClass : scanner.scan(scanRequest).getClasses()) {<a name="line.41"></a>
+<span class="sourceLineNo">042</span> if (environment.deleteClassfile(weavableClass.getTarget())) {<a name="line.42"></a>
+<span class="sourceLineNo">043</span> result = true;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> } else {<a name="line.44"></a>
+<span class="sourceLineNo">045</span> break;<a name="line.45"></a>
+<span class="sourceLineNo">046</span> }<a name="line.46"></a>
+<span class="sourceLineNo">047</span> }<a name="line.47"></a>
+<span class="sourceLineNo">048</span> return result;<a name="line.48"></a>
+<span class="sourceLineNo">049</span> }<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span>}<a name="line.51"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file
Added: websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/weaver/TestWeaver.html
==============================================================================
--- websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/weaver/TestWeaver.html (added)
+++ websites/production/commons/content/proper/commons-weaver/testapidocs/src-html/org/apache/commons/weaver/test/weaver/TestWeaver.html Wed Sep 25 17:37:14 2013
@@ -0,0 +1,160 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * with the License. You may obtain a copy of the License at<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *<a name="line.9"></a>
+<span class="sourceLineNo">010</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * software distributed under the License is distributed on an<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * KIND, either express or implied. See the License for the<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * specific language governing permissions and limitations<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * under the License.<a name="line.17"></a>
+<span class="sourceLineNo">018</span> */<a name="line.18"></a>
+<span class="sourceLineNo">019</span>package org.apache.commons.weaver.test.weaver;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.lang.annotation.ElementType;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.lang.reflect.Method;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.ArrayList;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.util.List;<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.commons.weaver.model.ScanRequest;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.commons.weaver.model.ScanResult;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.commons.weaver.model.Scanner;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.commons.weaver.model.WeavableClass;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.commons.weaver.model.WeavableMethod;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.commons.weaver.model.WeaveEnvironment;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.commons.weaver.model.WeaveInterest;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.commons.weaver.spi.Weaver;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.commons.weaver.test.beans.AbstractTestBean;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.commons.weaver.test.beans.TestAnnotation;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.commons.weaver.test.beans.TestBeanInterface;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.junit.Assert;<a name="line.37"></a>
+<span class="sourceLineNo">038</span><a name="line.38"></a>
+<span class="sourceLineNo">039</span>/**<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <a name="line.40"></a>
+<span class="sourceLineNo">041</span> */<a name="line.41"></a>
+<span class="sourceLineNo">042</span>public class TestWeaver implements Weaver {<a name="line.42"></a>
+<span class="sourceLineNo">043</span> public static List<Method> wovenMethods = new ArrayList<Method>();<a name="line.43"></a>
+<span class="sourceLineNo">044</span> public static List<Class<?>> wovenClasses = new ArrayList<Class<?>>();<a name="line.44"></a>
+<span class="sourceLineNo">045</span> public static List<Class<?>> implementors = new ArrayList<Class<?>>();<a name="line.45"></a>
+<span class="sourceLineNo">046</span> public static List<Class<?>> subclasses = new ArrayList<Class<?>>();<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span> @Override<a name="line.48"></a>
+<span class="sourceLineNo">049</span> public boolean process(WeaveEnvironment environment, Scanner scanner) {<a name="line.49"></a>
+<span class="sourceLineNo">050</span> Assert.assertNotNull(environment.config);<a name="line.50"></a>
+<span class="sourceLineNo">051</span> Assert.assertEquals(1, environment.config.size());<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span> String configValue = environment.config.getProperty("configKey");<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span> Assert.assertEquals("configValue", configValue);<a name="line.55"></a>
+<span class="sourceLineNo">056</span> boolean result = false;<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span> final ScanRequest scanRequest =<a name="line.58"></a>
+<span class="sourceLineNo">059</span> new ScanRequest().add(WeaveInterest.of(TestAnnotation.class, ElementType.TYPE))<a name="line.59"></a>
+<span class="sourceLineNo">060</span> .add(WeaveInterest.of(TestAnnotation.class, ElementType.METHOD))<a name="line.60"></a>
+<span class="sourceLineNo">061</span> .addSupertypes(AbstractTestBean.class, TestBeanInterface.class);<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span> final ScanResult scanResult = scanner.scan(scanRequest);<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span> for (WeavableClass<?> weavableClass : scanResult.getClasses().with(TestAnnotation.class)) {<a name="line.65"></a>
+<span class="sourceLineNo">066</span> if (wovenClasses.add(weavableClass.getTarget())) {<a name="line.66"></a>
+<span class="sourceLineNo">067</span> result = true;<a name="line.67"></a>
+<span class="sourceLineNo">068</span> }<a name="line.68"></a>
+<span class="sourceLineNo">069</span> }<a name="line.69"></a>
+<span class="sourceLineNo">070</span> for (WeavableMethod<?> weavableMethod : scanResult.getMethods().with(TestAnnotation.class)) {<a name="line.70"></a>
+<span class="sourceLineNo">071</span> if (wovenMethods.add(weavableMethod.getTarget())) {<a name="line.71"></a>
+<span class="sourceLineNo">072</span> result = true;<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span> }<a name="line.74"></a>
+<span class="sourceLineNo">075</span> for (WeavableClass<?> weavableClass : scanResult.getClassesAssignableTo(TestBeanInterface.class)) {<a name="line.75"></a>
+<span class="sourceLineNo">076</span> if (implementors.add(weavableClass.getTarget())) {<a name="line.76"></a>
+<span class="sourceLineNo">077</span> result = true;<a name="line.77"></a>
+<span class="sourceLineNo">078</span> }<a name="line.78"></a>
+<span class="sourceLineNo">079</span> }<a name="line.79"></a>
+<span class="sourceLineNo">080</span> for (WeavableClass<?> weavableClass : scanResult.getClassesAssignableTo(AbstractTestBean.class)) {<a name="line.80"></a>
+<span class="sourceLineNo">081</span> if (subclasses.add(weavableClass.getTarget())) {<a name="line.81"></a>
+<span class="sourceLineNo">082</span> result = true;<a name="line.82"></a>
+<span class="sourceLineNo">083</span> }<a name="line.83"></a>
+<span class="sourceLineNo">084</span> }<a name="line.84"></a>
+<span class="sourceLineNo">085</span> return result;<a name="line.85"></a>
+<span class="sourceLineNo">086</span> }<a name="line.86"></a>
+<span class="sourceLineNo">087</span><a name="line.87"></a>
+<span class="sourceLineNo">088</span>}<a name="line.88"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file
Added: websites/production/commons/content/proper/commons-weaver/testapidocs/stylesheet.css
==============================================================================
--- websites/production/commons/content/proper/commons-weaver/testapidocs/stylesheet.css (added)
+++ websites/production/commons/content/proper/commons-weaver/testapidocs/stylesheet.css Wed Sep 25 17:37:14 2013
@@ -0,0 +1,474 @@
+/* Javadoc style sheet */
+/*
+Overall document style
+*/
+body {
+ background-color:#ffffff;
+ color:#353833;
+ font-family:Arial, Helvetica, sans-serif;
+ font-size:76%;
+ margin:0;
+}
+a:link, a:visited {
+ text-decoration:none;
+ color:#4c6b87;
+}
+a:hover, a:focus {
+ text-decoration:none;
+ color:#bb7a2a;
+}
+a:active {
+ text-decoration:none;
+ color:#4c6b87;
+}
+a[name] {
+ color:#353833;
+}
+a[name]:hover {
+ text-decoration:none;
+ color:#353833;
+}
+pre {
+ font-size:1.3em;
+}
+h1 {
+ font-size:1.8em;
+}
+h2 {
+ font-size:1.5em;
+}
+h3 {
+ font-size:1.4em;
+}
+h4 {
+ font-size:1.3em;
+}
+h5 {
+ font-size:1.2em;
+}
+h6 {
+ font-size:1.1em;
+}
+ul {
+ list-style-type:disc;
+}
+code, tt {
+ font-size:1.2em;
+}
+dt code {
+ font-size:1.2em;
+}
+table tr td dt code {
+ font-size:1.2em;
+ vertical-align:top;
+}
+sup {
+ font-size:.6em;
+}
+/*
+Document title and Copyright styles
+*/
+.clear {
+ clear:both;
+ height:0px;
+ overflow:hidden;
+}
+.aboutLanguage {
+ float:right;
+ padding:0px 21px;
+ font-size:.8em;
+ z-index:200;
+ margin-top:-7px;
+}
+.legalCopy {
+ margin-left:.5em;
+}
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
+ color:#FFFFFF;
+ text-decoration:none;
+}
+.bar a:hover, .bar a:focus {
+ color:#bb7a2a;
+}
+.tab {
+ background-color:#0066FF;
+ background-image:url(resources/titlebar.gif);
+ background-position:left top;
+ background-repeat:no-repeat;
+ color:#ffffff;
+ padding:8px;
+ width:5em;
+ font-weight:bold;
+}
+/*
+Navigation bar styles
+*/
+.bar {
+ background-image:url(resources/background.gif);
+ background-repeat:repeat-x;
+ color:#FFFFFF;
+ padding:.8em .5em .4em .8em;
+ height:auto;/*height:1.8em;*/
+ font-size:1em;
+ margin:0;
+}
+.topNav {
+ background-image:url(resources/background.gif);
+ background-repeat:repeat-x;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+}
+.bottomNav {
+ margin-top:10px;
+ background-image:url(resources/background.gif);
+ background-repeat:repeat-x;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+}
+.subNav {
+ background-color:#dee3e9;
+ border-bottom:1px solid #9eadc0;
+ float:left;
+ width:100%;
+ overflow:hidden;
+}
+.subNav div {
+ clear:left;
+ float:left;
+ padding:0 0 5px 6px;
+}
+ul.navList, ul.subNavList {
+ float:left;
+ margin:0 25px 0 0;
+ padding:0;
+}
+ul.navList li{
+ list-style:none;
+ float:left;
+ padding:3px 6px;
+}
+ul.subNavList li{
+ list-style:none;
+ float:left;
+ font-size:90%;
+}
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
+ color:#FFFFFF;
+ text-decoration:none;
+}
+.topNav a:hover, .bottomNav a:hover {
+ text-decoration:none;
+ color:#bb7a2a;
+}
+.navBarCell1Rev {
+ background-image:url(resources/tab.gif);
+ background-color:#a88834;
+ color:#FFFFFF;
+ margin: auto 5px;
+ border:1px solid #c9aa44;
+}
+/*
+Page header and footer styles
+*/
+.header, .footer {
+ clear:both;
+ margin:0 20px;
+ padding:5px 0 0 0;
+}
+.indexHeader {
+ margin:10px;
+ position:relative;
+}
+.indexHeader h1 {
+ font-size:1.3em;
+}
+.title {
+ color:#2c4557;
+ margin:10px 0;
+}
+.subTitle {
+ margin:5px 0 0 0;
+}
+.header ul {
+ margin:0 0 25px 0;
+ padding:0;
+}
+.footer ul {
+ margin:20px 0 5px 0;
+}
+.header ul li, .footer ul li {
+ list-style:none;
+ font-size:1.2em;
+}
+/*
+Heading styles
+*/
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
+ background-color:#dee3e9;
+ border-top:1px solid #9eadc0;
+ border-bottom:1px solid #9eadc0;
+ margin:0 0 6px -8px;
+ padding:2px 5px;
+}
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ background-color:#dee3e9;
+ border-top:1px solid #9eadc0;
+ border-bottom:1px solid #9eadc0;
+ margin:0 0 6px -8px;
+ padding:2px 5px;
+}
+ul.blockList ul.blockList li.blockList h3 {
+ padding:0;
+ margin:15px 0;
+}
+ul.blockList li.blockList h2 {
+ padding:0px 0 20px 0;
+}
+/*
+Page layout container styles
+*/
+.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
+ clear:both;
+ padding:10px 20px;
+ position:relative;
+}
+.indexContainer {
+ margin:10px;
+ position:relative;
+ font-size:1.0em;
+}
+.indexContainer h2 {
+ font-size:1.1em;
+ padding:0 0 3px 0;
+}
+.indexContainer ul {
+ margin:0;
+ padding:0;
+}
+.indexContainer ul li {
+ list-style:none;
+}
+.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
+ font-size:1.1em;
+ font-weight:bold;
+ margin:10px 0 0 0;
+ color:#4E4E4E;
+}
+.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
+ margin:10px 0 10px 20px;
+}
+.serializedFormContainer dl.nameValue dt {
+ margin-left:1px;
+ font-size:1.1em;
+ display:inline;
+ font-weight:bold;
+}
+.serializedFormContainer dl.nameValue dd {
+ margin:0 0 0 1px;
+ font-size:1.1em;
+ display:inline;
+}
+/*
+List styles
+*/
+ul.horizontal li {
+ display:inline;
+ font-size:0.9em;
+}
+ul.inheritance {
+ margin:0;
+ padding:0;
+}
+ul.inheritance li {
+ display:inline;
+ list-style:none;
+}
+ul.inheritance li ul.inheritance {
+ margin-left:15px;
+ padding-left:15px;
+ padding-top:1px;
+}
+ul.blockList, ul.blockListLast {
+ margin:10px 0 10px 0;
+ padding:0;
+}
+ul.blockList li.blockList, ul.blockListLast li.blockList {
+ list-style:none;
+ margin-bottom:25px;
+}
+ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
+ padding:0px 20px 5px 10px;
+ border:1px solid #9eadc0;
+ background-color:#f9f9f9;
+}
+ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
+ padding:0 0 5px 8px;
+ background-color:#ffffff;
+ border:1px solid #9eadc0;
+ border-top:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
+ margin-left:0;
+ padding-left:0;
+ padding-bottom:15px;
+ border:none;
+ border-bottom:1px solid #9eadc0;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
+ list-style:none;
+ border-bottom:none;
+ padding-bottom:0;
+}
+table tr td dl, table tr td dl dt, table tr td dl dd {
+ margin-top:0;
+ margin-bottom:1px;
+}
+/*
+Table styles
+*/
+.contentContainer table, .classUseContainer table, .constantValuesContainer table {
+ border-bottom:1px solid #9eadc0;
+ width:100%;
+}
+.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table {
+ width:100%;
+}
+.contentContainer .description table, .contentContainer .details table {
+ border-bottom:none;
+}
+.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{
+ vertical-align:top;
+ padding-right:20px;
+}
+.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast,
+.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast,
+.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne,
+.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne {
+ padding-right:3px;
+}
+.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption {
+ position:relative;
+ text-align:left;
+ background-repeat:no-repeat;
+ color:#FFFFFF;
+ font-weight:bold;
+ clear:none;
+ overflow:hidden;
+ padding:0px;
+ margin:0px;
+}
+caption a:link, caption a:hover, caption a:active, caption a:visited {
+ color:#FFFFFF;
+}
+.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span {
+ white-space:nowrap;
+ padding-top:8px;
+ padding-left:8px;
+ display:block;
+ float:left;
+ background-image:url(resources/titlebar.gif);
+ height:18px;
+}
+.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd {
+ width:10px;
+ background-image:url(resources/titlebar_end.gif);
+ background-repeat:no-repeat;
+ background-position:top right;
+ position:relative;
+ float:left;
+}
+ul.blockList ul.blockList li.blockList table {
+ margin:0 0 12px 0px;
+ width:100%;
+}
+.tableSubHeadingColor {
+ background-color: #EEEEFF;
+}
+.altColor {
+ background-color:#eeeeef;
+}
+.rowColor {
+ background-color:#ffffff;
+}
+.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td {
+ text-align:left;
+ padding:3px 3px 3px 7px;
+}
+th.colFirst, th.colLast, th.colOne, .constantValuesContainer th {
+ background:#dee3e9;
+ border-top:1px solid #9eadc0;
+ border-bottom:1px solid #9eadc0;
+ text-align:left;
+ padding:3px 3px 3px 7px;
+}
+td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
+ font-weight:bold;
+}
+td.colFirst, th.colFirst {
+ border-left:1px solid #9eadc0;
+ white-space:nowrap;
+}
+td.colLast, th.colLast {
+ border-right:1px solid #9eadc0;
+}
+td.colOne, th.colOne {
+ border-right:1px solid #9eadc0;
+ border-left:1px solid #9eadc0;
+}
+table.overviewSummary {
+ padding:0px;
+ margin-left:0px;
+}
+table.overviewSummary td.colFirst, table.overviewSummary th.colFirst,
+table.overviewSummary td.colOne, table.overviewSummary th.colOne {
+ width:25%;
+ vertical-align:middle;
+}
+table.packageSummary td.colFirst, table.overviewSummary th.colFirst {
+ width:25%;
+ vertical-align:middle;
+}
+/*
+Content styles
+*/
+.description pre {
+ margin-top:0;
+}
+.deprecatedContent {
+ margin:0;
+ padding:10px 0;
+}
+.docSummary {
+ padding:0;
+}
+/*
+Formatting effect styles
+*/
+.sourceLineNo {
+ color:green;
+ padding:0 30px 0 0;
+}
+h1.hidden {
+ visibility:hidden;
+ overflow:hidden;
+ font-size:.9em;
+}
+.block {
+ display:block;
+ margin:3px 0 0 0;
+}
+.strong {
+ font-weight:bold;
+}
\ No newline at end of file
Added: websites/production/commons/content/proper/commons-weaver/xref-test/allclasses-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-weaver/xref-test/allclasses-frame.html (added)
+++ websites/production/commons/content/proper/commons-weaver/xref-test/allclasses-frame.html Wed Sep 25 17:37:14 2013
@@ -0,0 +1,62 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+ <title>All Classes</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+ </head>
+ <body>
+
+ <h3>All Classes</h3>
+
+ <ul>
+ <li>
+ <a href="org/apache/commons/weaver/test/beans/ComplexAnnotations.html" target="classFrame"></a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/beans/AbstractTestBean.html" target="classFrame">AbstractTestBean</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/CleanProcessorTest.html" target="classFrame">CleanProcessorTest</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/beans/ComplexAnnotations.html" target="classFrame">ComplexAnnotations</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/FinderTest.html" target="classFrame">FinderTest</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/beans/ComplexAnnotations.html" target="classFrame">NestAnnotation</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/beans/ComplexAnnotations.html" target="classFrame">Stooge</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/beans/TestAnnotation.html" target="classFrame">TestAnnotation</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/beans/TestBeanInterface.html" target="classFrame">TestBeanInterface</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/beans/TestBeanWithClassAnnotation.html" target="classFrame">TestBeanWithClassAnnotation</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/beans/TestBeanWithMethodAnnotation.html" target="classFrame">TestBeanWithMethodAnnotation</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/weaver/TestCleaner.html" target="classFrame">TestCleaner</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/weaver/TestWeaver.html" target="classFrame">TestWeaver</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/WeaveProcessorTest.html" target="classFrame">WeaveProcessorTest</a>
+ </li>
+ <li>
+ <a href="org/apache/commons/weaver/test/WeaverTestBase.html" target="classFrame">WeaverTestBase</a>
+ </li>
+ </ul>
+
+ </body>
+ </html>
\ No newline at end of file
Added: websites/production/commons/content/proper/commons-weaver/xref-test/index.html
==============================================================================
--- websites/production/commons/content/proper/commons-weaver/xref-test/index.html (added)
+++ websites/production/commons/content/proper/commons-weaver/xref-test/index.html Wed Sep 25 17:37:14 2013
@@ -0,0 +1,23 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+ <title>Apache Commons Weaver Processor 1.0-SNAPSHOT Reference</title>
+ </head>
+ <frameset cols="20%,80%">
+ <frameset rows="30%,70%">
+ <frame src="overview-frame.html" name="packageListFrame" />
+ <frame src="allclasses-frame.html" name="packageFrame" />
+ </frameset>
+ <frame src="overview-summary.html" name="classFrame" />
+ <noframes>
+ <body>
+ <h1>Frame Alert</h1>
+ <p>
+ You don't have frames. Go <a href="overview-summary.html">here</a>
+ </p>
+ </body>
+ </noframes>
+ </frameset>
+</html>
Added: websites/production/commons/content/proper/commons-weaver/xref-test/org/apache/commons/weaver/FinderTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-weaver/xref-test/org/apache/commons/weaver/FinderTest.html (added)
+++ websites/production/commons/content/proper/commons-weaver/xref-test/org/apache/commons/weaver/FinderTest.html Wed Sep 25 17:37:14 2013
@@ -0,0 +1,280 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+<title>FinderTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../testapidocs/org/apache/commons/weaver/FinderTest.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.commons.weaver;
+<a class="jxr_linenumber" name="2" href="#2">2</a>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.commons.weaver.test.beans.ComplexAnnotations.Stooge.CURLY;
+<a class="jxr_linenumber" name="4" href="#4">4</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.commons.weaver.test.beans.ComplexAnnotations.Stooge.LARRY;
+<a class="jxr_linenumber" name="5" href="#5">5</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.commons.weaver.test.beans.ComplexAnnotations.Stooge.MOE;
+<a class="jxr_linenumber" name="6" href="#6">6</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.commons.weaver.test.beans.ComplexAnnotations.Stooge.SHEMP;
+<a class="jxr_linenumber" name="7" href="#7">7</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertArrayEquals;
+<a class="jxr_linenumber" name="8" href="#8">8</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertEquals;
+<a class="jxr_linenumber" name="9" href="#9">9</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertFalse;
+<a class="jxr_linenumber" name="10" href="#10">10</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertSame;
+<a class="jxr_linenumber" name="11" href="#11">11</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertTrue;
+<a class="jxr_linenumber" name="12" href="#12">12</a>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <strong class="jxr_keyword">import</strong> java.io.IOException;
+<a class="jxr_linenumber" name="14" href="#14">14</a> <strong class="jxr_keyword">import</strong> java.lang.reflect.Field;
+<a class="jxr_linenumber" name="15" href="#15">15</a> <strong class="jxr_keyword">import</strong> java.net.URLClassLoader;
+<a class="jxr_linenumber" name="16" href="#16">16</a> <strong class="jxr_keyword">import</strong> java.util.Arrays;
+<a class="jxr_linenumber" name="17" href="#17">17</a> <strong class="jxr_keyword">import</strong> java.util.HashMap;
+<a class="jxr_linenumber" name="18" href="#18">18</a> <strong class="jxr_keyword">import</strong> java.util.HashSet;
+<a class="jxr_linenumber" name="19" href="#19">19</a> <strong class="jxr_keyword">import</strong> java.util.Map;
+<a class="jxr_linenumber" name="20" href="#20">20</a> <strong class="jxr_keyword">import</strong> java.util.Set;
+<a class="jxr_linenumber" name="21" href="#21">21</a>
+<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> org.apache.commons.weaver.test.WeaverTestBase;
+<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> org.apache.commons.weaver.test.beans.AbstractTestBean;
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.commons.weaver.test.beans.ComplexAnnotations;
+<a class="jxr_linenumber" name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.apache.commons.weaver.test.beans.ComplexAnnotations.NestAnnotation;
+<a class="jxr_linenumber" name="26" href="#26">26</a> <strong class="jxr_keyword">import</strong> org.apache.commons.weaver.test.beans.ComplexAnnotations.Stooge;
+<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> org.apache.commons.weaver.test.beans.ComplexAnnotations.TestAnnotation;
+<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> org.apache.commons.weaver.test.beans.TestBeanInterface;
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> org.apache.commons.weaver.test.beans.TestBeanWithClassAnnotation;
+<a class="jxr_linenumber" name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> org.apache.commons.weaver.test.beans.TestBeanWithMethodAnnotation;
+<a class="jxr_linenumber" name="31" href="#31">31</a> <strong class="jxr_keyword">import</strong> org.apache.commons.weaver.utils.URLArray;
+<a class="jxr_linenumber" name="32" href="#32">32</a> <strong class="jxr_keyword">import</strong> org.apache.xbean.finder.Annotated;
+<a class="jxr_linenumber" name="33" href="#33">33</a> <strong class="jxr_keyword">import</strong> org.apache.xbean.finder.archive.FileArchive;
+<a class="jxr_linenumber" name="34" href="#34">34</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="35" href="#35">35</a>
+<a class="jxr_linenumber" name="36" href="#36">36</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/commons/weaver/FinderTest.html">FinderTest</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../org/apache/commons/weaver/test/WeaverTestBase.html">WeaverTestBase</a> {
+<a class="jxr_linenumber" name="37" href="#37">37</a>
+<a class="jxr_linenumber" name="38" href="#38">38</a> <strong class="jxr_keyword">private</strong> Finder finder() {
+<a class="jxr_linenumber" name="39" href="#39">39</a> <strong class="jxr_keyword">final</strong> ClassLoader classLoader = <strong class="jxr_keyword">new</strong> URLClassLoader(URLArray.fromPaths(getClassPathEntries()));
+<a class="jxr_linenumber" name="40" href="#40">40</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Finder(<strong class="jxr_keyword">new</strong> FileArchive(classLoader, getTargetFolder()));
+<a class="jxr_linenumber" name="41" href="#41">41</a> }
+<a class="jxr_linenumber" name="42" href="#42">42</a>
+<a class="jxr_linenumber" name="43" href="#43">43</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="44" href="#44">44</a> <em class="jxr_javadoccomment"> * The point of this is to prove that we can correctly hydate instances of</em>
+<a class="jxr_linenumber" name="45" href="#45">45</a> <em class="jxr_javadoccomment"> * annotations with class retention.</em>
+<a class="jxr_linenumber" name="46" href="#46">46</a> <em class="jxr_javadoccomment"> * </em>
+<a class="jxr_linenumber" name="47" href="#47">47</a> <em class="jxr_javadoccomment"> * @throws IOException</em>
+<a class="jxr_linenumber" name="48" href="#48">48</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="49" href="#49">49</a> @Test
+<a class="jxr_linenumber" name="50" href="#50">50</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testElements() <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="51" href="#51">51</a> addClassForScanning(ComplexAnnotations.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="52" href="#52">52</a> Map<String, Annotated<Field>> fields = <strong class="jxr_keyword">new</strong> HashMap<String, Annotated<Field>>();
+<a class="jxr_linenumber" name="53" href="#53">53</a> <strong class="jxr_keyword">for</strong> (Annotated<Field> annotated : finder().withAnnotations().findAnnotatedFields(
+<a class="jxr_linenumber" name="54" href="#54">54</a> ComplexAnnotations.TestAnnotation.<strong class="jxr_keyword">class</strong>)) {
+<a class="jxr_linenumber" name="55" href="#55">55</a> fields.put(annotated.get().getName(), annotated);
+<a class="jxr_linenumber" name="56" href="#56">56</a> }
+<a class="jxr_linenumber" name="57" href="#57">57</a> assertEquals(2, fields.size());
+<a class="jxr_linenumber" name="58" href="#58">58</a>
+<a class="jxr_linenumber" name="59" href="#59">59</a> <a href="../../../../org/apache/commons/weaver/test/beans/TestAnnotation.html">TestAnnotation</a> anno1 = fields.get(<span class="jxr_string">"dummy1"</span>).getAnnotation(TestAnnotation.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="60" href="#60">60</a>
+<a class="jxr_linenumber" name="61" href="#61">61</a> assertFalse(anno1.booleanValue());
+<a class="jxr_linenumber" name="62" href="#62">62</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">boolean</strong>[] { false }, anno1.booleanValues()));
+<a class="jxr_linenumber" name="63" href="#63">63</a> assertEquals((byte) 0, anno1.byteValue());
+<a class="jxr_linenumber" name="64" href="#64">64</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> byte[] { 0 }, anno1.byteValues());
+<a class="jxr_linenumber" name="65" href="#65">65</a> assertEquals((<strong class="jxr_keyword">char</strong>) 0, anno1.charValue());
+<a class="jxr_linenumber" name="66" href="#66">66</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">char</strong>[] { 0 }, anno1.charValues());
+<a class="jxr_linenumber" name="67" href="#67">67</a> assertEquals(Double.valueOf(0.0), Double.valueOf(anno1.doubleValue()));
+<a class="jxr_linenumber" name="68" href="#68">68</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[] { 0.0 }, anno1.doubleValues()));
+<a class="jxr_linenumber" name="69" href="#69">69</a> assertEquals(Float.valueOf(0.0f), Float.valueOf(anno1.floatValue()));
+<a class="jxr_linenumber" name="70" href="#70">70</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">float</strong>[] { 0.0f }, anno1.floatValues()));
+<a class="jxr_linenumber" name="71" href="#71">71</a> assertEquals(0, anno1.intValue());
+<a class="jxr_linenumber" name="72" href="#72">72</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 0 }, anno1.intValues());
+<a class="jxr_linenumber" name="73" href="#73">73</a> assertEquals(0L, anno1.longValue());
+<a class="jxr_linenumber" name="74" href="#74">74</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">long</strong>[] { 0L }, anno1.longValues());
+<a class="jxr_linenumber" name="75" href="#75">75</a>
+<a class="jxr_linenumber" name="76" href="#76">76</a> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">NestAnnotation</a> nest1 = anno1.nest();
+<a class="jxr_linenumber" name="77" href="#77">77</a> assertFalse(nest1.booleanValue());
+<a class="jxr_linenumber" name="78" href="#78">78</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">boolean</strong>[] { false }, nest1.booleanValues()));
+<a class="jxr_linenumber" name="79" href="#79">79</a> assertEquals((byte) 0, nest1.byteValue());
+<a class="jxr_linenumber" name="80" href="#80">80</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> byte[] { 0 }, nest1.byteValues());
+<a class="jxr_linenumber" name="81" href="#81">81</a> assertEquals((<strong class="jxr_keyword">char</strong>) 0, nest1.charValue());
+<a class="jxr_linenumber" name="82" href="#82">82</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">char</strong>[] { 0 }, nest1.charValues());
+<a class="jxr_linenumber" name="83" href="#83">83</a> assertEquals(Double.valueOf(0.0), Double.valueOf(nest1.doubleValue()));
+<a class="jxr_linenumber" name="84" href="#84">84</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[] { 0.0 }, nest1.doubleValues()));
+<a class="jxr_linenumber" name="85" href="#85">85</a> assertEquals(Float.valueOf(0.0f), Float.valueOf(nest1.floatValue()));
+<a class="jxr_linenumber" name="86" href="#86">86</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">float</strong>[] { 0.0f }, nest1.floatValues()));
+<a class="jxr_linenumber" name="87" href="#87">87</a> assertEquals(0, nest1.intValue());
+<a class="jxr_linenumber" name="88" href="#88">88</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 0 }, nest1.intValues());
+<a class="jxr_linenumber" name="89" href="#89">89</a> assertEquals(0L, nest1.longValue());
+<a class="jxr_linenumber" name="90" href="#90">90</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">long</strong>[] { 0L }, nest1.longValues());
+<a class="jxr_linenumber" name="91" href="#91">91</a> assertEquals((<strong class="jxr_keyword">short</strong>) 0, nest1.shortValue());
+<a class="jxr_linenumber" name="92" href="#92">92</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">short</strong>[] { 0 }, nest1.shortValues());
+<a class="jxr_linenumber" name="93" href="#93">93</a> assertSame(CURLY, nest1.stooge());
+<a class="jxr_linenumber" name="94" href="#94">94</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">Stooge</a>[] { MOE, LARRY, SHEMP }, nest1.stooges());
+<a class="jxr_linenumber" name="95" href="#95">95</a> assertEquals(<span class="jxr_string">""</span>, nest1.string());
+<a class="jxr_linenumber" name="96" href="#96">96</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> String[] { <span class="jxr_string">""</span> }, nest1.strings());
+<a class="jxr_linenumber" name="97" href="#97">97</a> assertEquals(Object.<strong class="jxr_keyword">class</strong>, nest1.type());
+<a class="jxr_linenumber" name="98" href="#98">98</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> Class[] { Object.<strong class="jxr_keyword">class</strong> }, nest1.types());
+<a class="jxr_linenumber" name="99" href="#99">99</a>
+<a class="jxr_linenumber" name="100" href="#100">100</a> assertEquals(1, anno1.nests().length);
+<a class="jxr_linenumber" name="101" href="#101">101</a> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">NestAnnotation</a> nest1_0 = anno1.nests()[0];
+<a class="jxr_linenumber" name="102" href="#102">102</a> assertFalse(nest1_0.booleanValue());
+<a class="jxr_linenumber" name="103" href="#103">103</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">boolean</strong>[] { false }, nest1_0.booleanValues()));
+<a class="jxr_linenumber" name="104" href="#104">104</a> assertEquals((byte) 0, nest1_0.byteValue());
+<a class="jxr_linenumber" name="105" href="#105">105</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> byte[] { 0 }, nest1_0.byteValues());
+<a class="jxr_linenumber" name="106" href="#106">106</a> assertEquals((<strong class="jxr_keyword">char</strong>) 0, nest1_0.charValue());
+<a class="jxr_linenumber" name="107" href="#107">107</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">char</strong>[] { 0 }, nest1_0.charValues());
+<a class="jxr_linenumber" name="108" href="#108">108</a> assertEquals(Double.valueOf(0.0), Double.valueOf(nest1_0.doubleValue()));
+<a class="jxr_linenumber" name="109" href="#109">109</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[] { 0.0 }, nest1_0.doubleValues()));
+<a class="jxr_linenumber" name="110" href="#110">110</a> assertEquals(Float.valueOf(0.0f), Float.valueOf(nest1_0.floatValue()));
+<a class="jxr_linenumber" name="111" href="#111">111</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">float</strong>[] { 0.0f }, nest1_0.floatValues()));
+<a class="jxr_linenumber" name="112" href="#112">112</a> assertEquals(0, nest1_0.intValue());
+<a class="jxr_linenumber" name="113" href="#113">113</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 0 }, nest1_0.intValues());
+<a class="jxr_linenumber" name="114" href="#114">114</a> assertEquals(0L, nest1_0.longValue());
+<a class="jxr_linenumber" name="115" href="#115">115</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">long</strong>[] { 0L }, nest1_0.longValues());
+<a class="jxr_linenumber" name="116" href="#116">116</a> assertEquals((<strong class="jxr_keyword">short</strong>) 0, nest1_0.shortValue());
+<a class="jxr_linenumber" name="117" href="#117">117</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">short</strong>[] { 0 }, nest1_0.shortValues());
+<a class="jxr_linenumber" name="118" href="#118">118</a> assertSame(CURLY, nest1_0.stooge());
+<a class="jxr_linenumber" name="119" href="#119">119</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">Stooge</a>[] { MOE, LARRY, SHEMP }, nest1_0.stooges());
+<a class="jxr_linenumber" name="120" href="#120">120</a> assertEquals(<span class="jxr_string">""</span>, nest1_0.string());
+<a class="jxr_linenumber" name="121" href="#121">121</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> String[] { <span class="jxr_string">""</span> }, nest1_0.strings());
+<a class="jxr_linenumber" name="122" href="#122">122</a> assertEquals(Object[].<strong class="jxr_keyword">class</strong>, nest1_0.type());
+<a class="jxr_linenumber" name="123" href="#123">123</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> Class[] { Object[].<strong class="jxr_keyword">class</strong> }, nest1_0.types());
+<a class="jxr_linenumber" name="124" href="#124">124</a>
+<a class="jxr_linenumber" name="125" href="#125">125</a> assertEquals((<strong class="jxr_keyword">short</strong>) 0, anno1.shortValue());
+<a class="jxr_linenumber" name="126" href="#126">126</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">short</strong>[] { 0 }, anno1.shortValues());
+<a class="jxr_linenumber" name="127" href="#127">127</a> assertSame(SHEMP, anno1.stooge());
+<a class="jxr_linenumber" name="128" href="#128">128</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">Stooge</a>[] { MOE, LARRY, CURLY }, anno1.stooges());
+<a class="jxr_linenumber" name="129" href="#129">129</a> assertEquals(<span class="jxr_string">""</span>, anno1.string());
+<a class="jxr_linenumber" name="130" href="#130">130</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> String[] { <span class="jxr_string">""</span> }, anno1.strings());
+<a class="jxr_linenumber" name="131" href="#131">131</a> assertEquals(Object.<strong class="jxr_keyword">class</strong>, anno1.type());
+<a class="jxr_linenumber" name="132" href="#132">132</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> Class[] { Object.<strong class="jxr_keyword">class</strong> }, anno1.types());
+<a class="jxr_linenumber" name="133" href="#133">133</a>
+<a class="jxr_linenumber" name="134" href="#134">134</a> <a href="../../../../org/apache/commons/weaver/test/beans/TestAnnotation.html">TestAnnotation</a> anno2 = fields.get(<span class="jxr_string">"dummy2"</span>).getAnnotation(TestAnnotation.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="135" href="#135">135</a> assertFalse(anno2.booleanValue());
+<a class="jxr_linenumber" name="136" href="#136">136</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">boolean</strong>[] { false }, anno2.booleanValues()));
+<a class="jxr_linenumber" name="137" href="#137">137</a> assertEquals((byte) 0, anno2.byteValue());
+<a class="jxr_linenumber" name="138" href="#138">138</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> byte[] { 0 }, anno2.byteValues());
+<a class="jxr_linenumber" name="139" href="#139">139</a> assertEquals((<strong class="jxr_keyword">char</strong>) 0, anno2.charValue());
+<a class="jxr_linenumber" name="140" href="#140">140</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">char</strong>[] { 0 }, anno2.charValues());
+<a class="jxr_linenumber" name="141" href="#141">141</a> assertEquals(Double.valueOf(0.0), Double.valueOf(anno2.doubleValue()));
+<a class="jxr_linenumber" name="142" href="#142">142</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[] { 0.0 }, anno2.doubleValues()));
+<a class="jxr_linenumber" name="143" href="#143">143</a> assertEquals(Float.valueOf(0.0f), Float.valueOf(anno2.floatValue()));
+<a class="jxr_linenumber" name="144" href="#144">144</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">float</strong>[] { 0.0f }, anno2.floatValues()));
+<a class="jxr_linenumber" name="145" href="#145">145</a> assertEquals(0, anno2.intValue());
+<a class="jxr_linenumber" name="146" href="#146">146</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 0 }, anno2.intValues());
+<a class="jxr_linenumber" name="147" href="#147">147</a> assertEquals(0L, anno2.longValue());
+<a class="jxr_linenumber" name="148" href="#148">148</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">long</strong>[] { 0L }, anno2.longValues());
+<a class="jxr_linenumber" name="149" href="#149">149</a>
+<a class="jxr_linenumber" name="150" href="#150">150</a> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">NestAnnotation</a> nest2 = anno2.nest();
+<a class="jxr_linenumber" name="151" href="#151">151</a> assertFalse(nest2.booleanValue());
+<a class="jxr_linenumber" name="152" href="#152">152</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">boolean</strong>[] { false }, nest2.booleanValues()));
+<a class="jxr_linenumber" name="153" href="#153">153</a> assertEquals((byte) 0, nest2.byteValue());
+<a class="jxr_linenumber" name="154" href="#154">154</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> byte[] { 0 }, nest2.byteValues());
+<a class="jxr_linenumber" name="155" href="#155">155</a> assertEquals((<strong class="jxr_keyword">char</strong>) 0, nest2.charValue());
+<a class="jxr_linenumber" name="156" href="#156">156</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">char</strong>[] { 0 }, nest2.charValues());
+<a class="jxr_linenumber" name="157" href="#157">157</a> assertEquals(Double.valueOf(0.0), Double.valueOf(nest2.doubleValue()));
+<a class="jxr_linenumber" name="158" href="#158">158</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[] { 0.0 }, nest2.doubleValues()));
+<a class="jxr_linenumber" name="159" href="#159">159</a> assertEquals(Float.valueOf(0.0f), Float.valueOf(nest2.floatValue()));
+<a class="jxr_linenumber" name="160" href="#160">160</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">float</strong>[] { 0.0f }, nest2.floatValues()));
+<a class="jxr_linenumber" name="161" href="#161">161</a> assertEquals(0, nest2.intValue());
+<a class="jxr_linenumber" name="162" href="#162">162</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 0 }, nest2.intValues());
+<a class="jxr_linenumber" name="163" href="#163">163</a> assertEquals(0L, nest2.longValue());
+<a class="jxr_linenumber" name="164" href="#164">164</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">long</strong>[] { 0L }, nest2.longValues());
+<a class="jxr_linenumber" name="165" href="#165">165</a> assertEquals((<strong class="jxr_keyword">short</strong>) 0, nest2.shortValue());
+<a class="jxr_linenumber" name="166" href="#166">166</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">short</strong>[] { 0 }, nest2.shortValues());
+<a class="jxr_linenumber" name="167" href="#167">167</a> assertSame(CURLY, nest2.stooge());
+<a class="jxr_linenumber" name="168" href="#168">168</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">Stooge</a>[] { MOE, LARRY, SHEMP }, nest2.stooges());
+<a class="jxr_linenumber" name="169" href="#169">169</a> assertEquals(<span class="jxr_string">""</span>, nest2.string());
+<a class="jxr_linenumber" name="170" href="#170">170</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> String[] { <span class="jxr_string">""</span> }, nest2.strings());
+<a class="jxr_linenumber" name="171" href="#171">171</a> assertEquals(Object.<strong class="jxr_keyword">class</strong>, nest2.type());
+<a class="jxr_linenumber" name="172" href="#172">172</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> Class[] { Object.<strong class="jxr_keyword">class</strong> }, nest2.types());
+<a class="jxr_linenumber" name="173" href="#173">173</a>
+<a class="jxr_linenumber" name="174" href="#174">174</a> assertEquals(2, anno2.nests().length);
+<a class="jxr_linenumber" name="175" href="#175">175</a> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">NestAnnotation</a> nest2_0 = anno2.nests()[0];
+<a class="jxr_linenumber" name="176" href="#176">176</a> assertFalse(nest2_0.booleanValue());
+<a class="jxr_linenumber" name="177" href="#177">177</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">boolean</strong>[] { false }, nest2_0.booleanValues()));
+<a class="jxr_linenumber" name="178" href="#178">178</a> assertEquals((byte) 0, nest2_0.byteValue());
+<a class="jxr_linenumber" name="179" href="#179">179</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> byte[] { 0 }, nest2_0.byteValues());
+<a class="jxr_linenumber" name="180" href="#180">180</a> assertEquals((<strong class="jxr_keyword">char</strong>) 0, nest2_0.charValue());
+<a class="jxr_linenumber" name="181" href="#181">181</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">char</strong>[] { 0 }, nest2_0.charValues());
+<a class="jxr_linenumber" name="182" href="#182">182</a> assertEquals(Double.valueOf(0.0), Double.valueOf(nest2_0.doubleValue()));
+<a class="jxr_linenumber" name="183" href="#183">183</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[] { 0.0 }, nest2_0.doubleValues()));
+<a class="jxr_linenumber" name="184" href="#184">184</a> assertEquals(Float.valueOf(0.0f), Float.valueOf(nest2_0.floatValue()));
+<a class="jxr_linenumber" name="185" href="#185">185</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">float</strong>[] { 0.0f }, nest2_0.floatValues()));
+<a class="jxr_linenumber" name="186" href="#186">186</a> assertEquals(0, nest2_0.intValue());
+<a class="jxr_linenumber" name="187" href="#187">187</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 0 }, nest2_0.intValues());
+<a class="jxr_linenumber" name="188" href="#188">188</a> assertEquals(0L, nest2_0.longValue());
+<a class="jxr_linenumber" name="189" href="#189">189</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">long</strong>[] { 0L }, nest2_0.longValues());
+<a class="jxr_linenumber" name="190" href="#190">190</a> assertEquals((<strong class="jxr_keyword">short</strong>) 0, nest2_0.shortValue());
+<a class="jxr_linenumber" name="191" href="#191">191</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">short</strong>[] { 0 }, nest2_0.shortValues());
+<a class="jxr_linenumber" name="192" href="#192">192</a> assertSame(CURLY, nest2_0.stooge());
+<a class="jxr_linenumber" name="193" href="#193">193</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">Stooge</a>[] { MOE, LARRY, SHEMP }, nest2_0.stooges());
+<a class="jxr_linenumber" name="194" href="#194">194</a> assertEquals(<span class="jxr_string">""</span>, nest2_0.string());
+<a class="jxr_linenumber" name="195" href="#195">195</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> String[] { <span class="jxr_string">""</span> }, nest2_0.strings());
+<a class="jxr_linenumber" name="196" href="#196">196</a> assertEquals(Object[].<strong class="jxr_keyword">class</strong>, nest2_0.type());
+<a class="jxr_linenumber" name="197" href="#197">197</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> Class[] { Object[].<strong class="jxr_keyword">class</strong> }, nest2_0.types());
+<a class="jxr_linenumber" name="198" href="#198">198</a>
+<a class="jxr_linenumber" name="199" href="#199">199</a> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">NestAnnotation</a> nest2_1 = anno2.nests()[1];
+<a class="jxr_linenumber" name="200" href="#200">200</a> assertFalse(nest2_1.booleanValue());
+<a class="jxr_linenumber" name="201" href="#201">201</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">boolean</strong>[] { false }, nest2_1.booleanValues()));
+<a class="jxr_linenumber" name="202" href="#202">202</a> assertEquals((byte) 0, nest2_1.byteValue());
+<a class="jxr_linenumber" name="203" href="#203">203</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> byte[] { 0 }, nest2_1.byteValues());
+<a class="jxr_linenumber" name="204" href="#204">204</a> assertEquals((<strong class="jxr_keyword">char</strong>) 0, nest2_1.charValue());
+<a class="jxr_linenumber" name="205" href="#205">205</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">char</strong>[] { 0 }, nest2_1.charValues());
+<a class="jxr_linenumber" name="206" href="#206">206</a> assertEquals(Double.valueOf(0.0), Double.valueOf(nest2_1.doubleValue()));
+<a class="jxr_linenumber" name="207" href="#207">207</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[] { 0.0 }, nest2_1.doubleValues()));
+<a class="jxr_linenumber" name="208" href="#208">208</a> assertEquals(Float.valueOf(0.0f), Float.valueOf(nest2_1.floatValue()));
+<a class="jxr_linenumber" name="209" href="#209">209</a> assertTrue(Arrays.equals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">float</strong>[] { 0.0f }, nest2_1.floatValues()));
+<a class="jxr_linenumber" name="210" href="#210">210</a> assertEquals(0, nest2_1.intValue());
+<a class="jxr_linenumber" name="211" href="#211">211</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 0 }, nest2_1.intValues());
+<a class="jxr_linenumber" name="212" href="#212">212</a> assertEquals(0L, nest2_1.longValue());
+<a class="jxr_linenumber" name="213" href="#213">213</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">long</strong>[] { 0L }, nest2_1.longValues());
+<a class="jxr_linenumber" name="214" href="#214">214</a> assertEquals((<strong class="jxr_keyword">short</strong>) 0, nest2_1.shortValue());
+<a class="jxr_linenumber" name="215" href="#215">215</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">short</strong>[] { 0 }, nest2_1.shortValues());
+<a class="jxr_linenumber" name="216" href="#216">216</a> assertSame(CURLY, nest2_1.stooge());
+<a class="jxr_linenumber" name="217" href="#217">217</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">Stooge</a>[] { MOE, LARRY, SHEMP }, nest2_1.stooges());
+<a class="jxr_linenumber" name="218" href="#218">218</a> assertEquals(<span class="jxr_string">""</span>, nest2_1.string());
+<a class="jxr_linenumber" name="219" href="#219">219</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> String[] { <span class="jxr_string">""</span> }, nest2_1.strings());
+<a class="jxr_linenumber" name="220" href="#220">220</a> assertEquals(Object[].<strong class="jxr_keyword">class</strong>, nest2_1.type());
+<a class="jxr_linenumber" name="221" href="#221">221</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> Class[] { Object[].<strong class="jxr_keyword">class</strong> }, nest2_1.types());
+<a class="jxr_linenumber" name="222" href="#222">222</a>
+<a class="jxr_linenumber" name="223" href="#223">223</a> assertEquals((<strong class="jxr_keyword">short</strong>) 0, anno2.shortValue());
+<a class="jxr_linenumber" name="224" href="#224">224</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">short</strong>[] { 0 }, anno2.shortValues());
+<a class="jxr_linenumber" name="225" href="#225">225</a> assertSame(SHEMP, anno2.stooge());
+<a class="jxr_linenumber" name="226" href="#226">226</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/weaver/test/beans/ComplexAnnotations.html">Stooge</a>[] { MOE, LARRY, CURLY }, anno2.stooges());
+<a class="jxr_linenumber" name="227" href="#227">227</a> assertEquals(<span class="jxr_string">""</span>, anno2.string());
+<a class="jxr_linenumber" name="228" href="#228">228</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> String[] { <span class="jxr_string">""</span> }, anno2.strings());
+<a class="jxr_linenumber" name="229" href="#229">229</a> assertEquals(Object.<strong class="jxr_keyword">class</strong>, anno2.type());
+<a class="jxr_linenumber" name="230" href="#230">230</a> assertArrayEquals(<strong class="jxr_keyword">new</strong> Class[] { Object.<strong class="jxr_keyword">class</strong> }, anno2.types());
+<a class="jxr_linenumber" name="231" href="#231">231</a> }
+<a class="jxr_linenumber" name="232" href="#232">232</a>
+<a class="jxr_linenumber" name="233" href="#233">233</a> @Test
+<a class="jxr_linenumber" name="234" href="#234">234</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testObjectMethods() <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="235" href="#235">235</a> addClassForScanning(ComplexAnnotations.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="236" href="#236">236</a> <strong class="jxr_keyword">for</strong> (Annotated<Field> annotated : finder().withAnnotations().findAnnotatedFields(
+<a class="jxr_linenumber" name="237" href="#237">237</a> ComplexAnnotations.TestAnnotation.<strong class="jxr_keyword">class</strong>)) {
+<a class="jxr_linenumber" name="238" href="#238">238</a> <a href="../../../../org/apache/commons/weaver/test/beans/TestAnnotation.html">TestAnnotation</a> anno = annotated.getAnnotation(TestAnnotation.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="239" href="#239">239</a> assertFalse(anno.toString().isEmpty());
+<a class="jxr_linenumber" name="240" href="#240">240</a> assertFalse(anno.hashCode() == 0);
+<a class="jxr_linenumber" name="241" href="#241">241</a> assertTrue(anno.equals(anno));
+<a class="jxr_linenumber" name="242" href="#242">242</a> }
+<a class="jxr_linenumber" name="243" href="#243">243</a> }
+<a class="jxr_linenumber" name="244" href="#244">244</a>
+<a class="jxr_linenumber" name="245" href="#245">245</a> @Test
+<a class="jxr_linenumber" name="246" href="#246">246</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testFindAssignableTypes() <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="247" href="#247">247</a> addClassForScanning(TestBeanInterface.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="248" href="#248">248</a> addClassForScanning(AbstractTestBean.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="249" href="#249">249</a> addClassForScanning(TestBeanWithClassAnnotation.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="250" href="#250">250</a> addClassForScanning(TestBeanWithMethodAnnotation.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="251" href="#251">251</a>
+<a class="jxr_linenumber" name="252" href="#252">252</a> <strong class="jxr_keyword">final</strong> Set<Class<?>> implementors = <strong class="jxr_keyword">new</strong> HashSet<Class<?>>();
+<a class="jxr_linenumber" name="253" href="#253">253</a> <strong class="jxr_keyword">for</strong> (Annotated<Class<?>> annotated : finder().withAnnotations().findAssignableTypes(TestBeanInterface.<strong class="jxr_keyword">class</strong>)) {
+<a class="jxr_linenumber" name="254" href="#254">254</a> implementors.add(annotated.get());
+<a class="jxr_linenumber" name="255" href="#255">255</a> }
+<a class="jxr_linenumber" name="256" href="#256">256</a> assertEquals(1, implementors.size());
+<a class="jxr_linenumber" name="257" href="#257">257</a> assertTrue(implementors.contains(TestBeanWithClassAnnotation.<strong class="jxr_keyword">class</strong>));
+<a class="jxr_linenumber" name="258" href="#258">258</a>
+<a class="jxr_linenumber" name="259" href="#259">259</a> <strong class="jxr_keyword">final</strong> Set<Class<?>> subclasses = <strong class="jxr_keyword">new</strong> HashSet<Class<?>>();
+<a class="jxr_linenumber" name="260" href="#260">260</a> <strong class="jxr_keyword">for</strong> (Annotated<Class<?>> annotated : finder().withAnnotations().findAssignableTypes(AbstractTestBean.<strong class="jxr_keyword">class</strong>)) {
+<a class="jxr_linenumber" name="261" href="#261">261</a> subclasses.add(annotated.get());
+<a class="jxr_linenumber" name="262" href="#262">262</a> }
+<a class="jxr_linenumber" name="263" href="#263">263</a> assertEquals(2, subclasses.size());
+<a class="jxr_linenumber" name="264" href="#264">264</a> assertTrue(subclasses.contains(TestBeanWithClassAnnotation.<strong class="jxr_keyword">class</strong>));
+<a class="jxr_linenumber" name="265" href="#265">265</a> assertTrue(subclasses.contains(TestBeanWithMethodAnnotation.<strong class="jxr_keyword">class</strong>));
+<a class="jxr_linenumber" name="266" href="#266">266</a> }
+<a class="jxr_linenumber" name="267" href="#267">267</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Added: websites/production/commons/content/proper/commons-weaver/xref-test/org/apache/commons/weaver/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-weaver/xref-test/org/apache/commons/weaver/package-frame.html (added)
+++ websites/production/commons/content/proper/commons-weaver/xref-test/org/apache/commons/weaver/package-frame.html Wed Sep 25 17:37:14 2013
@@ -0,0 +1,27 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+ <title>Apache Commons Weaver Processor 1.0-SNAPSHOT Reference Package org.apache.commons.weaver</title>
+ <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
+ </head>
+ <body>
+
+ <h3>
+ <a href="package-summary.html" target="classFrame">org.apache.commons.weaver</a>
+ </h3>
+
+ <h3>Classes</h3>
+
+ <ul>
+ <li>
+ <a href="FinderTest.html" target="classFrame"></a>
+ </li>
+ <li>
+ <a href="FinderTest.html" target="classFrame">FinderTest</a>
+ </li>
+ </ul>
+
+ </body>
+</html>
\ No newline at end of file
Added: websites/production/commons/content/proper/commons-weaver/xref-test/org/apache/commons/weaver/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-weaver/xref-test/org/apache/commons/weaver/package-summary.html (added)
+++ websites/production/commons/content/proper/commons-weaver/xref-test/org/apache/commons/weaver/package-summary.html Wed Sep 25 17:37:14 2013
@@ -0,0 +1,72 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+ <title>Apache Commons Weaver Processor 1.0-SNAPSHOT Reference Package org.apache.commons.weaver</title>
+ <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
+ </head>
+ <body>
+ <div class="overview">
+ <ul>
+ <li>
+ <a href="../../../../overview-summary.html">Overview</a>
+ </li>
+ <li class="selected">Package</li>
+ </ul>
+ </div>
+ <div class="framenoframe">
+ <ul>
+ <li>
+ <a href="../../../../index.html" target="_top">FRAMES</a>
+ </li>
+ <li>
+ <a href="package-summary.html" target="_top">NO FRAMES</a>
+ </li>
+ </ul>
+ </div>
+
+ <h2>Package org.apache.commons.weaver</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Class Summary</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <a href="FinderTest.html" target="classFrame"></a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="FinderTest.html" target="classFrame">FinderTest</a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ <div class="overview">
+ <ul>
+ <li>
+ <a href="../../../../overview-summary.html">Overview</a>
+ </li>
+ <li class="selected">Package</li>
+ </ul>
+ </div>
+ <div class="framenoframe">
+ <ul>
+ <li>
+ <a href="../../../../index.html" target="_top">FRAMES</a>
+ </li>
+ <li>
+ <a href="package-summary.html" target="_top">NO FRAMES</a>
+ </li>
+ </ul>
+ </div>
+ <hr />
+ Copyright © 2013 The Apache Software Foundation. All Rights Reserved.
+ </body>
+</html>
\ No newline at end of file