Java Code Examples for net.bytebuddy.description.annotation.AnnotationList#Explicit

The following examples show how to use net.bytebuddy.description.annotation.AnnotationList#Explicit . 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: FieldDescription.java    From byte-buddy with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
public AnnotationList getDeclaredAnnotations() {
    return new AnnotationList.Explicit(declaredAnnotations);
}
 
Example 2
Source File: MethodDescription.java    From byte-buddy with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
public AnnotationList getDeclaredAnnotations() {
    return new AnnotationList.Explicit(declaredAnnotations);
}
 
Example 3
Source File: ParameterDescription.java    From byte-buddy with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
public AnnotationList getDeclaredAnnotations() {
    return new AnnotationList.Explicit(declaredAnnotations);
}
 
Example 4
Source File: RecordComponentDescription.java    From byte-buddy with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
public AnnotationList getDeclaredAnnotations() {
    return new AnnotationList.Explicit(annotations);
}
 
Example 5
Source File: InstrumentedType.java    From byte-buddy with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
public AnnotationList getDeclaredAnnotations() {
    return new AnnotationList.Explicit(annotationDescriptions);
}
 
Example 6
Source File: FieldDescription.java    From byte-buddy with Apache License 2.0 2 votes vote down vote up
/**
 * Returns the annotations of the represented field.
 *
 * @return The annotations of the represented field.
 */
public AnnotationList getAnnotations() {
    return new AnnotationList.Explicit(annotations);
}
 
Example 7
Source File: MethodDescription.java    From byte-buddy with Apache License 2.0 2 votes vote down vote up
/**
 * Returns the annotations of the represented method.
 *
 * @return The annotations of the represented method.
 */
public AnnotationList getAnnotations() {
    return new AnnotationList.Explicit(annotations);
}
 
Example 8
Source File: ParameterDescription.java    From byte-buddy with Apache License 2.0 2 votes vote down vote up
/**
 * Returns the annotations of the represented method parameter.
 *
 * @return The annotations of the represented method parameter.
 */
public AnnotationList getAnnotations() {
    return new AnnotationList.Explicit(annotations);
}
 
Example 9
Source File: TypeVariableToken.java    From byte-buddy with Apache License 2.0 2 votes vote down vote up
/**
 * Returns the annotations on this type variable.
 *
 * @return The annotations on this variable.
 */
public AnnotationList getAnnotations() {
    return new AnnotationList.Explicit(annotations);
}
 
Example 10
Source File: RecordComponentDescription.java    From byte-buddy with Apache License 2.0 2 votes vote down vote up
/**
 * Returns the token's annotations.
 *
 * @return The token's annotations.
 */
public AnnotationList getAnnotations() {
    return new AnnotationList.Explicit(annotations);
}