本文整理汇总了Java中com.sun.javadoc.LanguageVersion.JAVA_1_5属性的典型用法代码示例。如果您正苦于以下问题:Java LanguageVersion.JAVA_1_5属性的具体用法?Java LanguageVersion.JAVA_1_5怎么用?Java LanguageVersion.JAVA_1_5使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.sun.javadoc.LanguageVersion
的用法示例。
在下文中一共展示了LanguageVersion.JAVA_1_5属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: languageVersion
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例2: languageVersion
/**
* Get the language version this doclet supports.
*
* @return the language version
*/
public static LanguageVersion languageVersion() {
// otherwise, isVarArgs always returns false
// (which sounds like a bug but is a feature :-)
return LanguageVersion.JAVA_1_5;
}
示例3: languageVersion
/** Specified for the Doclet API */
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例4: languageVersion
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例5: languageVersion
public static LanguageVersion languageVersion()
{
return LanguageVersion.JAVA_1_5;
}
示例6: languageVersion
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例7: languageVersion
public static LanguageVersion languageVersion()
{
return LanguageVersion.JAVA_1_5;
}
示例8: languageVersion
/**
* Indicate that this doclet supports the 1.5 language features.
*
* @return JAVA_1_5, indicating that the new features are supported.
*/
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例9: languageVersion
/**
* Return the version of the Java Programming Language supported
* by this doclet.
* @return the Java language supported version
* @see Doclet#languageVersion()
*/
@SuppressWarnings("UnusedDeclaration")
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例10: languageVersion
/**
* NOTE: Without this method present and returning LanguageVersion.JAVA_1_5,
* Javadoc will not process generics because it assumes LanguageVersion.JAVA_1_1
*
* @return language version (hard coded to LanguageVersion.JAVA_1_5)
*/
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例11: languageVersion
/**
* Returns the version of the Java Programming Language supported by this Doclet.
*
* <p>This Doclet supports Java 5.
*
* @see com.sun.javadoc.Doclet#languageVersion()
*
* @return {@value LanguageVersion#JAVA_1_5}
*/
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例12: languageVersion
/**
* Return the version of the Java Programming Language supported by this
* doclet.
* <p>
* This method is required by any doclet supporting a language version newer
* than 1.1.
* <p>
* This Doclet supports Java 5.
*
* @see com.sun.javadoc.Doclet#languageVersion()
*
* @return {@value LanguageVersion#JAVA_1_5}
*/
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例13: languageVersion
/**
* NOTE: Without this method present and returning LanguageVersion.JAVA_1_5,
* Javadoc will not process generics because it assumes LanguageVersion.JAVA_1_1
* @return language version (hard coded to LanguageVersion.JAVA_1_5)
*/
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例14: languageVersion
/**
* Sets the language version to Java 5.
*
* _Javadoc spec requirement._
*
* @return language version number
*/
@SuppressWarnings("UnusedDeclaration")
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}
示例15: languageVersion
/**
* NOTE: Without this method present and returning LanguageVersion.JAVA_1_5,
* Javadoc will not process generics because it assumes
* LanguageVersion.JAVA_1_1
*
* @return language version (hard coded to LanguageVersion.JAVA_1_5)
*/
public static LanguageVersion languageVersion() {
return LanguageVersion.JAVA_1_5;
}