Class ParserUtils.FinderOfIntegerLiteralExpr

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

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

    • FinderOfIntegerLiteralExpr

      public FinderOfIntegerLiteralExpr(Method m)
    • FinderOfIntegerLiteralExpr

      public FinderOfIntegerLiteralExpr(Class<?> c)
    • FinderOfIntegerLiteralExpr

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

      public FinderOfIntegerLiteralExpr(Method m, boolean deep)
    • FinderOfIntegerLiteralExpr

      public FinderOfIntegerLiteralExpr(Constructor<?> c)
    • FinderOfIntegerLiteralExpr

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

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

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

    • getIntegerLiteralExpr

      public ArrayList<com.github.javaparser.ast.expr.IntegerLiteralExpr> getIntegerLiteralExpr()
      Retourne le tableau des IntegerLiteralExpr trouvés
      Returns:
      le tableau des IntegerLiteralExpr trouvés
    • getNumberOfIntegerLiteralExpr

      public int getNumberOfIntegerLiteralExpr()
      Retourne le nombre de IntegerLiteralExpr trouvés
      Returns:
      le nombre de IntegerLiteralExpr trouvés