pointertype.java
来自「plugin for eclipse」· Java 代码 · 共 45 行
JAVA
45 行
/*
* Created on May 9, 2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package isis.anp.nesc.ot.types;
import isis.anp.nesc.ot.Outline;
/**
* @author sallai
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class PointerType extends ConstructedType {
/**
* @param t
*/
public PointerType(Type t) {
super(t);
}
public void outline(Outline o) {
getEnclosedType().outline(o);
o.append("*");
o.ensureSpace();
o.append(getTypeQualifierString());
}
/* (non-Javadoc)
* @see parser.nesc.ot.types.Type#clone()
*/
public Object clone() {
PointerType rval = new PointerType(this.enclosedType);
rval.typeQualifiers = this.typeQualifiers;
return rval;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?