org.eclipse.jdt.core.dom.CompilationUnit.getFlags()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(123)

本文整理了Java中org.eclipse.jdt.core.dom.CompilationUnit.getFlags()方法的一些代码示例,展示了CompilationUnit.getFlags()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CompilationUnit.getFlags()方法的具体详情如下:
包路径:org.eclipse.jdt.core.dom.CompilationUnit
类名称:CompilationUnit
方法名:getFlags

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);

相关文章

微信公众号

最新文章

更多