Class AnnotationHelper

java.lang.Object
org.annotationsmox.analyzer.AnnotationHelper

public final class AnnotationHelper extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    filterAnnotationName(org.emftext.language.java.annotations.AnnotationInstance annotation, Set<String> annotationClassifiersToCheck)
     
    static List<org.emftext.language.java.annotations.AnnotationInstance>
    getAnnotations(org.emftext.language.java.modifiers.AnnotableAndModifiable annotableAndModifiable, String annotationClassifierToCheck)
     
    static List<org.emftext.language.java.annotations.AnnotationInstance>
    getAnnotations(org.emftext.language.java.modifiers.AnnotableAndModifiable annotableAndModifiable, Set<String> annotationClassifiersToCheck)
     
    static boolean
    hasAnnoations(org.emftext.language.java.modifiers.AnnotableAndModifiable annotableAndModifiable, Set<String> annotationClassifiersToCheck)
     
    static boolean
    hasEJBAnnotation(org.emftext.language.java.members.Field field)
     
    static boolean
    hasEventParameter(org.emftext.language.java.members.Method method)
     
    static boolean
    isComponentClass(org.emftext.language.java.classifiers.Class jamoppClass)
     
    static boolean
    isComponentInterface(org.emftext.language.java.classifiers.Interface implemententedInterface)
     
    static boolean
    isEJBEventType(org.emftext.language.java.types.Type accessedType)
     
    static boolean
    isEventParameter(org.emftext.language.java.parameters.Parameter param)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isComponentClass

      public static boolean isComponentClass(org.emftext.language.java.classifiers.Class jamoppClass)
    • filterAnnotationName

      public static boolean filterAnnotationName(org.emftext.language.java.annotations.AnnotationInstance annotation, Set<String> annotationClassifiersToCheck)
    • hasAnnoations

      public static boolean hasAnnoations(org.emftext.language.java.modifiers.AnnotableAndModifiable annotableAndModifiable, Set<String> annotationClassifiersToCheck)
    • getAnnotations

      public static List<org.emftext.language.java.annotations.AnnotationInstance> getAnnotations(org.emftext.language.java.modifiers.AnnotableAndModifiable annotableAndModifiable, String annotationClassifierToCheck)
    • getAnnotations

      public static List<org.emftext.language.java.annotations.AnnotationInstance> getAnnotations(org.emftext.language.java.modifiers.AnnotableAndModifiable annotableAndModifiable, Set<String> annotationClassifiersToCheck)
    • isComponentInterface

      public static boolean isComponentInterface(org.emftext.language.java.classifiers.Interface implemententedInterface)
    • hasEJBAnnotation

      public static boolean hasEJBAnnotation(org.emftext.language.java.members.Field field)
    • isEJBEventType

      public static boolean isEJBEventType(org.emftext.language.java.types.Type accessedType)
    • hasEventParameter

      public static boolean hasEventParameter(org.emftext.language.java.members.Method method)
    • isEventParameter

      public static boolean isEventParameter(org.emftext.language.java.parameters.Parameter param)