java.lang.Object
org.jboss.as.connector.annotations.repository.jandex.AnnotationImpl
All Implemented Interfaces:
org.jboss.jca.common.spi.annotations.repository.Annotation

public class AnnotationImpl extends Object implements org.jboss.jca.common.spi.annotations.repository.Annotation
An AnnotationImpl.
Author:
Stefano Maestri
  • Constructor Details

    • AnnotationImpl

      public AnnotationImpl(String className, ClassLoader cl, List<String> parameterTypes, String memberName, boolean onMethod, boolean onField, Class<?> annotationClass)
      Create a new AnnotationImpl.
      Parameters:
      className - className
      cl - classloader
      parameterTypes - parameterTypes
      memberName - memberName
      onMethod - onMethod
      onField - onField
      annotationClass - annotationClass
  • Method Details

    • getClassName

      public final String getClassName()
      Get the className.
      Specified by:
      getClassName in interface org.jboss.jca.common.spi.annotations.repository.Annotation
      Returns:
      the className.
    • getAnnotation

      public final Object getAnnotation()
      Get the annotation.
      Specified by:
      getAnnotation in interface org.jboss.jca.common.spi.annotations.repository.Annotation
      Returns:
      the annotation.
    • getParameterTypes

      public final List<String> getParameterTypes()
      Get the parameterTypes.
      Specified by:
      getParameterTypes in interface org.jboss.jca.common.spi.annotations.repository.Annotation
      Returns:
      the parameterTypes.
    • getMemberName

      public final String getMemberName()
      Get the memberName.
      Specified by:
      getMemberName in interface org.jboss.jca.common.spi.annotations.repository.Annotation
      Returns:
      the memberName.
    • isOnMethod

      public final boolean isOnMethod()
      Get the onMethod.
      Specified by:
      isOnMethod in interface org.jboss.jca.common.spi.annotations.repository.Annotation
      Returns:
      the onMethod.
    • isOnField

      public final boolean isOnField()
      Get the onField.
      Specified by:
      isOnField in interface org.jboss.jca.common.spi.annotations.repository.Annotation
      Returns:
      the onField.