harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r446491 [1/24] - in /incubator/harmony/enhanced/classlib/trunk/modules: luni-kernel/.settings/ luni-kernel/META-INF/ luni-kernel/make/ luni-kernel/src/main/java/java/lang/ luni-kernel/src/main/java/java/lang/ref/ luni-kernel/src/main/java/j...
Date Fri, 15 Sep 2006 03:08:13 GMT
Author: ndbeyer
Date: Thu Sep 14 20:08:07 2006
New Revision: 446491

URL: http://svn.apache.org/viewvc?view=rev&rev=446491
Log:
Set eol-style = native for luni-kernel, math and misc modules.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.ui.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.pde.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/META-INF/MANIFEST.MF   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/make/patternset.txt   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ClassLoader.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Compiler.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Object.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Package.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Runtime.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/StackTraceElement.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/System.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Thread.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ThreadGroup.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Throwable.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ref/PhantomReference.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ref/Reference.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ref/SoftReference.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ref/WeakReference.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/AccessibleObject.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Array.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Constructor.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Field.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Method.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/VM.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/.classpath   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/.project   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/.settings/org.eclipse.jdt.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/.settings/org.eclipse.jdt.ui.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/.settings/org.eclipse.pde.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/META-INF/MANIFEST.MF   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/make/patternset.txt   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/BigDecimal.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/BigInteger.java   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/BitLevel.java   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/Conversion.java   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/Division.java   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/Elementary.java   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/Logical.java   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/MathContext.java   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/Multiplication.java   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/Primality.java   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/RoundingMode.java   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigDecimalArithmeticTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigDecimalCompareTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigDecimalConvertTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigDecimalScaleOperationsTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerAddTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerAndTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerCompareTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerConstructorsTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerConvertTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerDivideTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerHashCodeTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerModPowTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerMultiplyTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerNotTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerOperateBitsTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerOrTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerSubtractTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerToStringTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/org/apache/harmony/tests/java/math/BigIntegerXorTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/tests/api/java/math/AllTests.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/tests/api/java/math/BigDecimalTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/tests/api/java/math/BigIntegerTest.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/tests/math/AllTests.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.jdt.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.jdt.ui.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.pde.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/misc/META-INF/MANIFEST.MF   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/misc/build.xml   (props changed)

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.core.prefs?view=diff&rev=446491&r1=446490&r2=446491
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.core.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.core.prefs Thu Sep 14 20:08:07 2006
@@ -1,12 +1,12 @@
-#Wed May 03 13:10:22 BST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
+#Wed May 03 13:10:22 BST 2006
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.ui.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.ui.prefs?view=diff&rev=446491&r1=446490&r2=446491
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.ui.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.ui.prefs Thu Sep 14 20:08:07 2006
@@ -1,3 +1,3 @@
-#Wed May 03 13:10:00 BST 2006
-eclipse.preferences.version=1
-internal.default.compliance=user
+#Wed May 03 13:10:00 BST 2006
+eclipse.preferences.version=1
+internal.default.compliance=user

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.pde.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.pde.core.prefs?view=diff&rev=446491&r1=446490&r2=446491
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.pde.core.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.pde.core.prefs Thu Sep 14 20:08:07 2006
@@ -1,4 +1,4 @@
-#Wed Apr 05 18:27:07 BST 2006
-eclipse.preferences.version=1
-pluginProject.equinox=false
-pluginProject.extensions=false
+#Wed Apr 05 18:27:07 BST 2006
+eclipse.preferences.version=1
+pluginProject.equinox=false
+pluginProject.extensions=false

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/.settings/org.eclipse.pde.core.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/META-INF/MANIFEST.MF?view=diff&rev=446491&r1=446490&r2=446491
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/META-INF/MANIFEST.MF (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/META-INF/MANIFEST.MF Thu Sep 14 20:08:07 2006
@@ -1,17 +1,17 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Harmony LUNI Kernel
-Bundle-ClassPath: .
-Fragment-Host: org.apache.harmony.luni;bundle-version="1.0.0"
-Eclipse-JREBundle: true
-Bundle-SymbolicName: org.apache.harmony.luni.kernel
-Bundle-Version: 1.0.0
-Export-Package: java.lang,
- java.lang.reflect,
- java.lang.ref,
- org.apache.harmony.kernel.vm,
- sun.misc
-Import-Package: java.io,
- java.lang.annotation,
- java.nio,
- java.security
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Harmony LUNI Kernel
+Bundle-ClassPath: .
+Fragment-Host: org.apache.harmony.luni;bundle-version="1.0.0"
+Eclipse-JREBundle: true
+Bundle-SymbolicName: org.apache.harmony.luni.kernel
+Bundle-Version: 1.0.0
+Export-Package: java.lang,
+ java.lang.reflect,
+ java.lang.ref,
+ org.apache.harmony.kernel.vm,
+ sun.misc
+Import-Package: java.io,
+ java.lang.annotation,
+ java.nio,
+ java.security

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/make/patternset.txt
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/make/patternset.txt?view=diff&rev=446491&r1=446490&r2=446491
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/make/patternset.txt (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/make/patternset.txt Thu Sep 14 20:08:07 2006
@@ -1,61 +1,61 @@
-# Copyright 2005 The Apache Software Foundation or its licensors, as applicable
-# 
-# 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.
-
-java/lang/Object.*
-java/lang/Object$*.*
-java/lang/Class.*
-java/lang/Class$*.*
-java/lang/ClassLoader.*
-java/lang/ClassLoader$*.*
-java/lang/Compiler.*
-java/lang/Compiler$*.*
-java/lang/Package.*
-java/lang/Package$*.*
-java/lang/Runtime.*
-java/lang/Runtime$*.*
-java/lang/StackTraceElement.*
-java/lang/StackTraceElement$*.*
-java/lang/System.*
-java/lang/System$*.*
-java/lang/Thread.*
-java/lang/Thread$*.*
-java/lang/ThreadGroup.*
-java/lang/ThreadGroup$*.*
-java/lang/Throwable.*
-java/lang/Throwable$*.*
-
-java/lang/reflect/AccessibleObject.*
-java/lang/reflect/AccessibleObject$*.*
-java/lang/reflect/Array.*
-java/lang/reflect/Array$*.*
-java/lang/reflect/Constructor.*
-java/lang/reflect/Constructor$*.*
-java/lang/reflect/Field.*
-java/lang/reflect/Field$*.*
-java/lang/reflect/Method.*
-java/lang/reflect/Method$*.*
-
-java/lang/ref/Reference.*
-java/lang/ref/Reference$*.*
-java/lang/ref/PhantomReference.*
-java/lang/ref/PhantomReference$*.*
-java/lang/ref/SoftReference.*
-java/lang/ref/SoftReference$*.*
-java/lang/ref/WeakReference.*
-java/lang/ref/WeakReference$*.*
-
-org/apache/harmony/kernel/vm/VM.*
-org/apache/harmony/kernel/vm/VM$*.*
-
-sun/misc/Unsafe*.*
+# Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# 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.
+
+java/lang/Object.*
+java/lang/Object$*.*
+java/lang/Class.*
+java/lang/Class$*.*
+java/lang/ClassLoader.*
+java/lang/ClassLoader$*.*
+java/lang/Compiler.*
+java/lang/Compiler$*.*
+java/lang/Package.*
+java/lang/Package$*.*
+java/lang/Runtime.*
+java/lang/Runtime$*.*
+java/lang/StackTraceElement.*
+java/lang/StackTraceElement$*.*
+java/lang/System.*
+java/lang/System$*.*
+java/lang/Thread.*
+java/lang/Thread$*.*
+java/lang/ThreadGroup.*
+java/lang/ThreadGroup$*.*
+java/lang/Throwable.*
+java/lang/Throwable$*.*
+
+java/lang/reflect/AccessibleObject.*
+java/lang/reflect/AccessibleObject$*.*
+java/lang/reflect/Array.*
+java/lang/reflect/Array$*.*
+java/lang/reflect/Constructor.*
+java/lang/reflect/Constructor$*.*
+java/lang/reflect/Field.*
+java/lang/reflect/Field$*.*
+java/lang/reflect/Method.*
+java/lang/reflect/Method$*.*
+
+java/lang/ref/Reference.*
+java/lang/ref/Reference$*.*
+java/lang/ref/PhantomReference.*
+java/lang/ref/PhantomReference$*.*
+java/lang/ref/SoftReference.*
+java/lang/ref/SoftReference$*.*
+java/lang/ref/WeakReference.*
+java/lang/ref/WeakReference$*.*
+
+org/apache/harmony/kernel/vm/VM.*
+org/apache/harmony/kernel/vm/VM$*.*
+
+sun/misc/Unsafe*.*

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/make/patternset.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java?view=diff&rev=446491&r1=446490&r2=446491
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java Thu Sep 14 20:08:07 2006
@@ -1,857 +1,857 @@
-/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * 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 java.lang;
-
-import java.io.InputStream;
-import java.io.Serializable;
-import java.lang.annotation.Annotation;
-import java.lang.reflect.AnnotatedElement;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Field;
-import java.lang.reflect.GenericDeclaration;
-import java.lang.reflect.Method;
-import java.lang.reflect.Modifier;
-import java.lang.reflect.Type;
-import java.lang.reflect.TypeVariable;
-import java.net.URL;
-import java.security.ProtectionDomain;
-
-/**
- * This class must be implemented by the VM vendor. The documented natives must
- * be implemented to support other provided class implementations in this
- * package. An instance of class Class is the in-image representation of a Java
- * class. There are three basic types of Classes
- * <dl>
- * <dt><em>Classes representing object types (classes or interfaces)</em>
- * </dt>
- * <dd>These are Classes which represent the class of a simple instance as
- * found in the class hierarchy. The name of one of these Classes is simply the
- * fully qualified class name of the class or interface that it represents. Its
- * <em>signature</em> is the letter "L", followed by its name, followed by a
- * semi-colon (";").</dd>
- * <dt><em>Classes representing base types</em></dt>
- * <dd>These Classes represent the standard Java base types. Although it is not
- * possible to create new instances of these Classes, they are still useful for
- * providing reflection information, and as the component type of array classes.
- * There is one of these Classes for each base type, and their signatures are:
- * <ul>
- * <li><code>B</code> representing the <code>byte</code> base type</li>
- * <li><code>S</code> representing the <code>short</code> base type</li>
- * <li><code>I</code> representing the <code>int</code> base type</li>
- * <li><code>J</code> representing the <code>long</code> base type</li>
- * <li><code>F</code> representing the <code>float</code> base type</li>
- * <li><code>D</code> representing the <code>double</code> base type</li>
- * <li><code>C</code> representing the <code>char</code> base type</li>
- * <li><code>Z</code> representing the <code>boolean</code> base type</li>
- * <li><code>V</code> representing void function return values</li>
- * </ul>
- * The name of a Class representing a base type is the keyword which is used to
- * represent the type in Java source code (i.e. "int" for the <code>int</code>
- * base type.</dd>
- * <dt><em>Classes representing array classes</em></dt>
- * <dd>These are Classes which represent the classes of Java arrays. There is
- * one such Class for all array instances of a given arity (number of
- * dimensions) and leaf component type. In this case, the name of the class is
- * one or more left square brackets (one per dimension in the array) followed by
- * the signature ofP the class representing the leaf component type, which can
- * be either an object type or a base type. The signature of a Class
- * representing an array type is the same as its name.</dd>
- * </dl>
- * 
- * @since 1.0
- */
-public final class Class<T> implements Serializable, AnnotatedElement, GenericDeclaration, Type {
-
-    private static final long serialVersionUID = 3206093459760846163L;
-
-    /**
-     * This must be provided by the VM vendor, as it is used by other provided
-     * class implementations in this package. This method is used by
-     * SecurityManager.classDepth(), and getClassContext() which use the
-     * parameters (-1, false) and SecurityManager.classLoaderDepth(),
-     * currentClassLoader(), and currentLoadedClass() which use the parameters
-     * (-1, true). Walk the stack and answer an array containing the maxDepth
-     * most recent classes on the stack of the calling thread. Starting with the
-     * caller of the caller of getStackClasses(), return an array of not more
-     * than maxDepth Classes representing the classes of running methods on the
-     * stack (including native methods). Frames representing the VM
-     * implementation of java.lang.reflect are not included in the list. If
-     * stopAtPrivileged is true, the walk will terminate at any frame running
-     * one of the following methods: <code><ul>
-     * <li>java/security/AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;</li>
-     * <li>java/security/AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;</li>
-     * <li>java/security/AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;</li>
-     * <li>java/security/AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;</li>
-     * </ul></code> If one of the doPrivileged methods is found, the walk terminate
-     * and that frame is NOT included in the returned array. Notes:
-     * <ul>
-     * <li>This method operates on the defining classes of methods on stack.
-     * NOT the classes of receivers.</li>
-     * <li>The item at index zero in the result array describes the caller of
-     * the caller of this method.</li>
-     * </ul>
-     * 
-     * @param maxDepth maximum depth to walk the stack, -1 for the entire stack
-     * @param stopAtPrivileged stop at privileged classes
-     * @return the array of the most recent classes on the stack
-     */
-    static final Class[] getStackClasses(int maxDepth, boolean stopAtPrivileged) {
-        return null;
-    }
-
-    /**
-     * Answers a Class object which represents the class named by the argument.
-     * The name should be the name of a class as described in the class
-     * definition of {@link Class}, however Classes representing base types can
-     * not be found using this method.
-     * 
-     * @param className The name of the non-base type class to find
-     * @return the named Class
-     * @throws ClassNotFoundException If the class could not be found
-     * @see {@link Class}
-     */
-    public static Class<?> forName(String className) throws ClassNotFoundException {
-        return null;
-    }
-
-    /**
-     * Answers a Class object which represents the class named by the argument.
-     * The name should be the name of a class as described in the class
-     * definition of {@link Class}, however Classes representing base types can
-     * not be found using this method. Security rules will be obeyed.
-     * 
-     * @param className The name of the non-base type class to find
-     * @param initializeBoolean A boolean indicating whether the class should be
-     *        initialized
-     * @param classLoader The class loader to use to load the class
-     * @return the named class.
-     * @throws ClassNotFoundException If the class could not be found
-     * @see {@link Class}
-     */
-    public static Class<?> forName(String className, boolean initializeBoolean,
-            ClassLoader classLoader) throws ClassNotFoundException {
-        return null;
-    }
-
-    /**
-     * Answers an array containing all public class members of the class which
-     * the receiver represents and its super classes and interfaces
-     * 
-     * @return the class' public class members
-     * @throws SecurityException If member access is not allowed
-     * @see {@link Class}
-     */
-    public Class[] getClasses() {
-        return null;
-    }
-
-    /**
-     * Verify the specified Class using the VM byte code verifier.
-     * 
-     * @throws VerifyError if the Class cannot be verified
-     */
-    void verify() {
-        return;
-    }
-
-    /**
-     * Answers the annotation of the given type. If there is no annotation the
-     * method returns <code>null</code>.
-     * 
-     * @param annotationClass the annotation type.
-     * @return the annotation of the given type, or <code>null</code> if none.
-     * @since 1.5
-     */
-    public <A extends Annotation> A getAnnotation(Class<A> annotationClass) {
-        return null;
-    }
-
-    /**
-     * Answers all the annotations of the receiver. If there are no annotations
-     * then answers an empty array.
-     * 
-     * @return a copy of the array containing the receiver's annotations.
-     */
-    public Annotation[] getAnnotations() {
-        return new Annotation[0];
-    }
-
-    /**
-     * Answers the canonical name of the receiver. If the receiver does not have
-     * a canonical name, as defined in the Java Language Specification, then the
-     * method returns <code>null</code>.
-     * 
-     * @return the receiver canonical name, or <code>null</code>.
-     */
-    public String getCanonicalName() {
-        return null;
-    }
-
-    /**
-     * Answers the class loader which was used to load the class represented by
-     * the receiver. Answer null if the class was loaded by the system class
-     * loader
-     * 
-     * @return the receiver's class loader or nil
-     * @see {@link ClassLoader}
-     */
-    public ClassLoader getClassLoader() {
-        return null;
-    }
-
-    /**
-     * This must be provided by the VM vendor, as it is used by other provided
-     * class implementations in this package. Outside of this class, it is used
-     * by SecurityManager.checkMemberAccess(), classLoaderDepth(),
-     * currentClassLoader() and currentLoadedClass(). Return the ClassLoader for
-     * this Class without doing any security checks. The bootstrap ClassLoader
-     * is returned, unlike getClassLoader() which returns null in place of the
-     * bootstrap ClassLoader.
-     * 
-     * @return the ClassLoader
-     * @see ClassLoader#isSystemClassLoader()
-     */
-    ClassLoader getClassLoaderImpl() {
-        return null;
-    }
-
-    /**
-     * Answers a Class object which represents the receiver's component type if
-     * the receiver represents an array type. Otherwise answers nil. The
-     * component type of an array type is the type of the elements of the array.
-     * 
-     * @return the component type of the receiver.
-     * @see {@link Class}
-     */
-    public Class<?> getComponentType() {
-        return null;
-    }
-
-    /**
-     * Answers a public Constructor object which represents the constructor
-     * described by the arguments.
-     * 
-     * @param parameterTypes the types of the arguments.
-     * @return the constructor described by the arguments.
-     * @throws NoSuchMethodException if the constructor could not be found.
-     * @throws SecurityException if member access is not allowed
-     * @see #getConstructors
-     */
-    public Constructor<T> getConstructor(Class... parameterTypes) throws NoSuchMethodException,
-            SecurityException {
-        return null;
-    }
-
-    /**
-     * Answers an array containing Constructor objects describing all
-     * constructors which are visible from the current execution context.
-     * 
-     * @return all visible constructors starting from the receiver.
-     * @throws SecurityException if member access is not allowed
-     * @see #getMethods
-     */
-    public Constructor[] getConstructors() throws SecurityException {
-        return null;
-    }
-
-    /**
-     * Answers the annotations that are directly defined on this type.
-     * Annotations that are inherited are not included in the result. If there
-     * are no annotations, returns an empty array.
-     * 
-     * @return a copy of the array containing the receiver's defined
-     *         annotations.
-     * @since 1.5
-     */
-    public Annotation[] getDeclaredAnnotations() {
-        return new Annotation[0];
-    }
-
-    /**
-     * Answers an array containing all class members of the class which the
-     * receiver represents. Note that some of the fields which are returned may
-     * not be visible in the current execution context.
-     * 
-     * @return the class' class members
-     * @throws SecurityException if member access is not allowed
-     * @see {@link Class}
-     */
-    public Class[] getDeclaredClasses() throws SecurityException {
-        return new Class[0];
-    }
-
-    /**
-     * Answers a Constructor object which represents the constructor described
-     * by the arguments.
-     * 
-     * @param parameterTypes the types of the arguments.
-     * @return the constructor described by the arguments.
-     * @throws NoSuchMethodException if the constructor could not be found.
-     * @throws SecurityException if member access is not allowed
-     * @see #getConstructors
-     */
-    public Constructor<T> getDeclaredConstructor(Class... parameterTypes)
-            throws NoSuchMethodException, SecurityException {
-        return null;
-    }
-
-    /**
-     * Answers an array containing Constructor objects describing all
-     * constructor which are defined by the receiver. Note that some of the
-     * fields which are returned may not be visible in the current execution
-     * context.
-     * 
-     * @return the receiver's constructors.
-     * @throws SecurityException if member access is not allowed
-     * @see #getMethods
-     */
-    public Constructor[] getDeclaredConstructors() throws SecurityException {
-        return new Constructor[0];
-    }
-
-    /**
-     * Answers a Field object describing the field in the receiver named by the
-     * argument. Note that the Constructor may not be visible from the current
-     * execution context.
-     * 
-     * @param name The name of the field to look for.
-     * @return the field in the receiver named by the argument.
-     * @throws NoSuchFieldException if the requested field could not be found
-     * @throws SecurityException if member access is not allowed
-     * @see #getDeclaredFields
-     */
-    public Field getDeclaredField(String name) throws NoSuchFieldException, SecurityException {
-        return null;
-    }
-
-    /**
-     * Answers an array containing Field objects describing all fields which are
-     * defined by the receiver. Note that some of the fields which are returned
-     * may not be visible in the current execution context.
-     * 
-     * @return the receiver's fields.
-     * @throws SecurityException If member access is not allowed
-     * @see #getFields
-     */
-    public Field[] getDeclaredFields() throws SecurityException {
-        return new Field[0];
-    }
-
-    /**
-     * Answers a Method object which represents the method described by the
-     * arguments. Note that the associated method may not be visible from the
-     * current execution context.
-     * 
-     * @param name the name of the method
-     * @param parameterTypes the types of the arguments.
-     * @return the method described by the arguments.
-     * @throws NoSuchMethodException if the method could not be found.
-     * @throws SecurityException If member access is not allowed
-     * @throws NullPointerException if the name parameter is <code>null</code>.
-     * @see #getMethods
-     */
-    public Method getDeclaredMethod(String name, Class... parameterTypes)
-            throws NoSuchMethodException, SecurityException {
-        return null;
-    }
-
-    /**
-     * Answers an array containing Method objects describing all methods which
-     * are defined by the receiver. Note that some of the methods which are
-     * returned may not be visible in the current execution context.
-     * 
-     * @throws SecurityException if member access is not allowed
-     * @return the receiver's methods.
-     * @see #getMethods
-     */
-    public Method[] getDeclaredMethods() throws SecurityException {
-        return new Method[0];
-    }
-
-    /**
-     * Answers the class which declared the class represented by the receiver.
-     * This will return null if the receiver is a member of another class.
-     * 
-     * @return the declaring class of the receiver.
-     */
-    public Class<?> getDeclaringClass() {
-        return null;
-    }
-
-    /**
-     * Answers the class that directly encloses the receiver. If there is no
-     * enclosing class the method returns <code>null</code>.
-     * 
-     * @return the enclosing class or <code>null</code>.
-     */
-    public Class<?> getEnclosingClass() {
-        return null;
-    }
-
-    /**
-     * Gets the {@link Constructor}, which encloses the declaration of this
-     * class, if it is an anonymous or local/automatic class, otherwise
-     * <code>null</code>.
-     * 
-     * @return A {@link Constructor} instance or <code>null</code>.
-     * @since 1.5
-     */
-    public Constructor<?> getEnclosingConstructor() {
-        return null;
-    }
-
-    /**
-     * Gets the {@link Method}, which encloses the declaration of this class,
-     * if it is an anonymous or local/automatic class, otherwise
-     * <code>null</code>.
-     * 
-     * @return A {@link Method} instance or <code>null</code>.
-     * @since 1.5
-     */
-    public Method getEnclosingMethod() {
-        return null;
-    }
-
-    /**
-     * Gets the <code>enum</code> constants/fields associated with this class
-     * if it is an {@linkplain #isEnum() enum}, otherwise <code>null</code>.
-     * 
-     * @return An array of the <code>enum</code> constants for this class or
-     *         <code>null</code>.
-     * @since 1.5
-     */
-    public T[] getEnumConstants() {
-        return null;
-    }
-
-    /**
-     * Answers a Field object describing the field in the receiver named by the
-     * argument which must be visible from the current execution context.
-     * 
-     * @param name The name of the field to look for.
-     * @return the field in the receiver named by the argument.
-     * @throws NoSuchFieldException If the given field does not exist
-     * @throws SecurityException If access is denied
-     * @see #getDeclaredFields
-     */
-    public Field getField(String name) throws NoSuchFieldException, SecurityException {
-        return null;
-    }
-
-    /**
-     * Answers an array containing Field objects describing all fields which are
-     * visible from the current execution context.
-     * 
-     * @return all visible fields starting from the receiver.
-     * @throws SecurityException If member access is not allowed
-     * @see #getDeclaredFields
-     */
-    public Field[] getFields() throws SecurityException {
-        return new Field[0];
-    }
-
-    /**
-     * Gets the {@link Type types} of the interface that this class directly
-     * implements.
-     * 
-     * @return An array of {@link Type} instances.
-     * @since 1.5
-     */
-    public Type[] getGenericInterfaces() {
-        return new Type[0];
-    }
-
-    /**
-     * Gets the {@link Type} that represents the super class of this class.
-     * 
-     * @return An instance of {@link Type}
-     * @since 1.5
-     */
-    public Type getGenericSuperclass() {
-        return null;
-    }
-
-    /**
-     * Answers an array of Class objects which match the interfaces specified in
-     * the receiver classes <code>implements</code> declaration
-     * 
-     * @return Class[] the interfaces the receiver claims to implement.
-     */
-    public Class[] getInterfaces() {
-        return new Class[0];
-    }
-
-    /**
-     * Answers a Method object which represents the method described by the
-     * arguments.
-     * 
-     * @param name String the name of the method
-     * @param parameterTypes Class[] the types of the arguments.
-     * @return Method the method described by the arguments.
-     * @throws NoSuchMethodException if the method could not be found.
-     * @throws SecurityException if member access is not allowed
-     * @see #getMethods
-     */
-    public Method getMethod(String name, Class... parameterTypes) throws NoSuchMethodException,
-            SecurityException {
-        return null;
-    }
-
-    /**
-     * Answers an array containing Method objects describing all methods which
-     * are visible from the current execution context.
-     * 
-     * @return Method[] all visible methods starting from the receiver.
-     * @throws SecurityException if member access is not allowed
-     * @see #getDeclaredMethods
-     */
-    public Method[] getMethods() throws SecurityException {
-        return new Method[0];
-    }
-
-    /**
-     * Answers an integer which which is the receiver's modifiers. Note that the
-     * constants which describe the bits which are returned are implemented in
-     * class {@link Modifier} which may not be available on the target.
-     * 
-     * @return the receiver's modifiers
-     */
-    public int getModifiers() {
-        return 0;
-    }
-
-    /**
-     * Answers the name of the class which the receiver represents. For a
-     * description of the format which is used, see the class definition of
-     * {@link Class}.
-     * 
-     * @return the receiver's name.
-     * @see {@link Class}
-     */
-    public String getName() {
-        return null;
-    }
-
-    /**
-     * Answers the simple name of the receiver as defined in the source code. If
-     * there is no name (the class is anonymous) returns an empty string, and if
-     * the receiver is an array returns the name of the underlying type with
-     * square braces appended (e.g. <code>&quot;Integer[]&quot;</code>).
-     * 
-     * @return the simple name of the receiver.
-     */
-    public String getSimpleName() {
-        return null;
-    }
-
-    /**
-     * Answers the ProtectionDomain of the receiver.
-     * <p>
-     * Note: In order to conserve space in embedded targets, we allow this
-     * method to answer null for classes in the system protection domain (i.e.
-     * for system classes). System classes are always given full permissions
-     * (i.e. AllPermission). This is not changeable via the
-     * java.security.Policy.
-     * 
-     * @return ProtectionDomain the receiver's ProtectionDomain.
-     * @see {@link Class}
-     */
-    public ProtectionDomain getProtectionDomain() {
-        return null;
-    }
-
-    /**
-     * Answers the ProtectionDomain of the receiver.
-     * <p>
-     * This method is for internal use only.
-     * 
-     * @return ProtectionDomain the receiver's ProtectionDomain.
-     * @see {@link Class}
-     */
-    ProtectionDomain getPDImpl() {
-        return null;
-    }
-
-    /**
-     * Answers a read-only stream on the contents of the resource specified by
-     * resName. The mapping between the resource name and the stream is managed
-     * by the class' class loader.
-     * 
-     * @param resName the name of the resource.
-     * @return a stream on the resource.
-     * @see {@link ClassLoader}
-     */
-    public URL getResource(String resName) {
-        return null;
-    }
-
-    /**
-     * Answers a read-only stream on the contents of the resource specified by
-     * resName. The mapping between the resource name and the stream is managed
-     * by the class' class loader.
-     * 
-     * @param resName the name of the resource.
-     * @return a stream on the resource.
-     * @see {@link ClassLoader}
-     */
-    public InputStream getResourceAsStream(String resName) {
-        return null;
-    }
-
-    /**
-     * Answers the signers for the class represented by the receiver, or null if
-     * there are no signers.
-     * 
-     * @return the signers of the receiver.
-     * @see #getMethods
-     */
-    public Object[] getSigners() {
-        return new Object[0];
-    }
-
-    /**
-     * Answers the Class which represents the receiver's superclass. For Classes
-     * which represent base types, interfaces, and for {@link Object} the method
-     * answers null.
-     * 
-     * @return the receiver's superclass.
-     */
-    public Class<? super T> getSuperclass() {
-        return null;
-    }
-
-    /**
-     * Gets the type variables associated with this class.
-     * 
-     * @return An array of {@link TypeVariable} instances.
-     * @since 1.5
-     */
-    @SuppressWarnings("unchecked")
-    public TypeVariable<Class<T>>[] getTypeParameters() {
-        return new TypeVariable[0];
-    }
-
-    /**
-     * Indicates whether or not this class is an annotation.
-     * 
-     * @return A value of <code>true</code> if this class is an annotation,
-     *         otherwise <code>false</code>.
-     * @since 1.5
-     */
-    public boolean isAnnotation() {
-        return false;
-    }
-
-    /**
-     * Indicates whether or not the given annotation is present for this class.
-     * 
-     * @param annotationClass The annotation to look for in this class.
-     * @return A value of <code>true</code> if the annotation is present,
-     *         otherwise <code>false</code>.
-     * @since 1.5
-     */
-    public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) {
-        return false;
-    }
-
-    /**
-     * Indicates whether or not this class was anonymously declared.
-     * 
-     * @return A value of <code>true</code> if this class is anonymous,
-     *         otherwise <code>false</code>.
-     * @since 1.5
-     */
-    public boolean isAnonymousClass() {
-        return false;
-    }
-
-    /**
-     * Answers true if the receiver represents an array class.
-     * 
-     * @return <code>true</code> if the receiver represents an array class
-     *         <code>false</code> if it does not represent an array class
-     */
-    public boolean isArray() {
-        return false;
-    }
-
-    /**
-     * Answers true if the type represented by the argument can be converted via
-     * an identity conversion or a widening reference conversion (i.e. if either
-     * the receiver or the argument represent primitive types, only the identity
-     * conversion applies).
-     * 
-     * @return <code>true</code> the argument can be assigned into the
-     *         receiver <code>false</code> the argument cannot be assigned
-     *         into the receiver
-     * @param cls Class the class to test
-     * @throws NullPointerException if the parameter is null
-     */
-    public boolean isAssignableFrom(Class<?> cls) {
-        return false;
-    }
-
-    /**
-     * Indicates whether or not this class is an <code>enum</code>.
-     * 
-     * @return A value of <code>true</code> if this class is an {@link Enum},
-     *         otherwise <code>false</code>.
-     * @since 1.5
-     */
-    public boolean isEnum() {
-        return false;
-    }
-
-    /**
-     * Answers true if the argument is non-null and can be cast to the type of
-     * the receiver. This is the runtime version of the <code>instanceof</code>
-     * operator.
-     * 
-     * @return <code>true</code> the argument can be cast to the type of the
-     *         receiver <code>false</code> the argument is null or cannot be
-     *         cast to the type of the receiver
-     * @param object Object the object to test
-     */
-    public boolean isInstance(Object object) {
-        return false;
-    }
-
-    /**
-     * Answers true if the receiver represents an interface.
-     * 
-     * @return <code>true</code> if the receiver represents an interface
-     *         <code>false</code> if it does not represent an interface
-     */
-    public boolean isInterface() {
-        return false;
-    }
-
-    /**
-     * Answers whether the receiver is defined locally.
-     * 
-     * @return <code>true</code> if the class is local, otherwise
-     *         <code>false</code>.
-     */
-    public boolean isLocalClass() {
-        return false;
-    }
-
-    /**
-     * Answers whether the receiver is a member class.
-     * 
-     * @return <code>true</code> if the class is a member class, otherwise
-     *         <code>false</code>.
-     */
-    public boolean isMemberClass() {
-        return false;
-    }
-
-    /**
-     * Answers true if the receiver represents a base type.
-     * 
-     * @return <code>true</code> if the receiver represents a base type
-     *         <code>false</code> if it does not represent a base type
-     */
-    public boolean isPrimitive() {
-        return false;
-    }
-
-    /**
-     * Answers whether the receiver is a synthetic type.
-     * 
-     * @return <code>true</code> if the receiver is a synthetic type and
-     *         <code>false</code> otherwise.
-     */
-    public boolean isSynthetic() {
-        return false;
-    }
-
-    /**
-     * Answers a new instance of the class represented by the receiver, created
-     * by invoking the default (i.e. zero-argument) constructor. If there is no
-     * such constructor, or if the creation fails (either because of a lack of
-     * available memory or because an exception is thrown by the constructor),
-     * an InstantiationException is thrown. If the default constructor exists,
-     * but is not accessible from the context where this message is sent, an
-     * IllegalAccessException is thrown.
-     * 
-     * @return a new instance of the class represented by the receiver.
-     * @throws IllegalAccessException if the constructor is not visible to the
-     *         sender.
-     * @throws InstantiationException if the instance could not be created.
-     */
-    public T newInstance() throws IllegalAccessException, InstantiationException {
-        return null;
-    }
-
-    /**
-     * Answers a string containing a concise, human-readable description of the
-     * receiver.
-     * 
-     * @return a printable representation for the receiver.
-     */
-    @Override
-    public String toString() {
-        return null;
-    }
-
-    /**
-     * Returns the Package of which this class is a member. A class has a
-     * Package if it was loaded from a SecureClassLoader
-     * 
-     * @return Package the Package of which this class is a member or null
-     */
-    public Package getPackage() {
-        return null;
-    }
-
-    /**
-     * Returns the assertion status for this class. Assertion is
-     * enabled/disabled based on class loader default, package or class default
-     * at runtime
-     * 
-     * @return the assertion status for this class
-     */
-    public boolean desiredAssertionStatus() {
-        return false;
-    }
-
-    /**
-     * Casts the receiver to a subclass of the given class.  If successful
-     * answers the receiver, otherwise if the cast cannot be made throws a
-     * <code>ClassCastException</code>.
-     * 
-     * @param clazz the required type.
-     * @return this class cast as a subclass of the given type.
-     * @throws ClassCastException if the class cannot be cast to the given type.
-     */
-    public <U> Class<? extends U> asSubclass(Class<U> clazz) {
-        return null;
-    }
-
-    /**
-     * Cast the given object to the type <code>T</code>.
-     * If the object is <code>null</code> the result is also
-     * <code>null</code>.
-     * 
-     * @param obj the object to cast
-     * @return The object that has been cast.
-     * @throws ClassCastException if the object cannot be cast to the given type.
-     */
-    public T cast(Object obj) {
-        return null;
-    }
-}
+/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * 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 java.lang;
+
+import java.io.InputStream;
+import java.io.Serializable;
+import java.lang.annotation.Annotation;
+import java.lang.reflect.AnnotatedElement;
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Field;
+import java.lang.reflect.GenericDeclaration;
+import java.lang.reflect.Method;
+import java.lang.reflect.Modifier;
+import java.lang.reflect.Type;
+import java.lang.reflect.TypeVariable;
+import java.net.URL;
+import java.security.ProtectionDomain;
+
+/**
+ * This class must be implemented by the VM vendor. The documented natives must
+ * be implemented to support other provided class implementations in this
+ * package. An instance of class Class is the in-image representation of a Java
+ * class. There are three basic types of Classes
+ * <dl>
+ * <dt><em>Classes representing object types (classes or interfaces)</em>
+ * </dt>
+ * <dd>These are Classes which represent the class of a simple instance as
+ * found in the class hierarchy. The name of one of these Classes is simply the
+ * fully qualified class name of the class or interface that it represents. Its
+ * <em>signature</em> is the letter "L", followed by its name, followed by a
+ * semi-colon (";").</dd>
+ * <dt><em>Classes representing base types</em></dt>
+ * <dd>These Classes represent the standard Java base types. Although it is not
+ * possible to create new instances of these Classes, they are still useful for
+ * providing reflection information, and as the component type of array classes.
+ * There is one of these Classes for each base type, and their signatures are:
+ * <ul>
+ * <li><code>B</code> representing the <code>byte</code> base type</li>
+ * <li><code>S</code> representing the <code>short</code> base type</li>
+ * <li><code>I</code> representing the <code>int</code> base type</li>
+ * <li><code>J</code> representing the <code>long</code> base type</li>
+ * <li><code>F</code> representing the <code>float</code> base type</li>
+ * <li><code>D</code> representing the <code>double</code> base type</li>
+ * <li><code>C</code> representing the <code>char</code> base type</li>
+ * <li><code>Z</code> representing the <code>boolean</code> base type</li>
+ * <li><code>V</code> representing void function return values</li>
+ * </ul>
+ * The name of a Class representing a base type is the keyword which is used to
+ * represent the type in Java source code (i.e. "int" for the <code>int</code>
+ * base type.</dd>
+ * <dt><em>Classes representing array classes</em></dt>
+ * <dd>These are Classes which represent the classes of Java arrays. There is
+ * one such Class for all array instances of a given arity (number of
+ * dimensions) and leaf component type. In this case, the name of the class is
+ * one or more left square brackets (one per dimension in the array) followed by
+ * the signature ofP the class representing the leaf component type, which can
+ * be either an object type or a base type. The signature of a Class
+ * representing an array type is the same as its name.</dd>
+ * </dl>
+ * 
+ * @since 1.0
+ */
+public final class Class<T> implements Serializable, AnnotatedElement, GenericDeclaration, Type {
+
+    private static final long serialVersionUID = 3206093459760846163L;
+
+    /**
+     * This must be provided by the VM vendor, as it is used by other provided
+     * class implementations in this package. This method is used by
+     * SecurityManager.classDepth(), and getClassContext() which use the
+     * parameters (-1, false) and SecurityManager.classLoaderDepth(),
+     * currentClassLoader(), and currentLoadedClass() which use the parameters
+     * (-1, true). Walk the stack and answer an array containing the maxDepth
+     * most recent classes on the stack of the calling thread. Starting with the
+     * caller of the caller of getStackClasses(), return an array of not more
+     * than maxDepth Classes representing the classes of running methods on the
+     * stack (including native methods). Frames representing the VM
+     * implementation of java.lang.reflect are not included in the list. If
+     * stopAtPrivileged is true, the walk will terminate at any frame running
+     * one of the following methods: <code><ul>
+     * <li>java/security/AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;</li>
+     * <li>java/security/AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;</li>
+     * <li>java/security/AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;</li>
+     * <li>java/security/AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;</li>
+     * </ul></code> If one of the doPrivileged methods is found, the walk terminate
+     * and that frame is NOT included in the returned array. Notes:
+     * <ul>
+     * <li>This method operates on the defining classes of methods on stack.
+     * NOT the classes of receivers.</li>
+     * <li>The item at index zero in the result array describes the caller of
+     * the caller of this method.</li>
+     * </ul>
+     * 
+     * @param maxDepth maximum depth to walk the stack, -1 for the entire stack
+     * @param stopAtPrivileged stop at privileged classes
+     * @return the array of the most recent classes on the stack
+     */
+    static final Class[] getStackClasses(int maxDepth, boolean stopAtPrivileged) {
+        return null;
+    }
+
+    /**
+     * Answers a Class object which represents the class named by the argument.
+     * The name should be the name of a class as described in the class
+     * definition of {@link Class}, however Classes representing base types can
+     * not be found using this method.
+     * 
+     * @param className The name of the non-base type class to find
+     * @return the named Class
+     * @throws ClassNotFoundException If the class could not be found
+     * @see {@link Class}
+     */
+    public static Class<?> forName(String className) throws ClassNotFoundException {
+        return null;
+    }
+
+    /**
+     * Answers a Class object which represents the class named by the argument.
+     * The name should be the name of a class as described in the class
+     * definition of {@link Class}, however Classes representing base types can
+     * not be found using this method. Security rules will be obeyed.
+     * 
+     * @param className The name of the non-base type class to find
+     * @param initializeBoolean A boolean indicating whether the class should be
+     *        initialized
+     * @param classLoader The class loader to use to load the class
+     * @return the named class.
+     * @throws ClassNotFoundException If the class could not be found
+     * @see {@link Class}
+     */
+    public static Class<?> forName(String className, boolean initializeBoolean,
+            ClassLoader classLoader) throws ClassNotFoundException {
+        return null;
+    }
+
+    /**
+     * Answers an array containing all public class members of the class which
+     * the receiver represents and its super classes and interfaces
+     * 
+     * @return the class' public class members
+     * @throws SecurityException If member access is not allowed
+     * @see {@link Class}
+     */
+    public Class[] getClasses() {
+        return null;
+    }
+
+    /**
+     * Verify the specified Class using the VM byte code verifier.
+     * 
+     * @throws VerifyError if the Class cannot be verified
+     */
+    void verify() {
+        return;
+    }
+
+    /**
+     * Answers the annotation of the given type. If there is no annotation the
+     * method returns <code>null</code>.
+     * 
+     * @param annotationClass the annotation type.
+     * @return the annotation of the given type, or <code>null</code> if none.
+     * @since 1.5
+     */
+    public <A extends Annotation> A getAnnotation(Class<A> annotationClass) {
+        return null;
+    }
+
+    /**
+     * Answers all the annotations of the receiver. If there are no annotations
+     * then answers an empty array.
+     * 
+     * @return a copy of the array containing the receiver's annotations.
+     */
+    public Annotation[] getAnnotations() {
+        return new Annotation[0];
+    }
+
+    /**
+     * Answers the canonical name of the receiver. If the receiver does not have
+     * a canonical name, as defined in the Java Language Specification, then the
+     * method returns <code>null</code>.
+     * 
+     * @return the receiver canonical name, or <code>null</code>.
+     */
+    public String getCanonicalName() {
+        return null;
+    }
+
+    /**
+     * Answers the class loader which was used to load the class represented by
+     * the receiver. Answer null if the class was loaded by the system class
+     * loader
+     * 
+     * @return the receiver's class loader or nil
+     * @see {@link ClassLoader}
+     */
+    public ClassLoader getClassLoader() {
+        return null;
+    }
+
+    /**
+     * This must be provided by the VM vendor, as it is used by other provided
+     * class implementations in this package. Outside of this class, it is used
+     * by SecurityManager.checkMemberAccess(), classLoaderDepth(),
+     * currentClassLoader() and currentLoadedClass(). Return the ClassLoader for
+     * this Class without doing any security checks. The bootstrap ClassLoader
+     * is returned, unlike getClassLoader() which returns null in place of the
+     * bootstrap ClassLoader.
+     * 
+     * @return the ClassLoader
+     * @see ClassLoader#isSystemClassLoader()
+     */
+    ClassLoader getClassLoaderImpl() {
+        return null;
+    }
+
+    /**
+     * Answers a Class object which represents the receiver's component type if
+     * the receiver represents an array type. Otherwise answers nil. The
+     * component type of an array type is the type of the elements of the array.
+     * 
+     * @return the component type of the receiver.
+     * @see {@link Class}
+     */
+    public Class<?> getComponentType() {
+        return null;
+    }
+
+    /**
+     * Answers a public Constructor object which represents the constructor
+     * described by the arguments.
+     * 
+     * @param parameterTypes the types of the arguments.
+     * @return the constructor described by the arguments.
+     * @throws NoSuchMethodException if the constructor could not be found.
+     * @throws SecurityException if member access is not allowed
+     * @see #getConstructors
+     */
+    public Constructor<T> getConstructor(Class... parameterTypes) throws NoSuchMethodException,
+            SecurityException {
+        return null;
+    }
+
+    /**
+     * Answers an array containing Constructor objects describing all
+     * constructors which are visible from the current execution context.
+     * 
+     * @return all visible constructors starting from the receiver.
+     * @throws SecurityException if member access is not allowed
+     * @see #getMethods
+     */
+    public Constructor[] getConstructors() throws SecurityException {
+        return null;
+    }
+
+    /**
+     * Answers the annotations that are directly defined on this type.
+     * Annotations that are inherited are not included in the result. If there
+     * are no annotations, returns an empty array.
+     * 
+     * @return a copy of the array containing the receiver's defined
+     *         annotations.
+     * @since 1.5
+     */
+    public Annotation[] getDeclaredAnnotations() {
+        return new Annotation[0];
+    }
+
+    /**
+     * Answers an array containing all class members of the class which the
+     * receiver represents. Note that some of the fields which are returned may
+     * not be visible in the current execution context.
+     * 
+     * @return the class' class members
+     * @throws SecurityException if member access is not allowed
+     * @see {@link Class}
+     */
+    public Class[] getDeclaredClasses() throws SecurityException {
+        return new Class[0];
+    }
+
+    /**
+     * Answers a Constructor object which represents the constructor described
+     * by the arguments.
+     * 
+     * @param parameterTypes the types of the arguments.
+     * @return the constructor described by the arguments.
+     * @throws NoSuchMethodException if the constructor could not be found.
+     * @throws SecurityException if member access is not allowed
+     * @see #getConstructors
+     */
+    public Constructor<T> getDeclaredConstructor(Class... parameterTypes)
+            throws NoSuchMethodException, SecurityException {
+        return null;
+    }
+
+    /**
+     * Answers an array containing Constructor objects describing all
+     * constructor which are defined by the receiver. Note that some of the
+     * fields which are returned may not be visible in the current execution
+     * context.
+     * 
+     * @return the receiver's constructors.
+     * @throws SecurityException if member access is not allowed
+     * @see #getMethods
+     */
+    public Constructor[] getDeclaredConstructors() throws SecurityException {
+        return new Constructor[0];
+    }
+
+    /**
+     * Answers a Field object describing the field in the receiver named by the
+     * argument. Note that the Constructor may not be visible from the current
+     * execution context.
+     * 
+     * @param name The name of the field to look for.
+     * @return the field in the receiver named by the argument.
+     * @throws NoSuchFieldException if the requested field could not be found
+     * @throws SecurityException if member access is not allowed
+     * @see #getDeclaredFields
+     */
+    public Field getDeclaredField(String name) throws NoSuchFieldException, SecurityException {
+        return null;
+    }
+
+    /**
+     * Answers an array containing Field objects describing all fields which are
+     * defined by the receiver. Note that some of the fields which are returned
+     * may not be visible in the current execution context.
+     * 
+     * @return the receiver's fields.
+     * @throws SecurityException If member access is not allowed
+     * @see #getFields
+     */
+    public Field[] getDeclaredFields() throws SecurityException {
+        return new Field[0];
+    }
+
+    /**
+     * Answers a Method object which represents the method described by the
+     * arguments. Note that the associated method may not be visible from the
+     * current execution context.
+     * 
+     * @param name the name of the method
+     * @param parameterTypes the types of the arguments.
+     * @return the method described by the arguments.
+     * @throws NoSuchMethodException if the method could not be found.
+     * @throws SecurityException If member access is not allowed
+     * @throws NullPointerException if the name parameter is <code>null</code>.
+     * @see #getMethods
+     */
+    public Method getDeclaredMethod(String name, Class... parameterTypes)
+            throws NoSuchMethodException, SecurityException {
+        return null;
+    }
+
+    /**
+     * Answers an array containing Method objects describing all methods which
+     * are defined by the receiver. Note that some of the methods which are
+     * returned may not be visible in the current execution context.
+     * 
+     * @throws SecurityException if member access is not allowed
+     * @return the receiver's methods.
+     * @see #getMethods
+     */
+    public Method[] getDeclaredMethods() throws SecurityException {
+        return new Method[0];
+    }
+
+    /**
+     * Answers the class which declared the class represented by the receiver.
+     * This will return null if the receiver is a member of another class.
+     * 
+     * @return the declaring class of the receiver.
+     */
+    public Class<?> getDeclaringClass() {
+        return null;
+    }
+
+    /**
+     * Answers the class that directly encloses the receiver. If there is no
+     * enclosing class the method returns <code>null</code>.
+     * 
+     * @return the enclosing class or <code>null</code>.
+     */
+    public Class<?> getEnclosingClass() {
+        return null;
+    }
+
+    /**
+     * Gets the {@link Constructor}, which encloses the declaration of this
+     * class, if it is an anonymous or local/automatic class, otherwise
+     * <code>null</code>.
+     * 
+     * @return A {@link Constructor} instance or <code>null</code>.
+     * @since 1.5
+     */
+    public Constructor<?> getEnclosingConstructor() {
+        return null;
+    }
+
+    /**
+     * Gets the {@link Method}, which encloses the declaration of this class,
+     * if it is an anonymous or local/automatic class, otherwise
+     * <code>null</code>.
+     * 
+     * @return A {@link Method} instance or <code>null</code>.
+     * @since 1.5
+     */
+    public Method getEnclosingMethod() {
+        return null;
+    }
+
+    /**
+     * Gets the <code>enum</code> constants/fields associated with this class
+     * if it is an {@linkplain #isEnum() enum}, otherwise <code>null</code>.
+     * 
+     * @return An array of the <code>enum</code> constants for this class or
+     *         <code>null</code>.
+     * @since 1.5
+     */
+    public T[] getEnumConstants() {
+        return null;
+    }
+
+    /**
+     * Answers a Field object describing the field in the receiver named by the
+     * argument which must be visible from the current execution context.
+     * 
+     * @param name The name of the field to look for.
+     * @return the field in the receiver named by the argument.
+     * @throws NoSuchFieldException If the given field does not exist
+     * @throws SecurityException If access is denied
+     * @see #getDeclaredFields
+     */
+    public Field getField(String name) throws NoSuchFieldException, SecurityException {
+        return null;
+    }
+
+    /**
+     * Answers an array containing Field objects describing all fields which are
+     * visible from the current execution context.
+     * 
+     * @return all visible fields starting from the receiver.
+     * @throws SecurityException If member access is not allowed
+     * @see #getDeclaredFields
+     */
+    public Field[] getFields() throws SecurityException {
+        return new Field[0];
+    }
+
+    /**
+     * Gets the {@link Type types} of the interface that this class directly
+     * implements.
+     * 
+     * @return An array of {@link Type} instances.
+     * @since 1.5
+     */
+    public Type[] getGenericInterfaces() {
+        return new Type[0];
+    }
+
+    /**
+     * Gets the {@link Type} that represents the super class of this class.
+     * 
+     * @return An instance of {@link Type}
+     * @since 1.5
+     */
+    public Type getGenericSuperclass() {
+        return null;
+    }
+
+    /**
+     * Answers an array of Class objects which match the interfaces specified in
+     * the receiver classes <code>implements</code> declaration
+     * 
+     * @return Class[] the interfaces the receiver claims to implement.
+     */
+    public Class[] getInterfaces() {
+        return new Class[0];
+    }
+
+    /**
+     * Answers a Method object which represents the method described by the
+     * arguments.
+     * 
+     * @param name String the name of the method
+     * @param parameterTypes Class[] the types of the arguments.
+     * @return Method the method described by the arguments.
+     * @throws NoSuchMethodException if the method could not be found.
+     * @throws SecurityException if member access is not allowed
+     * @see #getMethods
+     */
+    public Method getMethod(String name, Class... parameterTypes) throws NoSuchMethodException,
+            SecurityException {
+        return null;
+    }
+
+    /**
+     * Answers an array containing Method objects describing all methods which
+     * are visible from the current execution context.
+     * 
+     * @return Method[] all visible methods starting from the receiver.
+     * @throws SecurityException if member access is not allowed
+     * @see #getDeclaredMethods
+     */
+    public Method[] getMethods() throws SecurityException {
+        return new Method[0];
+    }
+
+    /**
+     * Answers an integer which which is the receiver's modifiers. Note that the
+     * constants which describe the bits which are returned are implemented in
+     * class {@link Modifier} which may not be available on the target.
+     * 
+     * @return the receiver's modifiers
+     */
+    public int getModifiers() {
+        return 0;
+    }
+
+    /**
+     * Answers the name of the class which the receiver represents. For a
+     * description of the format which is used, see the class definition of
+     * {@link Class}.
+     * 
+     * @return the receiver's name.
+     * @see {@link Class}
+     */
+    public String getName() {
+        return null;
+    }
+
+    /**
+     * Answers the simple name of the receiver as defined in the source code. If
+     * there is no name (the class is anonymous) returns an empty string, and if
+     * the receiver is an array returns the name of the underlying type with
+     * square braces appended (e.g. <code>&quot;Integer[]&quot;</code>).
+     * 
+     * @return the simple name of the receiver.
+     */
+    public String getSimpleName() {
+        return null;
+    }
+
+    /**
+     * Answers the ProtectionDomain of the receiver.
+     * <p>
+     * Note: In order to conserve space in embedded targets, we allow this
+     * method to answer null for classes in the system protection domain (i.e.
+     * for system classes). System classes are always given full permissions
+     * (i.e. AllPermission). This is not changeable via the
+     * java.security.Policy.
+     * 
+     * @return ProtectionDomain the receiver's ProtectionDomain.
+     * @see {@link Class}
+     */
+    public ProtectionDomain getProtectionDomain() {
+        return null;
+    }
+
+    /**
+     * Answers the ProtectionDomain of the receiver.
+     * <p>
+     * This method is for internal use only.
+     * 
+     * @return ProtectionDomain the receiver's ProtectionDomain.
+     * @see {@link Class}
+     */
+    ProtectionDomain getPDImpl() {
+        return null;
+    }
+
+    /**
+     * Answers a read-only stream on the contents of the resource specified by
+     * resName. The mapping between the resource name and the stream is managed
+     * by the class' class loader.
+     * 
+     * @param resName the name of the resource.
+     * @return a stream on the resource.
+     * @see {@link ClassLoader}
+     */
+    public URL getResource(String resName) {
+        return null;
+    }
+
+    /**
+     * Answers a read-only stream on the contents of the resource specified by
+     * resName. The mapping between the resource name and the stream is managed
+     * by the class' class loader.
+     * 
+     * @param resName the name of the resource.
+     * @return a stream on the resource.
+     * @see {@link ClassLoader}
+     */
+    public InputStream getResourceAsStream(String resName) {
+        return null;
+    }
+
+    /**
+     * Answers the signers for the class represented by the receiver, or null if
+     * there are no signers.
+     * 
+     * @return the signers of the receiver.
+     * @see #getMethods
+     */
+    public Object[] getSigners() {
+        return new Object[0];
+    }
+
+    /**
+     * Answers the Class which represents the receiver's superclass. For Classes
+     * which represent base types, interfaces, and for {@link Object} the method
+     * answers null.
+     * 
+     * @return the receiver's superclass.
+     */
+    public Class<? super T> getSuperclass() {
+        return null;
+    }
+
+    /**
+     * Gets the type variables associated with this class.
+     * 
+     * @return An array of {@link TypeVariable} instances.
+     * @since 1.5
+     */
+    @SuppressWarnings("unchecked")
+    public TypeVariable<Class<T>>[] getTypeParameters() {
+        return new TypeVariable[0];
+    }
+
+    /**
+     * Indicates whether or not this class is an annotation.
+     * 
+     * @return A value of <code>true</code> if this class is an annotation,
+     *         otherwise <code>false</code>.
+     * @since 1.5
+     */
+    public boolean isAnnotation() {
+        return false;
+    }
+
+    /**
+     * Indicates whether or not the given annotation is present for this class.
+     * 
+     * @param annotationClass The annotation to look for in this class.
+     * @return A value of <code>true</code> if the annotation is present,
+     *         otherwise <code>false</code>.
+     * @since 1.5
+     */
+    public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) {
+        return false;
+    }
+
+    /**
+     * Indicates whether or not this class was anonymously declared.
+     * 
+     * @return A value of <code>true</code> if this class is anonymous,
+     *         otherwise <code>false</code>.
+     * @since 1.5
+     */
+    public boolean isAnonymousClass() {
+        return false;
+    }
+
+    /**
+     * Answers true if the receiver represents an array class.
+     * 
+     * @return <code>true</code> if the receiver represents an array class
+     *         <code>false</code> if it does not represent an array class
+     */
+    public boolean isArray() {
+        return false;
+    }
+
+    /**
+     * Answers true if the type represented by the argument can be converted via
+     * an identity conversion or a widening reference conversion (i.e. if either
+     * the receiver or the argument represent primitive types, only the identity
+     * conversion applies).
+     * 
+     * @return <code>true</code> the argument can be assigned into the
+     *         receiver <code>false</code> the argument cannot be assigned
+     *         into the receiver
+     * @param cls Class the class to test
+     * @throws NullPointerException if the parameter is null
+     */
+    public boolean isAssignableFrom(Class<?> cls) {
+        return false;
+    }
+
+    /**
+     * Indicates whether or not this class is an <code>enum</code>.
+     * 
+     * @return A value of <code>true</code> if this class is an {@link Enum},
+     *         otherwise <code>false</code>.
+     * @since 1.5
+     */
+    public boolean isEnum() {
+        return false;
+    }
+
+    /**
+     * Answers true if the argument is non-null and can be cast to the type of
+     * the receiver. This is the runtime version of the <code>instanceof</code>
+     * operator.
+     * 
+     * @return <code>true</code> the argument can be cast to the type of the
+     *         receiver <code>false</code> the argument is null or cannot be
+     *         cast to the type of the receiver
+     * @param object Object the object to test
+     */
+    public boolean isInstance(Object object) {
+        return false;
+    }
+
+    /**
+     * Answers true if the receiver represents an interface.
+     * 
+     * @return <code>true</code> if the receiver represents an interface
+     *         <code>false</code> if it does not represent an interface
+     */
+    public boolean isInterface() {
+        return false;
+    }
+
+    /**
+     * Answers whether the receiver is defined locally.
+     * 
+     * @return <code>true</code> if the class is local, otherwise
+     *         <code>false</code>.
+     */
+    public boolean isLocalClass() {
+        return false;
+    }
+
+    /**
+     * Answers whether the receiver is a member class.
+     * 
+     * @return <code>true</code> if the class is a member class, otherwise
+     *         <code>false</code>.
+     */
+    public boolean isMemberClass() {
+        return false;
+    }
+
+    /**
+     * Answers true if the receiver represents a base type.
+     * 
+     * @return <code>true</code> if the receiver represents a base type
+     *         <code>false</code> if it does not represent a base type
+     */
+    public boolean isPrimitive() {
+        return false;
+    }
+
+    /**
+     * Answers whether the receiver is a synthetic type.
+     * 
+     * @return <code>true</code> if the receiver is a synthetic type and
+     *         <code>false</code> otherwise.
+     */
+    public boolean isSynthetic() {
+        return false;
+    }
+
+    /**
+     * Answers a new instance of the class represented by the receiver, created
+     * by invoking the default (i.e. zero-argument) constructor. If there is no
+     * such constructor, or if the creation fails (either because of a lack of
+     * available memory or because an exception is thrown by the constructor),
+     * an InstantiationException is thrown. If the default constructor exists,
+     * but is not accessible from the context where this message is sent, an
+     * IllegalAccessException is thrown.
+     * 
+     * @return a new instance of the class represented by the receiver.
+     * @throws IllegalAccessException if the constructor is not visible to the
+     *         sender.
+     * @throws InstantiationException if the instance could not be created.
+     */
+    public T newInstance() throws IllegalAccessException, InstantiationException {
+        return null;
+    }
+
+    /**
+     * Answers a string containing a concise, human-readable description of the
+     * receiver.
+     * 
+     * @return a printable representation for the receiver.
+     */
+    @Override
+    public String toString() {
+        return null;
+    }
+
+    /**
+     * Returns the Package of which this class is a member. A class has a
+     * Package if it was loaded from a SecureClassLoader
+     * 
+     * @return Package the Package of which this class is a member or null
+     */
+    public Package getPackage() {
+        return null;
+    }
+
+    /**
+     * Returns the assertion status for this class. Assertion is
+     * enabled/disabled based on class loader default, package or class default
+     * at runtime
+     * 
+     * @return the assertion status for this class
+     */
+    public boolean desiredAssertionStatus() {
+        return false;
+    }
+
+    /**
+     * Casts the receiver to a subclass of the given class.  If successful
+     * answers the receiver, otherwise if the cast cannot be made throws a
+     * <code>ClassCastException</code>.
+     * 
+     * @param clazz the required type.
+     * @return this class cast as a subclass of the given type.
+     * @throws ClassCastException if the class cannot be cast to the given type.
+     */
+    public <U> Class<? extends U> asSubclass(Class<U> clazz) {
+        return null;
+    }
+
+    /**
+     * Cast the given object to the type <code>T</code>.
+     * If the object is <code>null</code> the result is also
+     * <code>null</code>.
+     * 
+     * @param obj the object to cast
+     * @return The object that has been cast.
+     * @throws ClassCastException if the object cannot be cast to the given type.
+     */
+    public T cast(Object obj) {
+        return null;
+    }
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message