本文整理汇总了Java中sun.tools.tree.Context类的典型用法代码示例。如果您正苦于以下问题:Java Context类的具体用法?Java Context怎么用?Java Context使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Context类属于sun.tools.tree包,在下文中一共展示了Context类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: check
import sun.tools.tree.Context; //导入依赖的package包/类
/**
* Really check the field definition.
*/
public Vset check(Environment env, Context ctx, Vset vset) throws ClassNotFound {
return vset;
}
示例2: codeInit
import sun.tools.tree.Context; //导入依赖的package包/类
public void codeInit(Environment env, Context ctx, Assembler asm) throws ClassNotFound {
throw new CompilerError("codeInit");
}
示例3: getClassContext
import sun.tools.tree.Context; //导入依赖的package包/类
public Context getClassContext() {
return classContext;
}
示例4: getAccessMember
import sun.tools.tree.Context; //导入依赖的package包/类
/**
* Find or create an access method for a private member,
* or return null if this is not possible.
*/
public MemberDefinition getAccessMember(Environment env, Context ctx,
MemberDefinition field, boolean isSuper) {
throw new CompilerError("binary getAccessMember");
}
示例5: getUpdateMember
import sun.tools.tree.Context; //导入依赖的package包/类
/**
* Find or create an update method for a private member,
* or return null if this is not possible.
*/
public MemberDefinition getUpdateMember(Environment env, Context ctx,
MemberDefinition field, boolean isSuper) {
throw new CompilerError("binary getUpdateMember");
}
示例6: checkLocalClass
import sun.tools.tree.Context; //导入依赖的package包/类
public Vset checkLocalClass(Environment env, Context ctx,
Vset vset, ClassDefinition sup,
Expression args[], Type argTypes[]
) throws ClassNotFound {
throw new CompilerError("checkLocalClass");
}