Java Code Examples for sun.reflect.annotation.TypeAnnotationParser#buildAnnotatedTypes()
The following examples show how to use
sun.reflect.annotation.TypeAnnotationParser#buildAnnotatedTypes() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Executable.java From openjdk-jdk8u with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getAllGenericParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 2
Source File: Executable.java From jdk8u-jdk with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify the declared exceptions of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the exception types in the declaration of * the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * exceptions. * * @return an array of objects representing the declared * exceptions of the method or constructor represented by this {@code * Executable} */ public AnnotatedType[] getAnnotatedExceptionTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getGenericExceptionTypes(), TypeAnnotation.TypeAnnotationTarget.THROWS); }
Example 3
Source File: Executable.java From jdk8u-jdk with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getAllGenericParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 4
Source File: Executable.java From openjdk-jdk9 with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify the declared exceptions of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the exception types in the declaration of * the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * exceptions. * * @return an array of objects representing the declared * exceptions of the method or constructor represented by this {@code * Executable} */ public AnnotatedType[] getAnnotatedExceptionTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getGenericExceptionTypes(), TypeAnnotation.TypeAnnotationTarget.THROWS); }
Example 5
Source File: Executable.java From hottub with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify the declared exceptions of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the exception types in the declaration of * the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * exceptions. * * @return an array of objects representing the declared * exceptions of the method or constructor represented by this {@code * Executable} */ public AnnotatedType[] getAnnotatedExceptionTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getGenericExceptionTypes(), TypeAnnotation.TypeAnnotationTarget.THROWS); }
Example 6
Source File: Executable.java From openjdk-8-source with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} * * @since 1.8 */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 7
Source File: Executable.java From Bytecoder with Apache License 2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * Note that the constructors of some inner classes * may have an implicitly declared parameter in addition to * explicitly declared ones. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getAllGenericParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 8
Source File: Executable.java From jdk8u_jdk with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify the declared exceptions of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the exception types in the declaration of * the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * exceptions. * * @return an array of objects representing the declared * exceptions of the method or constructor represented by this {@code * Executable} */ public AnnotatedType[] getAnnotatedExceptionTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getGenericExceptionTypes(), TypeAnnotation.TypeAnnotationTarget.THROWS); }
Example 9
Source File: Executable.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getAllGenericParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 10
Source File: Executable.java From openjdk-jdk8u with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify the declared exceptions of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the exception types in the declaration of * the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * exceptions. * * @return an array of objects representing the declared * exceptions of the method or constructor represented by this {@code * Executable} */ public AnnotatedType[] getAnnotatedExceptionTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getGenericExceptionTypes(), TypeAnnotation.TypeAnnotationTarget.THROWS); }
Example 11
Source File: Executable.java From jdk1.8-source-analysis with Apache License 2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getAllGenericParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 12
Source File: Executable.java From jdk8u_jdk with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getAllGenericParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 13
Source File: Executable.java From JDKSourceCode1.8 with MIT License | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getAllGenericParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 14
Source File: Executable.java From jdk8u-jdk with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} * * @since 1.8 */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getAllGenericParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 15
Source File: Executable.java From jdk8u60 with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} * * @since 1.8 */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getAllGenericParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 16
Source File: Executable.java From hottub with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify formal parameter types of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the formal parameter types in the * declaration of the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * parameters. * * @return an array of objects representing the types of the * formal parameters of the method or constructor represented by this * {@code Executable} */ public AnnotatedType[] getAnnotatedParameterTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getAllGenericParameterTypes(), TypeAnnotation.TypeAnnotationTarget.METHOD_FORMAL_PARAMETER); }
Example 17
Source File: Executable.java From openjdk-8 with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify the declared exceptions of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the exception types in the declaration of * the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * exceptions. * * @return an array of objects representing the declared * exceptions of the method or constructor represented by this {@code * Executable} * * @since 1.8 */ public AnnotatedType[] getAnnotatedExceptionTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getGenericExceptionTypes(), TypeAnnotation.TypeAnnotationTarget.THROWS); }
Example 18
Source File: Executable.java From dragonwell8_jdk with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify the declared exceptions of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the exception types in the declaration of * the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * exceptions. * * @return an array of objects representing the declared * exceptions of the method or constructor represented by this {@code * Executable} */ public AnnotatedType[] getAnnotatedExceptionTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getGenericExceptionTypes(), TypeAnnotation.TypeAnnotationTarget.THROWS); }
Example 19
Source File: Executable.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify the declared exceptions of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the exception types in the declaration of * the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * exceptions. * * @return an array of objects representing the declared * exceptions of the method or constructor represented by this {@code * Executable} * * @since 1.8 */ public AnnotatedType[] getAnnotatedExceptionTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getGenericExceptionTypes(), TypeAnnotation.TypeAnnotationTarget.THROWS); }
Example 20
Source File: Executable.java From jdk1.8-source-analysis with Apache License 2.0 | 3 votes |
/** * Returns an array of {@code AnnotatedType} objects that represent the use * of types to specify the declared exceptions of the method/constructor * represented by this Executable. The order of the objects in the array * corresponds to the order of the exception types in the declaration of * the method/constructor. * * Returns an array of length 0 if the method/constructor declares no * exceptions. * * @return an array of objects representing the declared * exceptions of the method or constructor represented by this {@code * Executable} */ public AnnotatedType[] getAnnotatedExceptionTypes() { return TypeAnnotationParser.buildAnnotatedTypes(getTypeAnnotationBytes0(), sun.misc.SharedSecrets.getJavaLangAccess(). getConstantPool(getDeclaringClass()), this, getDeclaringClass(), getGenericExceptionTypes(), TypeAnnotation.TypeAnnotationTarget.THROWS); }