我懂你意思了, 你这段代码是反编译来的吧?怪怪的,不能用啊 Look 下面的东东 注意这两行 * @see java.lang.Class#forName(String) * @see java.lang.ClassLoader但这有限制,必段是类 /** * Returns the <code>Class</code> object associated with the class or * interface with the given string name, using the given class loader. * Given the fully qualified name for a class or interface (in the same * format returned by <code>getName</code>) this method attempts to * locate, load, and link the class or interface. The specified class * loader is used to load the class or interface. If the parameter * <code>loader</code> is null, the class is loaded through the bootstrap * class loader. The class is initialized only if the * <code>initialize</code> parameter is <code>true</code> and if it has * not been initialized earlier. * * <p> If <code>name</code> denotes a primitive type or void, an attempt * will be made to locate a user-defined class in the unnamed package whose * name is <code>name</code>. Therefore, this method cannot be used to * obtain any of the <code>Class</code> objects representing primitive * types or void. * * <p> If <code>name</code> denotes an array class, the component type of * the array class is loaded but not initialized. * * <p> For example, in an instance method the expression: * * <blockquote><pre> * Class.forName("Foo") * </pre></blockquote> * * is equivalent to: * * <blockquote><pre> * Class.forName("Foo", true, this.getClass().getClassLoader()) * </pre></blockquote> * * Note that this method throws errors related to loading, linking or * initializing as specified in Sections 12.2, 12.3 and 12.4 of <em>The * Java Language Specification</em>. * Note that this method does not check whether the requested class * is accessible to its caller. * * <p> If the <code>loader</code> is <code>null</code>, and a security * manager is present, and the caller's class loader is not null, then this * method calls the security manager's <code>checkPermission</code> method * with a <code>RuntimePermission("getClassLoader")</code> permission to * ensure it's ok to access the bootstrap class loader. * * @param name fully qualified name of the desired class * @param initialize whether the class must be initialized * @param loader class loader from which the class must be loaded * @return class object representing the desired class * * @exception LinkageError if the linkage fails * @exception ExceptionInInitializerError if the initialization provoked * by this method fails * @exception ClassNotFoundException if the class cannot be located by * the specified class loader * * @see java.lang.Class#forName(String) * @see java.lang.ClassLoader * @since 1.2 */ public static Class forName(String name, boolean initialize, ClassLoader loader) throws ClassNotFoundException { if (loader == null) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { ClassLoader ccl = ClassLoader.getCallerClassLoader(); if (ccl != null) { sm.checkPermission(ClassLoader.getGetClassLoaderPerm()); } } } return forName0(name, initialize, loader); }你可以研究深一点,用 @link标记俺对这些牛角没多兴趣了
因为我不懂英文,我看得好吃力使用Jbuilder的Document Builder,事变功倍
@see java.lang.String{@link} package.class#member label已知在Jbuilder的Document Builder里build 你项目一个文档,能出来。
Jbuilder (Menu) >> Wizards >> javadoc,
go on ahead
象
receiveMessages();
MessageReceiver messagereceiver = this;
messagereceiver;
JVM INSTR monitorenter ;
if(cycle > 0 && !shouldStop)
{
operEnv.fireStatusChangedEvent(new StatusChangedEvent
(this, 0, 0, "Connection idle"));
try
{
wait(cycle * 60 * 1000);
}
catch(InterruptedException interruptedexception) { }
}
messagereceiver;
JVM INSTR monitorexit ;
goto _L1
Exception exception;
exception;
messagereceiver;
JVM INSTR monitorexit ;
throw exception;
_L1:
if(!shouldStop) goto _L3; else goto _L2这样的写法对不对?还是有什么比的格式呢?
littlecpu(可以包含中文字符) 您的意思我没看懂。。
你这段代码是反编译来的吧?怪怪的,不能用啊
Look 下面的东东
注意这两行
* @see java.lang.Class#forName(String)
* @see java.lang.ClassLoader但这有限制,必段是类
/**
* Returns the <code>Class</code> object associated with the class or
* interface with the given string name, using the given class loader.
* Given the fully qualified name for a class or interface (in the same
* format returned by <code>getName</code>) this method attempts to
* locate, load, and link the class or interface. The specified class
* loader is used to load the class or interface. If the parameter
* <code>loader</code> is null, the class is loaded through the bootstrap
* class loader. The class is initialized only if the
* <code>initialize</code> parameter is <code>true</code> and if it has
* not been initialized earlier.
*
* <p> If <code>name</code> denotes a primitive type or void, an attempt
* will be made to locate a user-defined class in the unnamed package whose
* name is <code>name</code>. Therefore, this method cannot be used to
* obtain any of the <code>Class</code> objects representing primitive
* types or void.
*
* <p> If <code>name</code> denotes an array class, the component type of
* the array class is loaded but not initialized.
*
* <p> For example, in an instance method the expression:
*
* <blockquote><pre>
* Class.forName("Foo")
* </pre></blockquote>
*
* is equivalent to:
*
* <blockquote><pre>
* Class.forName("Foo", true, this.getClass().getClassLoader())
* </pre></blockquote>
*
* Note that this method throws errors related to loading, linking or
* initializing as specified in Sections 12.2, 12.3 and 12.4 of <em>The
* Java Language Specification</em>.
* Note that this method does not check whether the requested class
* is accessible to its caller.
*
* <p> If the <code>loader</code> is <code>null</code>, and a security
* manager is present, and the caller's class loader is not null, then this
* method calls the security manager's <code>checkPermission</code> method
* with a <code>RuntimePermission("getClassLoader")</code> permission to
* ensure it's ok to access the bootstrap class loader.
*
* @param name fully qualified name of the desired class
* @param initialize whether the class must be initialized
* @param loader class loader from which the class must be loaded
* @return class object representing the desired class
*
* @exception LinkageError if the linkage fails
* @exception ExceptionInInitializerError if the initialization provoked
* by this method fails
* @exception ClassNotFoundException if the class cannot be located by
* the specified class loader
*
* @see java.lang.Class#forName(String)
* @see java.lang.ClassLoader
* @since 1.2
*/
public static Class forName(String name, boolean initialize,
ClassLoader loader)
throws ClassNotFoundException
{
if (loader == null) {
SecurityManager sm = System.getSecurityManager();
if (sm != null) {
ClassLoader ccl = ClassLoader.getCallerClassLoader();
if (ccl != null) {
sm.checkPermission(ClassLoader.getGetClassLoaderPerm());
}
}
}
return forName0(name, initialize, loader);
}你可以研究深一点,用
@link标记俺对这些牛角没多兴趣了
还是理解不能。。
dentance(登徒子) 的表达比较合适,就是类似于c中调用汇编。