hqlastfactory.java
来自「好东西,hibernate-3.2.0,他是一开元的树杖hibernate-3.」· Java 代码 · 共 23 行
JAVA
23 行
package org.hibernate.hql.ast;
import antlr.ASTFactory;
import org.hibernate.hql.ast.tree.Node;
/**
* User: Joshua Davis<br>
* Date: Sep 23, 2005<br>
* Time: 12:30:01 PM<br>
*/
public class HqlASTFactory extends ASTFactory {
/**
* Returns the class for a given token type (a.k.a. AST node type).
*
* @param tokenType The token type.
* @return Class - The AST node class to instantiate.
*/
public Class getASTNodeType(int tokenType) {
return Node.class;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?