?? classnodeerrorinformation.java
字號:
/**
* Copyright (c) 2003-2005 Craig Setera
* All Rights Reserved.
* Licensed under the Eclipse Public License - v 1.0
* For more information see http://www.eclipse.org/legal/epl-v10.html
*/
package eclipseme.preverifier.internal.results;
import org.objectweb.asm.tree.ClassNode;
import eclipseme.preverifier.results.IClassErrorInformation;
/**
* Implementation of the IClassErrorInformation interface
* wrapped around a class node.
* <p />
* Copyright (c) 2003-2005 Craig Setera<br>
* All Rights Reserved.<br>
* Licensed under the Eclipse Public License - v 1.0<p/>
* <br>
* $Revision: 1.1 $
* <br>
* $Date: 2005/09/25 23:53:32 $
* <br>
* @author Craig Setera
*/
public class ClassNodeErrorInformation implements IClassErrorInformation {
private ClassNode classNode;
/**
* Construct a new information instance around the specified
* class node.
*
* @param classNode
*/
public ClassNodeErrorInformation(ClassNode classNode)
{
super();
this.classNode = classNode;
}
/**
* @see eclipseme.preverifier.results.IClassErrorInformation#getName()
*/
public String getName() {
return classNode.name;
}
/**
* @see eclipseme.preverifier.results.IClassErrorInformation#getSourceFile()
*/
public String getSourceFile() {
return classNode.sourceFile;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -