Class Flute

java.lang.Object
it.ramecera.salad.analysis.Flute

public class Flute
extends java.lang.Object

Elementary structure of a Java class; interfaces and inner classes are excluded.

Creation date: 2020-04-09
modification date: 2020-04-09
Company: Rameceraâ„¢

Modifications:

Author:
M. Maglioni
  • Field Summary

    Fields 
    Modifier and Type Field Description
    boolean fabstract
    if it is abstract
    java.util.List<JavaAnnotation> fannotationE
    class annotations
    java.lang.String fclass
    class name
    java.lang.String fextends
    the extends
    boolean ffinal
    if it is final
    java.io.File file
    the file to be analyzed
    java.lang.String fimplements
    the implementations
    java.util.List<java.lang.String> fimportE
    the list of imports, without the word import and without a final semicolon
    java.util.List<JavaMethod> fmethodE
    list of class methods
    java.lang.String fpackage
    the package
    java.util.List<JavaProperty> fpropertyE
    list of class properties
    boolean fstatic
    if it is static
    int fvisibilita
    visibility: public = 3 default = 1
    static java.lang.String[] VISIBILITA
    scope of the properties of a Java class
  • Constructor Summary

    Constructors 
    Constructor Description
    Flute​(java.io.File file)  
    Flute​(java.lang.String g)  
  • Method Summary

    Modifier and Type Method Description
    void analyze()
    Analysis of a .java file to extract its salient elements.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • file

      public java.io.File file
      the file to be analyzed
    • fpackage

      public java.lang.String fpackage
      the package
    • fabstract

      public boolean fabstract
      if it is abstract
    • fimportE

      public java.util.List<java.lang.String> fimportE
      the list of imports, without the word import and without a final semicolon
    • fclass

      public java.lang.String fclass
      class name
    • fextends

      public java.lang.String fextends
      the extends
    • fimplements

      public java.lang.String fimplements
      the implementations
    • fvisibilita

      public int fvisibilita
      visibility: public = 3 default = 1
    • ffinal

      public boolean ffinal
      if it is final
    • fstatic

      public boolean fstatic
      if it is static
    • fannotationE

      public java.util.List<JavaAnnotation> fannotationE
      class annotations
    • fpropertyE

      public java.util.List<JavaProperty> fpropertyE
      list of class properties
    • fmethodE

      public java.util.List<JavaMethod> fmethodE
      list of class methods
    • VISIBILITA

      public static final java.lang.String[] VISIBILITA
      scope of the properties of a Java class
  • Constructor Details

    • Flute

      public Flute​(java.io.File file)
      Parameters:
      file - file to be analyzed
    • Flute

      public Flute​(java.lang.String g)
      Parameters:
      g - file to be analyzed
  • Method Details

    • analyze

      public final void analyze() throws java.io.FileNotFoundException, java.io.IOException, ExactException

      Analysis of a .java file to extract its salient elements.

      Creation date: 2020-04-09
      modification date: 2020-04-09
      Company: Rameceraâ„¢

      Modifications:

      Throws:
      java.io.IOException - standard exception
      java.io.FileNotFoundException - exceptionals standard
      ExactException - standard exception