Class ParserUtils.FinderOfNormalAnnotationExpr

java.lang.Object
caseine.publication.ParserUtils.Finder
caseine.publication.ParserUtils.FinderOfNormalAnnotationExpr
Enclosing class:
ParserUtils

public static class ParserUtils.FinderOfNormalAnnotationExpr extends ParserUtils.Finder
Pour extraire tous les NormalAnnotationExpr
Author:
Yvan Maillot <yvan.maillot@uha.fr>
  • Constructor Details

    • FinderOfNormalAnnotationExpr

      public FinderOfNormalAnnotationExpr(Method m)
    • FinderOfNormalAnnotationExpr

      public FinderOfNormalAnnotationExpr(Class<?> c)
    • FinderOfNormalAnnotationExpr

      public FinderOfNormalAnnotationExpr(Class<?> c, boolean deep)
    • FinderOfNormalAnnotationExpr

      public FinderOfNormalAnnotationExpr(Method m, boolean deep)
    • FinderOfNormalAnnotationExpr

      public FinderOfNormalAnnotationExpr(Constructor<?> c)
    • FinderOfNormalAnnotationExpr

      public FinderOfNormalAnnotationExpr(Constructor<?> c, boolean deep)
    • FinderOfNormalAnnotationExpr

      public FinderOfNormalAnnotationExpr(com.github.javaparser.ast.visitor.Visitable visitable)
      Dans ce cas, deep vaut true.
      Parameters:
      visitable - le Visitable dans le lequel chercher les NormalAnnotationExpr
    • FinderOfNormalAnnotationExpr

      public FinderOfNormalAnnotationExpr(com.github.javaparser.ast.visitor.Visitable visitable, boolean deep)
      Effectue la recherche des NormalAnnotationExpr dans un Visitable, en profondeur ou non selon l'état de deep.

      Rechercher en profondeur signifie que si un élément a été trouvé, la recherche continue dans l'élément lui-même. Cela permet de trouver les "if" imbriqués par exemple.

      Ne pas rechercher en profondeur signifie qu'on s'arrête au premier niveau.

      Cette propriété n'a pas d'intérêt pour tous les éléments

      Parameters:
      visitable - le Visitable dans le lequel chercher les NormalAnnotationExpr
      deep - recherche en profondeur ou non
  • Method Details

    • getNormalAnnotationExpr

      public ArrayList<com.github.javaparser.ast.expr.NormalAnnotationExpr> getNormalAnnotationExpr()
      Retourne le tableau des NormalAnnotationExpr trouvés
      Returns:
      le tableau des NormalAnnotationExpr trouvés
    • getNumberOfNormalAnnotationExpr

      public int getNumberOfNormalAnnotationExpr()
      Retourne le nombre de NormalAnnotationExpr trouvés
      Returns:
      le nombre de NormalAnnotationExpr trouvés