本文整理了Java中org.eclipse.jdt.internal.compiler.batch.Main.checkVMVersion()
方法的一些代码示例,展示了Main.checkVMVersion()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Main.checkVMVersion()
方法的具体详情如下:
包路径:org.eclipse.jdt.internal.compiler.batch.Main
类名称:Main
方法名:checkVMVersion
[英]Return true if and only if the running VM supports the given minimal version.
This only checks the major version, since the minor version is always 0 (at least for the useful cases).
The given minimalSupportedVersion is one of the constants:
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_1
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_2
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_3
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_4
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_5
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_6
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_7
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_1
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_2
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_3
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_4
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_5
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_6
org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants.JDK1_7
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
if (checkVMVersion(ClassFileConstants.JDK9)) {
initRootModules(this.batchCompiler.lookupEnvironment, environment);
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
if (checkVMVersion(ClassFileConstants.JDK9)) {
initRootModules(this.batchCompiler.lookupEnvironment, environment);
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps
if (checkVMVersion(ClassFileConstants.JDK1_6)) {
initializeAnnotationProcessorManager();
if (this.classNames != null) {
内容来源于网络,如有侵权,请联系作者删除!