← 返回首页
AnnotatedType (Java SE 26 & JDK 26)
JavaScript is disabled on your browser.
Contents  
  1. Description
  2. Method Summary
  3. Method Details
    1. getAnnotatedOwnerType()
    2. getType()
    3. getAnnotation(Class)
    4. getAnnotations()
    5. getDeclaredAnnotations()
Hide sidebar  Show sidebar

Interface AnnotatedType

All Superinterfaces: AnnotatedElement All Known Subinterfaces: AnnotatedArrayType, AnnotatedParameterizedType, AnnotatedTypeVariable, AnnotatedWildcardType
public interface AnnotatedType extends AnnotatedElement
AnnotatedType represents the potentially annotated use of a type in the program currently running in this VM. The use may be of any type in the Java programming language, including an array type, a parameterized type, a type variable, or a wildcard type. Note that any annotations returned by methods on this interface are type annotations (JLS 9.7.4) as the entity being potentially annotated is a type.
See Java Language Specification: 4.1 The Kinds of Types and Values
4.2 Primitive Types and Values
4.3 Reference Types and Values
4.4 Type Variables
4.5 Parameterized Types
4.8 Raw Types
4.9 Intersection Types
10.1 Array Types
Since: 1.8

Scripting on this page tracks web page traffic, but does not change the content in any way.