Author: chas Date: Fri Jun 1 00:30:25 2012 New Revision: 1344951 URL: http://svn.apache.org/viewvc?rev=1344951&view=rev Log: add the missing annotations
Added: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/AnnotationAnnotation.java (with props) commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ConstructorAnnotation.java (with props) commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/FieldAnnotation.java (with props) commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/MethodAnnotation.java (with props) commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ParameterAnnotation.java (with props) commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TestEnum.java (with props) commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TypeAnnotation.java (with props) Added: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/AnnotationAnnotation.java URL: http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/AnnotationAnnotation.java?rev=1344951&view=auto ============================================================================== --- commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/AnnotationAnnotation.java (added) +++ commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/AnnotationAnnotation.java Fri Jun 1 00:30:25 2012 @@ -0,0 +1,22 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.classscan.test.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; + +@Target(ElementType.ANNOTATION_TYPE) +public @interface AnnotationAnnotation { + +} Propchange: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/AnnotationAnnotation.java ------------------------------------------------------------------------------ svn:eol-style = native Added: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ConstructorAnnotation.java URL: http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ConstructorAnnotation.java?rev=1344951&view=auto ============================================================================== --- commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ConstructorAnnotation.java (added) +++ commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ConstructorAnnotation.java Fri Jun 1 00:30:25 2012 @@ -0,0 +1,22 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.classscan.test.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; + +@Target(ElementType.CONSTRUCTOR) +public @interface ConstructorAnnotation { + +} Propchange: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ConstructorAnnotation.java ------------------------------------------------------------------------------ svn:eol-style = native Added: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/FieldAnnotation.java URL: http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/FieldAnnotation.java?rev=1344951&view=auto ============================================================================== --- commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/FieldAnnotation.java (added) +++ commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/FieldAnnotation.java Fri Jun 1 00:30:25 2012 @@ -0,0 +1,22 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.classscan.test.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; + +@Target(ElementType.FIELD) +public @interface FieldAnnotation { + +} Propchange: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/FieldAnnotation.java ------------------------------------------------------------------------------ svn:eol-style = native Added: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/MethodAnnotation.java URL: http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/MethodAnnotation.java?rev=1344951&view=auto ============================================================================== --- commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/MethodAnnotation.java (added) +++ commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/MethodAnnotation.java Fri Jun 1 00:30:25 2012 @@ -0,0 +1,22 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.classscan.test.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; + +@Target(ElementType.METHOD) +public @interface MethodAnnotation { + +} Propchange: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/MethodAnnotation.java ------------------------------------------------------------------------------ svn:eol-style = native Added: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ParameterAnnotation.java URL: http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ParameterAnnotation.java?rev=1344951&view=auto ============================================================================== --- commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ParameterAnnotation.java (added) +++ commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ParameterAnnotation.java Fri Jun 1 00:30:25 2012 @@ -0,0 +1,22 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.classscan.test.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; + +@Target(ElementType.PARAMETER) +public @interface ParameterAnnotation { + +} Propchange: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/ParameterAnnotation.java ------------------------------------------------------------------------------ svn:eol-style = native Added: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TestEnum.java URL: http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TestEnum.java?rev=1344951&view=auto ============================================================================== --- commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TestEnum.java (added) +++ commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TestEnum.java Fri Jun 1 00:30:25 2012 @@ -0,0 +1,18 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.classscan.test.annotations; + +public enum TestEnum { + One, Two, Three +} Propchange: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TestEnum.java ------------------------------------------------------------------------------ svn:eol-style = native Added: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TypeAnnotation.java URL: http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TypeAnnotation.java?rev=1344951&view=auto ============================================================================== --- commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TypeAnnotation.java (added) +++ commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TypeAnnotation.java Fri Jun 1 00:30:25 2012 @@ -0,0 +1,48 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.classscan.test.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; + + +@Target(ElementType.TYPE) +public @interface TypeAnnotation { + + double doubleValue(); + + int longValue(); + + int shortValue(); + + String stringValue(); + + boolean booleanValue(); + + String[] stringArrayValue(); + + Class<Object> classValue(); + + AnnotationAnnotation annotationValue(); + + float floatValue(); + + char charValue(); + + int intValue(); + + int byteValue(); + + TestEnum enumValue(); +} Propchange: commons/sandbox/classscan/trunk/src/test/java/org/apache/commons/classscan/test/annotations/TypeAnnotation.java ------------------------------------------------------------------------------ svn:eol-style = native