⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fielddeclaration.java

📁 Mobile 应用程序使用 Java Micro Edition (Java ME) 平台
💻 JAVA
字号:
/* * @(#)FieldDeclaration.java	1.3 05/11/17 * * Copyright 2006 Sun Microsystems, Inc.  All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL.  Use is subject to license terms. */package com.sun.mirror.declaration;import com.sun.mirror.type.TypeMirror;/** * Represents a field of a type declaration. * * @author Joseph D. Darcy * @author Scott Seligman * @version 1.3 05/11/17 * @since 1.5 */public interface FieldDeclaration extends MemberDeclaration {    /**     * Returns the type of this field.     *     * @return the type of this field     */    TypeMirror getType();    /**     * Returns the value of this field if this field is a compile-time     * constant.  Returns <tt>null</tt> otherwise.     * The value will be of a primitive type or <tt>String</tt>.     * If the value is of a primitive type, it is wrapped in the     * appropriate wrapper class (such as {@link Integer}).     *     * @return the value of this field if this field is a compile-time     * constant, or <tt>null</tt> otherwise     */    Object getConstantValue();    /**     * Returns the text of a <i>constant expression</i> representing the     * value of this field if this field is a compile-time constant.     * Returns <tt>null</tt> otherwise.     * The value will be of a primitive type or <tt>String</tt>.     * The text returned is in a form suitable for representing the value     * in source code.     *     * @return the text of a constant expression if this field is a     *		compile-time constant, or <tt>null</tt> otherwise     */    String getConstantExpression();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -