Class ParserUtils.FinderOfCharLiteralExpr

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

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

    • FinderOfCharLiteralExpr

      public FinderOfCharLiteralExpr(Method m)
    • FinderOfCharLiteralExpr

      public FinderOfCharLiteralExpr(Class<?> c)
    • FinderOfCharLiteralExpr

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

      public FinderOfCharLiteralExpr(Method m, boolean deep)
    • FinderOfCharLiteralExpr

      public FinderOfCharLiteralExpr(Constructor<?> c)
    • FinderOfCharLiteralExpr

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

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

      public FinderOfCharLiteralExpr(com.github.javaparser.ast.visitor.Visitable visitable, boolean deep)
      Effectue la recherche des CharLiteralExpr 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 CharLiteralExpr
      deep - recherche en profondeur ou non
  • Method Details

    • getCharLiteralExpr

      public ArrayList<com.github.javaparser.ast.expr.CharLiteralExpr> getCharLiteralExpr()
      Retourne le tableau des CharLiteralExpr trouvés
      Returns:
      le tableau des CharLiteralExpr trouvés
    • getNumberOfCharLiteralExpr

      public int getNumberOfCharLiteralExpr()
      Retourne le nombre de CharLiteralExpr trouvés
      Returns:
      le nombre de CharLiteralExpr trouvés