|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
Àü ´ÙÀ½ | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ |
Annotation¸¦ »ç¿ëÇϰí ÀÖ´Â ÆÐŰÁö | |
---|---|
java.lang | Java ÇÁ·Î±×·¥ ¾ð¾îÀÇ ¼³°èÇØ ±âº»ÀûÀΠŬ·¡½º¸¦ Á¦°øÇÕ´Ï´Ù. |
java.lang.annotation | Java ÇÁ·Î±×·¥ ¾ð¾îÀÇ ¾î³ëÅ×ÀÌ¼Ç ±â´ÉÀ» Áö¿øÇÏ´Â ¶óÀ̺귯¸®¸¦ Á¦°øÇÕ´Ï´Ù. |
java.lang.reflect | Ŭ·¡½º¿Í °´Ã¼¿¡ °üÇÑ ¸®Ç÷ºÆ® Á¤º¸¸¦ ¾ò´Â Ŭ·¡½º ¹× ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÕ´Ï´Ù. |
java.lang ¿¡¼ÀÇ Annotation »ç¿ë |
---|
Annotation¸¦ ±¸ÇöÇϰí ÀÖ´Â java.lang Ŭ·¡½º | |
---|---|
interface |
Deprecated
¾î³ëÅ×À̼ÇÀÇ ÇÁ·Î±×·¥ ¿ä¼Ò @Deprecated´Â ÀϹÝÀûÀ¸·Î À§ÇèÇϰųª º¸´Ù ÀûÀýÇÑ ´Ù¸¥ ÇÁ·Î±×·¥ ¿ä¼Ò·Î ´ë¿ëÇÒ ¼ö ÀÖ´Â Àϵµ ÀÖ¾î, ÇÁ·Î±×·¡¸Ó¿¡°Ô´Â »ç¿ëÀ» ±ÇÀ¯¹ÞÁö ¾Ê´Â ÇÁ·Î±×·¥ ¿ä¼ÒÀÔ´Ï´Ù. |
interface |
Override
¸Þ¼µå ¼±¾ðÀÌ ½´ÆÛ Ŭ·¡½ºÀÇ ¸Þ¼µå ¼±¾ðÀ» ¿À¹ö¶óÀ̵å(override) ÇÏ´Â °ÍÀ» ³ªÅ¸³À´Ï´Ù. |
interface |
SuppressWarnings
¾î³ëÅ×À̼ÇÀ» ºÙÀÎ ¿ä¼Ò ( ¹× ¾î³ëÅ×À̼ÇÀ» ºÙÀÎ ¿ä¼Ò¿¡ Æ÷ÇԵǴ ¸ðµç ÇÁ·Î±×·¥ ¿ä¼Ò)·Î À̸§À¸·Î ÁöÁ¤µÈ ÄÄÆÄÀÏ·¯ °æ°í°¡ ¾ïÁ¦µÇ´Â °ÍÀ» ³ªÅ¸³À´Ï´Ù. |
Annotation ÇüÀÇ ÇüÅ ÆÄ¶ó¹ÌÅ͸¦ °¡Áö´Â java.lang ¸Þ¼µå | ||
---|---|---|
|
Class. getAnnotation (Class <A> annotationClass)
ÁöÁ¤µÈ ÇüÅÂÀÇ ¾î³ëÅ×À̼ÇÀÌ Á¸ÀçÇÏ´Â °æ¿ì´Â ÁöÁ¤µÈ ÇüÅÂÀÇ ¿ä¼ÒÀÇ ¾î³ëÅ×À̼ÇÀ» ¸®ÅÏÇÕ´Ï´Ù. |
|
|
Package. getAnnotation (Class <A> annotationClass)
|
Annotation¸¦ µ¹·ÁÁÖ´Â java.lang ¸Þ¼µå | |
---|---|
Annotation [] |
Class. getAnnotations ()
ÀÌ ¿ä¼Ò¿¡ Á¸ÀçÇÏ´Â ¸ðµç ¾î³ëÅ×À̼ÇÀ» ¸®ÅÏÇÕ´Ï´Ù (ÀÌ ¿ä¼Ò¿¡ ¾î³ëÅ×À̼ÇÀÌ ¾ø´Â °æ¿ì´Â ±æÀÌ Á¦·ÎÀÇ ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù). |
Annotation [] |
Package. getAnnotations ()
|
Annotation [] |
Class. getDeclaredAnnotations ()
ÀÌ ¿ä¼Ò¿¡ Á÷Á¢ Á¸ÀçÇÏ´Â ¸ðµç ¾î³ëÅ×À̼ÇÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Annotation [] |
Package. getDeclaredAnnotations ()
|
Method parameters in java.lang with type arguments of type Annotation | |
---|---|
boolean |
Class. isAnnotationPresent (Class <? extends Annotation > annotationClass)
ÁöÁ¤µÈ ÇüÅÂÀÇ ¾î³ëÅ×À̼ÇÀÌ ÀÌ ¿ä¼Ò¿¡ Á¸ÀçÇÏ´Â °æ¿ì´Â true¸¦ µ¹·ÁÁÖ°í, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
Package. isAnnotationPresent (Class <? extends Annotation > annotationClass)
|
java.lang.annotation ¿¡¼ÀÇ Annotation »ç¿ë |
---|
Annotation¸¦ ±¸ÇöÇϰí ÀÖ´Â java.lang.annotation Ŭ·¡½º | |
---|---|
interface |
Documented
ÇüŸ¦ °¡Áö´Â ¾î³ëÅ×À̼ÇÀÌ javadoc ¹× °°Àº Åø¿¡ ÀÇÇØ µðÆúÆ®·Î ¹®¼È µÇ´Â °ÍÀ» ³ªÅ¸³À´Ï´Ù. |
interface |
Inherited
¾î³ëÅ×À̼ÇÀÌ ÀÚµ¿ÀûÀ¸·Î »ó¼ÓµÇ´Â °ÍÀ» ³ªÅ¸³À´Ï´Ù. |
interface |
Retention
¾î³ëÅ×À̼ÇÀÇ ÇüŸ¦ °¡Áö´Â ¾î³ëÅ×À̼ÇÀ» º¸°ü À¯ÁöÇÏ´Â ±â°£À» ³ªÅ¸³À´Ï´Ù. |
interface |
Target
¾î³ëÅ×À̼ÇÀÌ Àû¿ë °¡´ÉÇÑ ÇÁ·Î±×·¥ ¿ä¼ÒÀÇ Á¾·ù¸¦ ³ªÅ¸³À´Ï´Ù. |
Annotation ÇüÀÇ Àμö¸¦ °¡Áö´Â ÇüŸ¦ µ¹·ÁÁÖ´Â java.lang.annotation ¸Þ¼µå | |
---|---|
Class <? extends Annotation > |
Annotation. annotationType ()
ÀÌ ¾î³ëÅ×À̼ÇÀÇ ¾î³ëÅ×À̼ÇÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Class <? extends Annotation > |
IncompleteAnnotationException. annotationType ()
¹ß°ßµÇÁö ¾Ê´Â ¿ä¼Ò¸¦ °¡Áö´Â ¾î³ëÅ×À̼ǿ¡ ´ëÀÀÇÏ´Â Class °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Constructor parameters in java.lang.annotation with type arguments of type Annotation | |
---|---|
IncompleteAnnotationException (Class <? extends Annotation > annotationType,
String elementName)
IncompleteAnnotationExceptionÀ» ±¸ÃàÇØ, À̸§ ÷ºÎ ¿ä¼Ò°¡ ÁöÁ¤µÈ ¾î³ëÅ×À̼ÇÀ¸·ÎºÎÅÍ ¹ß°ßµÇÁö ¾Ê´Â °ÍÀ» ³ªÅ¸³À´Ï´Ù. |
java.lang.reflect ¿¡¼ÀÇ Annotation »ç¿ë |
---|
Annotation ÇüÀÇ ÇüÅ ÆÄ¶ó¹ÌÅ͸¦ °¡Áö´Â java.lang.reflect ¸Þ¼µå | ||
---|---|---|
|
AnnotatedElement. getAnnotation (Class <T> annotationType)
ÁöÁ¤µÈ ÇüÅÂÀÇ ¾î³ëÅ×À̼ÇÀÌ Á¸ÀçÇÏ´Â °æ¿ì´Â ÁöÁ¤µÈ ÇüÅÂÀÇ ¿ä¼ÒÀÇ ¾î³ëÅ×À̼ÇÀ» ¸®ÅÏÇÕ´Ï´Ù. |
|
|
AccessibleObject. getAnnotation (Class <T> annotationClass)
|
|
|
Field. getAnnotation (Class <T> annotationClass)
|
|
|
Method. getAnnotation (Class <T> annotationClass)
|
|
|
Constructor. getAnnotation (Class <T> annotationClass)
|
Annotation¸¦ µ¹·ÁÁÖ´Â java.lang.reflect ¸Þ¼µå | |
---|---|
Annotation [] |
AnnotatedElement. getAnnotations ()
ÀÌ ¿ä¼Ò¿¡ Á¸ÀçÇÏ´Â ¸ðµç ¾î³ëÅ×À̼ÇÀ» ¸®ÅÏÇÕ´Ï´Ù (ÀÌ ¿ä¼Ò¿¡ ¾î³ëÅ×À̼ÇÀÌ ¾ø´Â °æ¿ì´Â ±æÀÌ Á¦·ÎÀÇ ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù). |
Annotation [] |
AccessibleObject. getAnnotations ()
|
Annotation [] |
AnnotatedElement. getDeclaredAnnotations ()
ÀÌ ¿ä¼Ò¿¡ Á÷Á¢ Á¸ÀçÇÏ´Â ¸ðµç ¾î³ëÅ×À̼ÇÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Annotation [] |
AccessibleObject. getDeclaredAnnotations ()
|
Annotation [] |
Field. getDeclaredAnnotations ()
|
Annotation [] |
Method. getDeclaredAnnotations ()
|
Annotation [] |
Constructor. getDeclaredAnnotations ()
|
Annotation [][] |
Method. getParameterAnnotations ()
ÀÌ Method °´Ã¼¿¡ ÀÇÇØ ³ªÅ¸³»Áø ¸Þ¼µåÀÇ °¡ÆÄ¶ó¹ÌÅÍÀÇ ¾î³ëÅ×À̼ÇÀ» ³ªÅ¸³»´Â ¹è¿ÀÇ ¹è¿À» ¼±¾ð¼ø¼¿¡ ¸®ÅÏÇÕ´Ï´Ù. |
Annotation [][] |
Constructor. getParameterAnnotations ()
ÀÌ Method °´Ã¼¿¡ ÀÇÇØ ³ªÅ¸³»Áø ¸Þ¼µåÀÇ °¡ÆÄ¶ó¹ÌÅÍÀÇ ¾î³ëÅ×À̼ÇÀ» ³ªÅ¸³»´Â ¹è¿ÀÇ ¹è¿À» ¼±¾ð¼ø¼¿¡ ¸®ÅÏÇÕ´Ï´Ù. |
Method parameters in java.lang.reflect with type arguments of type Annotation | |
---|---|
boolean |
AnnotatedElement. isAnnotationPresent (Class <? extends Annotation > annotationType)
ÁöÁ¤µÈ ÇüÅÂÀÇ ¾î³ëÅ×À̼ÇÀÌ ÀÌ ¿ä¼Ò¿¡ Á¸ÀçÇÏ´Â °æ¿ì´Â true¸¦ µ¹·ÁÁÖ°í, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
AccessibleObject. isAnnotationPresent (Class <? extends Annotation > annotationClass)
|
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
Àü ´ÙÀ½ | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.