项目:tools-idea
文件:PsiBlockStatementImpl.java
@Override
public ASTNode findChildByRole(int role) {
LOG.assertTrue(ChildRole.isUnique(role));
switch(role){
default:
return null;
case ChildRole.BLOCK:
return findChildByType(Constants.CODE_BLOCK);
}
}
项目:tools-idea
文件:PsiBlockStatementImpl.java
@Override
public int getChildRole(ASTNode child) {
LOG.assertTrue(child.getTreeParent() == this);
if (child.getElementType() == Constants.CODE_BLOCK) {
return ChildRole.BLOCK;
}
else {
return ChildRoleBase.NONE;
}
}
项目:consulo-java
文件:PsiBlockStatementImpl.java
@Override
public ASTNode findChildByRole(int role) {
LOG.assertTrue(ChildRole.isUnique(role));
switch(role){
default:
return null;
case ChildRole.BLOCK:
return findChildByType(Constants.CODE_BLOCK);
}
}
项目:consulo-java
文件:PsiBlockStatementImpl.java
@Override
public int getChildRole(ASTNode child) {
LOG.assertTrue(child.getTreeParent() == this);
if (child.getElementType() == Constants.CODE_BLOCK) {
return ChildRole.BLOCK;
}
else {
return ChildRoleBase.NONE;
}
}
项目:tools-idea
文件:PsiBlockStatementImpl.java
public PsiBlockStatementImpl() {
super(Constants.BLOCK_STATEMENT);
}
项目:tools-idea
文件:PsiPostfixExpressionImpl.java
public PsiPostfixExpressionImpl() {
super(Constants.POSTFIX_EXPRESSION);
}
项目:tools-idea
文件:PsiEmptyStatementImpl.java
public PsiEmptyStatementImpl() {
super(Constants.EMPTY_STATEMENT);
}
项目:tools-idea
文件:PsiEmptyExpressionImpl.java
public PsiEmptyExpressionImpl() {
super(Constants.EMPTY_EXPRESSION);
}
项目:tools-idea
文件:FieldElement.java
public FieldElement() {
super(Constants.FIELD);
}
项目:tools-idea
文件:PsiIdentifierImpl.java
public PsiIdentifierImpl(CharSequence text) {
super(Constants.IDENTIFIER,text);
}
项目:consulo-java
文件:ClsClassImpl.java
@NotNull
@Override
public List<PsiField> getownFields()
{
return asList(getStub().getChildrenByType(Constants.FIELD_BIT_SET,PsiField.ARRAY_FACTORY));
}
项目:consulo-java
文件:ClsClassImpl.java
@NotNull
@Override
public List<PsiMethod> getownMethods()
{
return asList(getStub().getChildrenByType(Constants.METHOD_BIT_SET,PsiMethod.ARRAY_FACTORY));
}
项目:consulo-java
文件:PsiBlockStatementImpl.java
public PsiBlockStatementImpl() {
super(Constants.BLOCK_STATEMENT);
}
项目:consulo-java
文件:PsiPostfixExpressionImpl.java
public PsiPostfixExpressionImpl() {
super(Constants.POSTFIX_EXPRESSION);
}
项目:consulo-java
文件:PsiEmptyStatementImpl.java
public PsiEmptyStatementImpl() {
super(Constants.EMPTY_STATEMENT);
}
项目:consulo-java
文件:PsiEmptyExpressionImpl.java
public PsiEmptyExpressionImpl() {
super(Constants.EMPTY_EXPRESSION);
}
项目:consulo-java
文件:FieldElement.java
public FieldElement() {
super(Constants.FIELD);
}
项目:consulo-java
文件:PsiIdentifierImpl.java
public PsiIdentifierImpl(CharSequence text) {
super(Constants.IDENTIFIER,text);
}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。