Uses of Interface
java.lang.annotation.Annotation
-
Packages that use Annotation 软件包 描述 java.beans 包含与开发 bean相关的类 - 基于JavaBeans架构的组件。java.lang 提供对Java编程语言设计至关重要的类。java.lang.annotation 为Java编程语言注释工具提供库支持。java.lang.reflect 提供用于获取关于类和对象的反射信息的类和接口。javafx.beans 包javafx.beans包含定义最通用形式的可观察性的接口。javafx.fxml 包含用于从标记加载对象层次结构的类。javax.annotation javax.annotation.processing 用于声明注释处理器和允许注释处理器与注释处理工具环境通信的设施。javax.jws javax.jws.soap javax.lang.model 用于建模Java编程语言的软件包的类和层次结构。javax.lang.model.element 用于建模Java编程语言元素的接口。javax.management 提供Java管理扩展的核心类。javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.xml.bind.annotation 定义用于将Java程序元素定制到XML模式映射的注释。javax.xml.bind.annotation.adapters XmlAdapter及其指定的子类允许任意Java类与JAXB一起使用。javax.xml.ws 此软件包包含核心JAX-WS API。javax.xml.ws.soap 该包定义了SOAP绑定专用的API。javax.xml.ws.spi 此套件为JAX-WS定义了SPI。 -
-
Uses of Annotation in java.beans
Classes in java.beans that implement Annotation Modifier and Type Class 描述 interfaceBeanProperty用于为自动生成的BeanInfo类指定一些属性相关信息的注释。interfaceConstructorProperties一个构造函数上的注释,显示了该构造函数的参数对应于构造的对象的getter方法。interfaceJavaBean用于为自动生成的BeanInfo类指定一些类相关信息的注释。interfaceTransient表示当Introspector构造与注释代码元素相关联的PropertyDescriptor或EventSetDescriptor类时,应使用给定的value声明称为“transient”的属性。 -
Uses of Annotation in java.lang
Classes in java.lang that implement Annotation Modifier and Type Class 描述 interface已过时的注释@Deprecated的程序元素是不鼓励程序员使用的程序元素。interfaceFunctionalInterface用于指示接口类型声明旨在作为Java语言规范定义的 功能接口的信息性注释类型。interfaceOverride表示方法声明旨在覆盖超类型中的方法声明。interfaceSafeVarargs程序员断言注释方法或构造函数的正文不会对其varargs参数执行潜在的不安全操作。interfaceSuppressWarnings表示在注释元素(以及注释元素中包含的所有程序元素)中应该抑制命名的编译器警告。Methods in java.lang with type parameters of type Annotation Modifier and Type 方法 描述 <A extends Annotation>
AClass. getAnnotation(Class<A> annotationClass)<T extends Annotation>
TModule. getAnnotation(Class<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<A extends Annotation>
APackage. getAnnotation(Class<A> annotationClass)<A extends Annotation>
A[]Class. getAnnotationsByType(Class<A> annotationClass)<A extends Annotation>
A[]Package. getAnnotationsByType(Class<A> annotationClass)<A extends Annotation>
AClass. getDeclaredAnnotation(Class<A> annotationClass)<A extends Annotation>
APackage. getDeclaredAnnotation(Class<A> annotationClass)<A extends Annotation>
A[]Class. getDeclaredAnnotationsByType(Class<A> annotationClass)<A extends Annotation>
A[]Package. getDeclaredAnnotationsByType(Class<A> annotationClass)Methods in java.lang that return Annotation Modifier and Type 方法 描述 Annotation[]Class. getAnnotations()Annotation[]Module. getAnnotations()返回此元素上 存在的注释。Annotation[]Package. getAnnotations()<A extends Annotation>
A[]Class. getAnnotationsByType(Class<A> annotationClass)<A extends Annotation>
A[]Package. getAnnotationsByType(Class<A> annotationClass)Annotation[]Class. getDeclaredAnnotations()Annotation[]Module. getDeclaredAnnotations()返回 直接存在于此元素上的注释。Annotation[]Package. getDeclaredAnnotations()<A extends Annotation>
A[]Class. getDeclaredAnnotationsByType(Class<A> annotationClass)<A extends Annotation>
A[]Package. getDeclaredAnnotationsByType(Class<A> annotationClass)Method parameters in java.lang with type arguments of type Annotation Modifier and Type 方法 描述 booleanClass. isAnnotationPresent(Class<? extends Annotation> annotationClass)如果此元素上 存在指定类型的注释,则返回true,否则返回false。booleanPackage. isAnnotationPresent(Class<? extends Annotation> annotationClass)如果此元素上 存在指定类型的注释,则返回true,否则返回false。 -
Uses of Annotation in java.lang.annotation
Classes in java.lang.annotation that implement Annotation Modifier and Type Class 描述 interfaceDocumented如果批注@Documented存在于注释类型 A的声明上,则元素上的任何@A注释都将被视为元素的公共合同的一部分。interfaceInherited表示注释类型自动继承。interfaceNative表示定义常量值的字段可以从本地代码引用。interfaceRepeatable注释类型java.lang.annotation.Repeatable用于指示其(meta-)注释声明的注释类型是 可重复的 。interfaceRetention指示要注释具有注释类型的注释的保留时间。interfaceTarget指示注释类型适用的上下文。Methods in java.lang.annotation that return types with arguments of type Annotation Modifier and Type 方法 描述 Class<? extends Annotation>Annotation. annotationType()返回此注释的注释类型。Class<? extends Annotation>IncompleteAnnotationException. annotationType()返回缺少元素的注释类型的Class对象。Constructor parameters in java.lang.annotation with type arguments of type Annotation Constructor 描述 IncompleteAnnotationException(Class<? extends Annotation> annotationType, String elementName)构造一个IncompleteAnnotationException来指示指定的元素在指定的注释类型中丢失。 -
Uses of Annotation in java.lang.reflect
Methods in java.lang.reflect with type parameters of type Annotation Modifier and Type 方法 描述 <T extends Annotation>
TAccessibleObject. getAnnotation(Class<T> annotationClass)<T extends Annotation>
TAnnotatedElement. getAnnotation(Class<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<T extends Annotation>
TConstructor. getAnnotation(Class<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<T extends Annotation>
TExecutable. getAnnotation(Class<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<T extends Annotation>
TField. getAnnotation(Class<T> annotationClass)<T extends Annotation>
TMethod. getAnnotation(Class<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<T extends Annotation>
TParameter. getAnnotation(Class<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<T extends Annotation>
T[]AccessibleObject. getAnnotationsByType(Class<T> annotationClass)default <T extends Annotation>
T[]AnnotatedElement. getAnnotationsByType(Class<T> annotationClass)返回与此元素 相关联的注释。<T extends Annotation>
T[]Executable. getAnnotationsByType(Class<T> annotationClass)返回与此元素 相关联的注释。<T extends Annotation>
T[]Field. getAnnotationsByType(Class<T> annotationClass)返回与此元素 相关联的注释。<T extends Annotation>
T[]Parameter. getAnnotationsByType(Class<T> annotationClass)返回与此元素 相关联的注释。<T extends Annotation>
TAccessibleObject. getDeclaredAnnotation(Class<T> annotationClass)default <T extends Annotation>
TAnnotatedElement. getDeclaredAnnotation(Class<T> annotationClass)如果这样的注释 直接存在 ,则返回指定类型的元素注释,否则返回null。<T extends Annotation>
TParameter. getDeclaredAnnotation(Class<T> annotationClass)<T extends Annotation>
T[]AccessibleObject. getDeclaredAnnotationsByType(Class<T> annotationClass)default <T extends Annotation>
T[]AnnotatedElement. getDeclaredAnnotationsByType(Class<T> annotationClass)如果此类注释 直接存在或 间接存在,则返回该元素的注释(指定类型)。<T extends Annotation>
T[]Parameter. getDeclaredAnnotationsByType(Class<T> annotationClass)Methods in java.lang.reflect that return Annotation Modifier and Type 方法 描述 Annotation[]AccessibleObject. getAnnotations()Annotation[]AnnotatedElement. getAnnotations()返回此元素上 存在的注释。Annotation[]Parameter. getAnnotations()返回此元素上 存在的注释。<T extends Annotation>
T[]AccessibleObject. getAnnotationsByType(Class<T> annotationClass)default <T extends Annotation>
T[]AnnotatedElement. getAnnotationsByType(Class<T> annotationClass)返回与此元素 相关联的注释。<T extends Annotation>
T[]Executable. getAnnotationsByType(Class<T> annotationClass)返回与此元素 相关联的注释。<T extends Annotation>
T[]Field. getAnnotationsByType(Class<T> annotationClass)返回与此元素 相关联的注释。<T extends Annotation>
T[]Parameter. getAnnotationsByType(Class<T> annotationClass)返回与此元素 相关联的注释。Annotation[]AccessibleObject. getDeclaredAnnotations()Annotation[]AnnotatedElement. getDeclaredAnnotations()返回 直接存在于此元素上的注释。Annotation[]Constructor. getDeclaredAnnotations()返回 直接存在于此元素上的注释。Annotation[]Executable. getDeclaredAnnotations()返回 直接存在于此元素上的注释。Annotation[]Field. getDeclaredAnnotations()返回 直接存在于此元素上的注释。Annotation[]Method. getDeclaredAnnotations()返回 直接存在于此元素上的注释。Annotation[]Parameter. getDeclaredAnnotations()返回 直接存在于此元素上的注释。<T extends Annotation>
T[]AccessibleObject. getDeclaredAnnotationsByType(Class<T> annotationClass)default <T extends Annotation>
T[]AnnotatedElement. getDeclaredAnnotationsByType(Class<T> annotationClass)如果此类注释 直接存在或 间接存在,则返回该元素的注释(指定类型)。<T extends Annotation>
T[]Parameter. getDeclaredAnnotationsByType(Class<T> annotationClass)Annotation[][]Constructor. getParameterAnnotations()返回一个Annotations的数组数组,表示由该对象表示的Executable的形式参数的声明顺序。abstract Annotation[][]Executable. getParameterAnnotations()返回一个Annotations的数组数组,表示由该对象表示的Executable的形式参数的声明顺序。Annotation[][]Method. getParameterAnnotations()返回一个Annotations的数组数组,表示由该对象表示的Executable的形式参数的声明顺序。Method parameters in java.lang.reflect with type arguments of type Annotation Modifier and Type 方法 描述 booleanAccessibleObject. isAnnotationPresent(Class<? extends Annotation> annotationClass)如果此元素上 存在指定类型的注释,则返回true,否则返回false。default booleanAnnotatedElement. isAnnotationPresent(Class<? extends Annotation> annotationClass)如果此元素上 存在指定类型的注释,则返回true,否则返回false。 -
Uses of Annotation in javafx.beans
Classes in javafx.beans that implement Annotation Modifier and Type Class 描述 interfaceDefaultProperty指定未指定显式属性时将添加或设置子元素的属性。interfaceNamedArg提供参数名称信息的注释。 -
Uses of Annotation in javafx.fxml
Classes in javafx.fxml that implement Annotation Modifier and Type Class 描述 interfaceFXML将字段或方法标记为可用于标记的注释。 -
Uses of Annotation in javax.annotation
Classes in javax.annotation that implement Annotation Modifier and Type Class 描述 interfaceGenerated生成的注释用于标记已生成的源代码。interfacePostConstructPostConstruct注释用于需要执行相关性注入后执行任何初始化的方法。interfacePreDestroyPreDestroy注释在方法上用作回调通知,表明实例正在被容器移除。interfaceResource资源注释标记应用程序需要的资源。interfaceResources此类用于允许多个资源声明。 -
Uses of Annotation in javax.annotation.processing
Classes in javax.annotation.processing that implement Annotation Modifier and Type Class 描述 interfaceGenerated生成的注释用于标记已生成的源代码。interfaceSupportedAnnotationTypes用于指示注释处理器支持的注释类型的注释。interfaceSupportedOptions用于指示注释处理器支持哪些选项的注释。interfaceSupportedSourceVersion用于指示注释处理器支持的最新源版本的注释。Method parameters in javax.annotation.processing with type arguments of type Annotation Modifier and Type 方法 描述 Set<? extends Element>RoundEnvironment. getElementsAnnotatedWith(Class<? extends Annotation> a)返回使用给定注释类型注释的元素。default Set<? extends Element>RoundEnvironment. getElementsAnnotatedWithAny(Set<Class<? extends Annotation>> annotations)返回使用一个或多个给定注释类型注释的元素。 -
Uses of Annotation in javax.jws
Classes in javax.jws that implement Annotation Modifier and Type Class 描述 interfaceHandlerChaininterfaceOnewayinterfaceWebMethodinterfaceWebParaminterfaceWebResultinterfaceWebService -
Uses of Annotation in javax.jws.soap
Classes in javax.jws.soap that implement Annotation Modifier and Type Class 描述 interfaceInitParam已过时。interfaceSOAPBindinginterfaceSOAPMessageHandler已过时。interfaceSOAPMessageHandlers已过时。 -
Uses of Annotation in javax.lang.model
Methods in javax.lang.model with type parameters of type Annotation Modifier and Type 方法 描述 <A extends Annotation>
AAnnotatedConstruct. getAnnotation(Class<A> annotationType)返回指定类型的这种构造的注解,如果这样的注释 存在 ,否则null。<A extends Annotation>
A[]AnnotatedConstruct. getAnnotationsByType(Class<A> annotationType)返回与此构造 关联的注释。Methods in javax.lang.model that return Annotation Modifier and Type 方法 描述 <A extends Annotation>
A[]AnnotatedConstruct. getAnnotationsByType(Class<A> annotationType)返回与此构造 关联的注释。 -
Uses of Annotation in javax.lang.model.element
Methods in javax.lang.model.element with type parameters of type Annotation Modifier and Type 方法 描述 <A extends Annotation>
AElement. getAnnotation(Class<A> annotationType)返回指定类型的这种构造的注解,如果这样的注释 存在 ,否则null。 -
Uses of Annotation in javax.management
Classes in javax.management that implement Annotation Modifier and Type Class 描述 interfaceConstructorParameters一个构造函数上的注释,显示了该构造函数的参数对应于构造的对象的getter方法。interfaceDescriptorKey描述注释元素如何与Descriptor中的字段相关的元标注 。interfaceMXBean用于将界面明确标记为MXBean接口或不作为MXBean接口的注释。 -
Uses of Annotation in javax.swing
Classes in javax.swing that implement Annotation Modifier and Type Class 描述 interfaceSwingContainer一个注释用于为自动生成的BeanInfo类指定一些与swing相关的信息。 -
Uses of Annotation in javax.xml.bind.annotation
Classes in javax.xml.bind.annotation that implement Annotation Modifier and Type Class 描述 interfaceXmlAccessorOrder控制类中字段和属性的顺序。interfaceXmlAccessorType控制字段或Javabean属性是否默认序列化。interfaceXmlAnyAttribute将JavaBean属性映射到通配符属性的映射。interfaceXmlAnyElement将JavaBean属性映射到XML信息集表示和/或JAXB元素。interfaceXmlAttachmentRef标记一个字段/属性,它的XML表单是一个uri引用mime内容。interfaceXmlAttribute将JavaBean属性映射到XML属性。interfaceXmlElement将JavaBean属性映射到从属性名称派生的XML元素。interfaceXmlElementDecl将工厂方法映射到XML元素。interfaceXmlElementRef将JavaBean属性映射到从属性类型派生的XML元素。interfaceXmlElementRefs使用XmlElement或JAXBElement标记指向类的属性。interfaceXmlElements多个@XmlElement注释的容器。interfaceXmlElementWrapper围绕XML表示生成一个包装元素。interfaceXmlEnum将枚举类型Enum映射到XML表示。interfaceXmlEnumValue将一个枚举常数映射到Enum类型到XML表示。interfaceXmlID将JavaBean属性映射到XML ID。interfaceXmlIDREF将JavaBean属性映射到XML IDREF。interfaceXmlInlineBinaryData禁用对XML绑定到base64编码的二进制数据的数据类型的XOP编码的考虑。interfaceXmlList用于将属性映射到列表简单类型。interfaceXmlMimeType关联控制属性的XML表示形式的MIME类型。interfaceXmlMixed注释JavaBean多值属性以支持混合内容。interfaceXmlNs将命名空间前缀与XML命名空间URI相关联。interfaceXmlRegistry标记一个有XmlElementDecl的类。interfaceXmlRootElement将类或枚举类型映射到XML元素。interfaceXmlSchema将包名称映射到XML命名空间。interfaceXmlSchemaType将Java类型映射到简单的模式内置类型。interfaceXmlSchemaTypes多个@XmlSchemaType注释的容器。interfaceXmlSeeAlso指示JAXB在绑定此类时也绑定其他类。interfaceXmlTransient防止将JavaBean属性/类型映射到XML表示。interfaceXmlType将类或枚举类型映射到XML模式类型。interfaceXmlValue使用simpleContent或XML Schema简单类型将类映射到XML模式复合类型。 -
Uses of Annotation in javax.xml.bind.annotation.adapters
Classes in javax.xml.bind.annotation.adapters that implement Annotation Modifier and Type Class 描述 interfaceXmlJavaTypeAdapter使用实现XmlAdapter的适配器进行自定义封送。interfaceXmlJavaTypeAdapters多个@XmlJavaTypeAdapter注释的容器。 -
Uses of Annotation in javax.xml.ws
Classes in javax.xml.ws that implement Annotation Modifier and Type Class 描述 interfaceAction所述Action注释允许一个WS寻址的显式关联Action与消息寻址属性input,output和fault映射WSDL操作的消息。interfaceBindingTypeBindingType注释用于指定要用于Web服务端点实现类的绑定。interfaceFaultAction在FaultAction注释中使用FaultAction注释,以允许WS-AddressingAction消息寻址属性与从异常类映射的WSDL操作的fault消息的显式关联。interfaceRequestWrapper用于使用要在运行时使用的请求包装器bean来注释服务端点接口中的方法。interfaceRespectBinding此功能说明了在JAX-WS运行时中使用wsdl:binding。interfaceResponseWrapper用于使用要在运行时使用的响应包装器bean来注释服务端点接口中的方法。interfaceServiceMode用于指示Provider实现是否希望与整个协议消息一起工作,或者只是使用协议消息有效载荷。interfaceWebEndpoint用于注释生成的服务接口的getPortName()方法。interfaceWebFault用于注释特定于服务的异常类,以定制到故障元素的本地和命名空间名称以及故障bean的名称。interfaceWebServiceClient用于注释生成的服务接口。interfaceWebServiceProvider用于注释Provider实现类。interfaceWebServiceRefWebServiceRef注释用于定义对Web服务的引用以及(可选)为其注入目标。interfaceWebServiceRefsWebServiceRefs注释允许在类级别声明多个Web服务引用。 -
Uses of Annotation in javax.xml.ws.soap
Classes in javax.xml.ws.soap that implement Annotation Modifier and Type Class 描述 interfaceAddressing此注释表示使用SOAP 1.1 / HTTP或SOAP 1.2 / HTTP绑定的WS-Addressing。interfaceMTOM此功能表示使用具有Web服务的MTOM。 -
Uses of Annotation in javax.xml.ws.spi
Classes in javax.xml.ws.spi that implement Annotation Modifier and Type Class 描述 interfaceWebServiceFeatureAnnotation用于标识其他注释的注释为WebServiceFeature。
-