Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


ElementTypejava.lang.annotation

Java 5.0serializable comparable enum

The

constants
declared by this enumerated type represent the types of program
elements that can be annotated. The value of an
@Target annotation is an array of
ElementType constants. Most of the
constants
have obvious meanings, but some require additional explanation.
TYPE represents a class, interface, enumerated
type, or annotation type. ANNOTATION_TYPE
represents only annotation types and is used for meta-annotations.
FIELD includes enumerated constants, and
PARAMETER includes both method parameters and
catch clause parameters. Note that the
METHOD and CONSTRUCTOR are
distinct constants.


Figure 10-77. java.lang.annotation.ElementType

public enum

ElementType {
// Enumerated Constants

TYPE ,

FIELD ,

METHOD ,

PARAMETER ,

CONSTRUCTOR ,

LOCAL_VARIABLE ,

ANNOTATION_TYPE ,

PACKAGE ;
// Public Class Methods
public static ElementType

valueOf (String

name );
public static final ElementType[ ]

values ( );
}


Returned By


Target.value( )


    / 1191