Class ParserUtils.FinderOfBooleanLiteralExpr

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

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

    • FinderOfBooleanLiteralExpr

      public FinderOfBooleanLiteralExpr(Method m)
    • FinderOfBooleanLiteralExpr

      public FinderOfBooleanLiteralExpr(Class<?> c)
    • FinderOfBooleanLiteralExpr

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

      public FinderOfBooleanLiteralExpr(Method m, boolean deep)
    • FinderOfBooleanLiteralExpr

      public FinderOfBooleanLiteralExpr(Constructor<?> c)
    • FinderOfBooleanLiteralExpr

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

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

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

    • getBooleanLiteralExpr

      public ArrayList<com.github.javaparser.ast.expr.BooleanLiteralExpr> getBooleanLiteralExpr()
      Retourne le tableau des BooleanLiteralExpr trouvés
      Returns:
      le tableau des BooleanLiteralExpr trouvés
    • getNumberOfBooleanLiteralExpr

      public int getNumberOfBooleanLiteralExpr()
      Retourne le nombre de BooleanLiteralExpr trouvés
      Returns:
      le nombre de BooleanLiteralExpr trouvés