本文整理了Java中org.eclipse.jdt.core.dom.CompilationUnit.getFlags()
方法的一些代码示例,展示了CompilationUnit.getFlags()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CompilationUnit.getFlags()
方法的具体详情如下:
包路径:org.eclipse.jdt.core.dom.CompilationUnit
类名称:CompilationUnit
方法名:getFlags
暂无
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
} else if(this.rewriter != null) {
throw new IllegalArgumentException("AST modifications are already recorded"); //$NON-NLS-1$
} else if((root.getFlags() & ASTNode.PROTECT) != 0) {
throw new IllegalArgumentException("Root node is unmodifiable"); //$NON-NLS-1$
} else if(root.getAST() != this) {
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
} else if(this.rewriter != null) {
throw new IllegalArgumentException("AST modifications are already recorded"); //$NON-NLS-1$
} else if((root.getFlags() & ASTNode.PROTECT) != 0) {
throw new IllegalArgumentException("Root node is unmodifiable"); //$NON-NLS-1$
} else if(root.getAST() != this) {
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
} else if(this.rewriter != null) {
throw new IllegalArgumentException("AST modifications are already recorded"); //$NON-NLS-1$
} else if((root.getFlags() & ASTNode.PROTECT) != 0) {
throw new IllegalArgumentException("Root node is unmodifiable"); //$NON-NLS-1$
} else if(root.getAST() != this) {
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
} else if(this.rewriter != null) {
throw new IllegalArgumentException("AST modifications are already recorded"); //$NON-NLS-1$
} else if((root.getFlags() & ASTNode.PROTECT) != 0) {
throw new IllegalArgumentException("Root node is unmodifiable"); //$NON-NLS-1$
} else if(root.getAST() != this) {
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
} else if(this.rewriter != null) {
throw new IllegalArgumentException("AST modifications are already recorded"); //$NON-NLS-1$
} else if((root.getFlags() & ASTNode.PROTECT) != 0) {
throw new IllegalArgumentException("Root node is unmodifiable"); //$NON-NLS-1$
} else if(root.getAST() != this) {
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
} else if(this.rewriter != null) {
throw new IllegalArgumentException("AST modifications are already recorded"); //$NON-NLS-1$
} else if((root.getFlags() & ASTNode.PROTECT) != 0) {
throw new IllegalArgumentException("Root node is unmodifiable"); //$NON-NLS-1$
} else if(root.getAST() != this) {
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
compilationUnit.setFlags(compilationUnit.getFlags() | ASTNode.MALFORMED);
} else {
compilationUnit.types().add(type);
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
ASTNode declaration = convertToModuleDeclaration(mod);
if (declaration == null) {
compilationUnit.setFlags(compilationUnit.getFlags() | ASTNode.MALFORMED);
} else {
compilationUnit.setModule((ModuleDeclaration) declaration);
compilationUnit.setFlags(compilationUnit.getFlags() | ASTNode.MALFORMED);
} else {
if (type instanceof ModuleDeclaration)
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
compilationUnit.setFlags(compilationUnit.getFlags() | ASTNode.MALFORMED);
} else {
compilationUnit.types().add(type);
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
compilationUnit.setFlags(compilationUnit.getFlags() | ASTNode.MALFORMED);
} else {
compilationUnit.types().add(type);
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
ASTNode declaration = convertToModuleDeclaration(mod);
if (declaration == null) {
compilationUnit.setFlags(compilationUnit.getFlags() | ASTNode.MALFORMED);
} else {
compilationUnit.setModule((ModuleDeclaration) declaration);
compilationUnit.setFlags(compilationUnit.getFlags() | ASTNode.MALFORMED);
} else {
if (type instanceof ModuleDeclaration)
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
compilationUnit.setFlags(compilationUnit.getFlags() | ASTNode.MALFORMED);
} else {
compilationUnit.types().add(type);
内容来源于网络,如有侵权,请联系作者删除!